The bean class

  • may inherit from any class
  • provides implementation of the methods listed in the Remote interface (with exactly the same signatures), but does not actually implement the remote interface in terms of Java interface implementation
  • implements methods to create new bean instances (there is always one ejbCreateXXX(ppp) method in EJB class for each createXXX(ppp) method in the home interface.
  • for entity beans with bean managed persistance, implements the finder methods to find a bean instance based on primary key and (optionally) on any other criteria.
First Previous Next

Slide: 19