What are the call back methods in Session bean?

By: Karthik Viewed: 396 times  Printer Friendly Format    


Answer: Callback methods are called by the container to notify the important events to the beans in its life cycle. The callback methods are defined in the javax.ejb.EntityBean interface.The callback methods example are ejbCreate(), ejbPassivate(), and ejbActivate().


Most Viewed Articles (in Interview )

Question: Explain the life-cycle methods in JSP?

What is the difference between JTS and JTA?

Name the containers which uses Border Layout as their default layout?

Interview Question: What are the optional clauses in EJB QL?

Question: What is the directory structure of a web application?

What is bean managed transaction?

Interview Question: What is ActionServlet?

Interview Question: Can I invoke Runtime.gc() in an EJB?

Interview Question: What is the difference between ejbCreate() and ejbPostCreate?

Interview Question: What is difference between EJB 1.1 and EJB 2.0?

Interview Question: What is lazy loading?

Interview Question: What is deployment descriptor?

Interview Question: What is abstract schema?

Interview Question: What is the difference between find and select methods in EJB?

Question: Difference between forward and sendRedirect in JSP?

Latest Articles (in Interview)

Comment on this tutorial