EJB Component
Model -- EJB Container
- Exists on the server-side and enterprise bean is
deployed and executed in it.
- Notifies the bean at important stages during its life
cycle.
- Provides bean with information regarding the
environment in which the bean executes.
Responsibilities of a
Container:
- Apply Transactional Rules :
Initiate and Terminate Transactions
- Enforce security of bean's execution: grants
or denies access using transactional attributes
- Controls all the low level functionality of the bean
- Restrict bean's access to resources such as File
system, Abstract Windowing Toolkit (AWT), native libraries, thread
management, sockets and class loaders.