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 is Collection API?

Interview Question: What is Action Class?

Interview Question: What is Struts Validator Framework?

Interview Question: What is ActionForm?

Interview Question: Is Struts compatible with other Java technologies?

Interview Question: Do you have to credit Struts on your own website?

Interview Question: How do I install Struts?

Interview Question: What about JSTL and JavaServer Faces ?

Interview Question: Can i map more than one table in a CMP?

Interview Question: How many EJB Objects are created for a Bean?

Interview Question: What is Message Driven Bean?

Interview Question: 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?

Types of Interviews

Question: What is a Hidden Comment in JSP?

Question: What is an output comment in JSP?

Latest Articles (in Interview)

Comment on this tutorial