What are the call back methods in Session bean?

By: Karthik Viewed: 169 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 )

What is the difference between JTS and JTA?

Interview Question: What is Action Class?

Interview Question: What is the difference between EAR, JAR and WAR file?

Tell me something about J2EE component?

What is Deployment Descriptor?

Explain garbage collection?

What is the difference between jsp:include page and @ include file?

Interview Question: What is ActionForm?

Interview Question: What about JSTL and JavaServer Faces ?

Interview Question: Why are some of the class and element names counter-intuitive?

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

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

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

What are the services provided by a container?

What is Collection API?

Latest Articles (in Interview)

Comment on this tutorial