Summary

EJBs are designed to provide flexibility, allowing an existing EJB to be easily integrated into an existing set of components. In order to be able to perform this integration, we need to allow an EJB's security and transaction control to be modified to conform to the needs of the application it is being integrated into. EJBs allow this to be done using several different methods.

As we saw in this chapter, the EJB developer does not need to be concerned with security or transaction control when programming the component. The developer can focus on programming the business logic of the component and leave the security and transaction decisions to those responsible for integrating the component into the application. Using declarative programming, ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.