Many behaviors can be specified in the Deployment Descriptor object of each container.
|
Transaction management properties: no longer write transaction demarcation in the code - container will implicitly use one of six transaction rules.
-
EJB spec suggests, but not requires, you to use Java Transaction Service (JTS) API, the Java binding of the CORBA Object Transaction Service.
|
Security: security rules for each bean are defined in a set of AccessControlEntry objects within the deployment descriptor.
-
Defines a list of users allowed to access each method
-
Or the user may choose to manage their own security programmatically with the java.security package.
|
A bean may be moved to any EJB server (for example, for performance reasons).
|