What are the call back methods in Session bean?

By: Karthik 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 types of comments are available in the JSP?

Interview Question: Is Decorator an EJB design pattern?

Question: What is a Hidden Comment in JSP?

What is Deployment Descriptor?

What are all the different scope values for the tag?

Interview Question: How is the MVC design pattern used in Struts framework?

Interview Question: What is Struts Validator Framework?

Interview Question: If the framework doesn't do what I want, can I request that a feature be added?

Interview Question: What about JSTL and JavaServer Faces ?

Interview Question: What is EJB client JAR file?

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

Interview Question: What is abstract schema?

Interview Question: What is the difference between JavaBean and EJB?

Differentiate between .ear, .jar and .war files.

What is the difference between Session Bean and Entity Bean?

Latest Articles (in Interview)

Comment on this tutorial