Services:
-
Transaction : both supports container-managed and component-managed transactions.
-
Security : both supports container-managed role based security. EJB can define method level restrictions for roles.
|
Both service requirements can be defined within the deployment descriptors.
|
Persistence
-
Both supports component-managed and container-managed persistence.
|