Declarative Implementation Elements
  • EJB allows certain aspects of bean behaviour to be specified declaratively
    • These aspects of bean behaviour don't clutter up the implementation
    • The most important are:
      • Transaction demarcation
      • Security
  • Entity beans are shared objects
    • Allow multiple clients to access them simultaneously
  • Note, however, that the keyword synchronous was not used in the implementation
    • This is because entity beans are inherently transactional

Next Slide >>