Thursday, May 8, 2008

JSP Servlet J2EE Questions 7

31: What are the methods of Entity Bean?
A: An entity bean consists of 4 groups of methods, create methods...........

32: What is the difference between Container-Managed Persistent (CMP) bean and
Bean-Managed Persistent(BMP) ?
A: Container-managed persistence (CMP) and bean-managed persistence (BMP).
With CMP, the container manages the persistence of the entity bean............

33: What are the callback methods in Entity beans?
A: Callback methods allows the container to notify the bean of events in
its life cycle. The callback methods are defined in the javax.ejb.EntityBean
interface............

34: What is software architecture of EJB?
A: Session and Entity EJBs consist of 4 and 5 parts respectively, a remote
interface.....

35: Can Entity Beans have no create() methods?
A: Yes.

No comments:

Useful Information