Interview questions

JAVA interview questions – page 10

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

  1. What is optimistic concurrency?

  2. What's the best way, in terms of performance, to do multiple insert/update statements, a PreparedStatement or Batch Updates?

  3. Is it possible to share an HttpSession between a JSP and EJB. What happens when I change a value in the HttpSession from inside an EJB?

  4. What is JMS administered object ?

  5. What is Java Server Faces validation model ?

  6. What is the page directive is used to prevent a JSP page from automatically creating a session?

  7. What is JSP action ?

  8. How to compile the JSP pages manually in all applications and web servers

  9. What happens when I change a value in the HttpSession from inside an EJB?

  10. What is JMS provider ?

  11. What is JSP tag handler ?

  12. What is JSP scripting element ?

  13. Can I use session beans and hibernate (instead of entity beans) for persitance?

  14. What is a JDBC 2.0 DataSource?

  15. What is Metadata and why should I use it?

  16. When destroy method get call, will it call for each user please give the ans in detail?

  17. What are Custom tags. Why do you need Custom tags. How do you create Custom tag?

  18. How does a servlet communicate with a JSP page?

  19. What is JSP container, distributed ?

  20. What is JSP declaration ?

  21. Can a JSP page process HTML FORM data?

  22. Can SAP JCo and SAP Java IDoc Class Library be used for communication between SAP and any Java application via RFCs, BAPIs, and IDocs?

  23. What is the need of two Objects i.e EJBHome object and EJBobject to access a bean?

  24. What is the difference between declaring the variables in the scriptlet tags and in the declaration tags?

  25. What is JavaServer Faces Technology ?

  26. Can you invoke the methods on a Thread once it is stopped?

  27. What is Java Server Faces navigation model ?

  28. What is Java Server Faces UI component ?

  29. Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS.

  30. What are the advantages using servlets than using CGI?

Companies that ask JAVA questions