Interview questions

JAVA interview questions – page 14

2,804 questions. Tap “Show answer” to check yourself.

  1. What is the difference between EJB and RMI

  2. What is a better approach for enabling thread-safe servlets and JSPs? SingleThreadModel Interface or Synchronization?

  3. What is oro ?

  4. How do J2EE application servers in general and the Weblogic servers in particular help software development?

  5. How can you use PreparedStatement?

  6. What is the difference between length and length() ?

  7. Who will run the execute method in struts?

  8. Can we use instance variables in Stateless session beans? If yes, Why and How? If the answer is no ,

  9. Without using entity beans can we do database transactions?

  10. Which of the following is true regarding the use of the JDBC-ODBC bridge with the applets.

  11. How to make a class or a bean serializable?

  12. How Non Java Client access EJB.

  13. What is Flash, Is it the same as Adobe Flash?

  14. The interface _____________ helps us in retrieving the information about the database.

  15. What is encapsulation technique?

  16. What is the difference between normal Java object and EJB?

  17. Why don't stateful session beans have a pool?

  18. What is the importance in context in jdbc connection pools?

  19. Which class is the immediate superclass of the MenuComponent class.Object?

  20. What is the difference between distributed transactions and Flat transactions in EJB?

  21. Why we have used to in main method in JAVA this words 1)public 2)static 3)void 4)main 5)(String args[])

  22. Which of the following describes the correct sequence of the steps involved in making a connection with a database.1. Loading the driver2. Process the results.3. Making the connection with the database.4. Executing the SQL statements.

  23. What are the main differences betweenjdk1.4 , jdk1.5 & jdk1.6?

  24. What does the AWS Toolkit for Eclipse do?

  25. What is the difference between GenericServlet and HttpServlet?

  26. What is the advantages of JSP among other technologies?

  27. How can you load the drivers?

  28. Why java have no pointer?

  29. What is design pattern ? use ?

  30. What are the three statements in JDBC & differences between them?

Companies that ask JAVA questions