INTRODUCTION
What is an Enterprise Java
Bean (EJB) ?
- Open Specification for developing and
deploying
enterprise-wide
applications
- Uses EJB Servers, Containers and Components.
- Can be deployed in any EJB
compliant system
- Defines a simple contract among
the components
- enterprise
beans; and the component model implementation, the container and server.
- Supports distribution of components across the network.
- Makes EJB applications portable and interoperable across
J2EE-compliant application servers.
- Clearly defines the life cycle
for each
component type.
Why use EJB?
EJB provides developers
with:
- Robust distributed environment
- Transaction
Management <--- Major reason of popularity
- State Management
- Multi-threading
EJB vs.
CORBA -- Why EJB is
better?
- CORBA contains language and OS
interoperability features
- EJB uses Java language which is
platform-independent and
contains standard APIs
There are additional program examples (powerpoint presentation) of Enterprise Java Beans for your self-study.