Java J2EE Interview Questions
Questions Answers Views Company eMail

What are types of resultset?

553

What are the advantages of using preparedstatement in java?

545

List the advantages of using datasource?

553

What is the role of class.forname while loading drivers?

561

Why would you use setautocommit(false) in jdbc?

654

Explain jdbc savepoint?

563

What are the packages are used in jdbc?

567

Prepared statements are faster. Why?

606

Give steps to connect to the db using jdbc?

586

Can I get a null resultset?

544

What is the meaning of “dirty read” in the database?

563

What do you mean by two phase commits?

560

What are the exceptions in jdbc?

496

Explain the difference between rowset vs. Resultset in jdbc?

574

How many ways that we can view a result set?

531


Un-Answered Questions { Java J2EE }

Is advanced java and j2ee same?

466


Why is action servlet a singleton in struts?

586


What is entitymanager in spring?

165


What are the cascade types in hibernate?

157


Is struts 1 still supported?

507






What is weaving?

211


What is the effect of keeping a constructor private?

469


How do I create a producer pool? : BEA Weblogic

561


What is the public field modifier?

538


How do we share data using 'getservletcontext ()?

535


Difference between hashmap and hashtable?

602


What are the life-cycle methods for a servlet?

545


What is component in java with example?

483


What is hibernate sessionfactory and how do you configure it?

171


What is dao in spring?

144