Saved Bookmarks
This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Explain the difference between RequestDispatcher and sendRedirect? How JSP handles runtime exceptions? |
| Answer» | |
| 2. |
How to pass the information from the the JSP to the included JSP? Explain the difference between directive include and jsp include. |
| Answer» | |
| 3. |
Explain the difference between ServletContext and PageContext. How to create request.getRequestDispatcher () and context.getRequestDispatcher()? |
| Answer» | |
| 4. |
What is the query used to retrieve all the table names on SQL Server (Query analyzer)? Is it possible implement an interface in a JSP? Give all the different scope values for tag. |
| Answer» | |
| 5. |
What are the ways through which the EJB control can be extended? |
| Answer» | |
| 6. |
Explain using a sample code the EJB as a stateless session bean. |
| Answer» | |
| 7. |
What are the different types of enforcement that are present in EJB? |
| Answer» | |
| 8. |
What are the categories used to contain one or more restricted components? |
| Answer» | |
| 9. |
State the difference between CMP and BMP. |
| Answer» | |
| 10. |
Explain what are transaction attributes. |
| Answer» | |
| 11. |
What are the problems caused by loading native code? |
| Answer» | |
| 12. |
Why is this necessary to use J2EE server with servlet and EJBs together? |
| Answer» | |
| 13. |
How can two interfaces and a bean class be compiled? |
| Answer» | |
| 14. |
What are the things which should be kept in mind while building a bean? |
| Answer» | |
| 15. |
What is the difference between stateless session bean and singleton session bean? |
| Answer» | |
| 16. |
Why EJB compliant server is necessary to use EJB components? |
| Answer» | |
| 17. |
What is the function of Message drive beans? |
| Answer» | |
| 18. |
Explain with an example Singleton session beans. |
| Answer» | |
| 19. |
Explain with an example Stateless session beans |
| Answer» | |
| 20. |
Explain with an example Stateful session beans. |
| Answer» | |
| 21. |
What are the different types of enterprise beans exist? |
| Answer» | |
| 22. |
What is component-based development architecture? |
| Answer» | |
| 23. |
What is EJB important in perspective of Java? |
| Answer» | |
| 24. |
What are the different types of extension interface that is present in Hibernate? |
| Answer» | |
| 25. |
What is the importance of Lifecycle and validatable interface in Hibernate? |
| Answer» | |
| 26. |
Why are callback interfaces useful in Hibernate? |
| Answer» | |
| 27. |
What are the different types of interfaces present in Hibernate? |
| Answer» | |
| 28. |
What is the difference between managed and non-managed environment in Hibernate? |
| Answer» | |
| 29. |
What is the use of Hibernate proxy in Hibernate? |
| Answer» | |
| 30. |
Why Hibernate is preferred over JDBC? |
| Answer» | |
| 31. |
Write a code to do the component mapping in Hibernate. |
| Answer» | |
| 32. |
How components are used in Hibernate? |
| Answer» | |
| 33. |
What is the purpose of using HibernateTemplate? |
| Answer» | |
| 34. |
Write the code that maps the Java Object with the database tables? |
| Answer» | |
| 35. |
What is the purpose of HQL in communication between Hibernate and RDBMS? |
| Answer» | |
| 36. |
What is the process of communication between Hibernate with RDBMS? |
| Answer» | |
| 37. |
What is the role played by SessionFactory interface in Hibernate? |
| Answer» | |
| 38. |
What is the role played by Session interface in Hibernate? |
| Answer» | |
| 39. |
What are the tags that are importantly used in Hibernate configuration file? |
| Answer» | |
| 40. |
What is the need of hibernate tools when ORM tools can be used? |
| Answer» | |
| 41. |
What is the function performed by code generator in Hibernate? |
| Answer» | |
| 42. |
How does Hibernate useful in mapping object and its relations? |
| Answer» | |
| 43. |
What do you mean by Named – SQL query? |
| Answer» | |
| 44. |
What are the different types of caches in Hibernate? |
| Answer» | |
| 45. |
How do you define sequence generated primary key in hibernate? |
| Answer» | |
| 46. |
What is the difference between merge and update method? |
| Answer» | |
| 47. |
What is lazy fetching in Hibernate? |
| Answer» | |
| 48. |
What is the difference between load() and get() method? |
| Answer» | |
| 49. |
What is HibernateTemplate? |
| Answer» | |
| 50. |
What are the Collection types in Hibernate? |
| Answer» | |