EJB Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1305 Page Views: 

What are different callback methods in Entity beans?



Posted By: Avi Date: 9 November 2010 10:12:02 AM
 Answer:

The bean class implements a set of callback methods that allow the container to notify the events in its life cycle. The call back methods available in Entity Bean are public void setEntityContext(); public void unsetEntityContext(); public void ejbLoad(); public void ejbStore(); public void ejbActivate(); public void ejbPassivate(); public void ejbRemove();


Posted By: avibtech


Date: 9 November 2010 10:12:02 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image xqM82c
Related Questions
EJB : What are different types of entity beans?

What are different types of entity beans?

1-Container Managed Persistence (CMP). 2- Bean managed persistence (BMP).
Category: EJB Date: 11/8/2010 4:02:01 AM
EJB : When to use a stateless session bean?

When to use a stateless session bean?

When the bean's state has no data for a specific client, and when in a single method invocation, the....
Category: EJB Date: 11/8/2010 1:07:01 AM
EJB : What is the default transaction attribute in EJB?

What is the default transaction attribute in EJB?

The default transaction attribute is 'supports'
Category: EJB Date: 11/7/2010 10:45:02 PM
EJB : What are remove methods of Entity Bean?

What are remove methods of Entity Bean?

Remove methods allow the client to remove an Entity bean by specifying either Handle or a Primary Ke....
Category: EJB Date: 11/7/2010 4:24:02 PM
EJB : What is EJB?

What is EJB?

EJB (Enterprise JavaBeans) is the server-side component architecture for J2EE platform.where it is a....
Category: EJB Date: 11/7/2010 12:57:00 PM