Home Javacertification Bcd-guide Chapter 8. Entity Beans

Ask Questions?

View Latest Questions


 
 

Chapter 8. Entity Beans
Posted on: April 18, 2011 at 12:00 AM
This page discusses - Chapter 8. Entity Beans

Chapter 8. Entity Beans

From a list of behaviors, match them with the appropriate EntityContext method responsible for that behavior.

A CONTAINER provides the entity bean instances with an EntityContext, which gives the entity bean instance access to the instance’s context maintained by the container. The EntityContext interface has the following methods:

  • The getEJBObject method returns the entity bean’s REMOTE [component] interface.

  • The getEJBHome method returns the entity bean’s REMOTE HOME interface.

  • The getEJBLocalObject method returns the entity bean’s LOCAL [component] interface.