Programming Tutorials

What are the call back methods in Session bean?

By: Karthik in Interview Tutorials on 2012-06-16  

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().





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

What is difference between Java Bean and Enterprise Java Bean?

Interview Question: What is the difference between sessioncontext and entitycontext?

Question: What is an output comment in JSP?

Question: Explain the life-cycle methods in JSP?

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

Question: What is an Expression tag in JSP?

Question: Difference between forward and sendRedirect in JSP?

Types of Interviews

Getting started with Interview

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

How to define an Interface?

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

Interview Question: Is Decorator an EJB design pattern?

Explain the Polymorphism principle.

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

Latest Articles (in Interview)