Other Elements of the Deployment Descriptor
  • Example 20 shows the remaining portion of the deployment descriptor for the Bid EJB
  • The descriptor defines:
    • A name for the bean so that it can be referred to elsewhere in the descriptor
    • Java class names for the remote interface, home interface, primary key, and implementation
    • Type of persistence (BMP or CMP)
    • Whether the EJB is re-entrant
    • External resources required by the bean
      • In this case, access to a database
      • Marked as a resource reference because the actual resource is defined elsewhere (in a container specific descriptor)

Next Slide >>