Tags » Interview Questions

Hibernate questions

1.How to map a table with hibernate?

2.How transaction is handled in hibernate?

3.Which package Transaction is avaiable?

4.How first and second level caching is handled in hibernate?

Web Service questions

1.How security is handled in SOAP?

2.How to handle session in REST?

3.How to build a web service without web.xml?

4. How to change the archetype?

Swap two variables value without using third variable in php [duplicate]

This method will work for any variable type:

$a = 5;
$b = 6;
list($a, $b) = array($b, $a);
print $a . ',' . $b; 33 more words
Core PHP

DB questions

1.How to create view?

2.What are the types of view availabe?

3.What is the difference between View and materialized view?

4.Can we insert or modify a value in view? 17 more words

Difference between mysql_connect() and mysql_pconnect()

mysql_connect() and mysql_pconnect() both are working for database connection but with little difference. In mysql_pconnect(), ā€˜pā€™ stands for persistance connection. When we are using mysql_connect() function, every time it is opening and closing the database connection, depending on the request . 202 more words

Core PHP

Design Pattern questions

1.Where singleton design pattern is used in Java?

2.Difference between creation and behavior pattern with examples?

3.What is the difference between command and strategy pattern? 6 more words

Spring questions

1.Can we create a custom scope in spring?

2.What will happen when we are having bean with same bean id and class?

3.Can we inject a prototype bean into a singleton bean? 10 more words

Interview Questions