Manorrock logo
Almanacs     Products     Open SourceSign In

EJB @EJB

Javadoc

The @EJB annotation is used to inject a reference to another EJB so you can call its business methods to accomplish your business goal. The example below uses the annotation on a field.

  
  @EJB
  ShoppingCart shoppingCart;
                

Up


Documents     Press releasesAbout us     Privacy    
Copyright notice