-
Home Inteface
-
RemoteHome Interface
- create()
- create(...)
-
LocalHome Inteface
- create()
- create(...)
-
Home Objects in JNDI
- Class name
- Vendor specific deployment descriptor
- Create EJB Objects
-
Business Interface
-
Local
- @Local
- businessMethodOnLocal()
- businessMethodOnBoth()
- remove()
-
Remote
- @Remote
- businessMethodOnRemote()
- businessMethodOnBoth()
- remove()
-
Client
- @EJB
- EJB Object Lookup
-
Lookup methods
- Direct JNDI lookup
- java:comp/env
- web.xml <ejb-ref>
-
Objects Handled by the Client
- Remote Home
- Local Home
- Remote Object
- Local Object
- Direct Lookup
-
Tasks
- Home Lookup
- Object Create
- Business Call
- EJB Object claim alternatives
-
Bean
-
Bean Implementation
- @Init
create()
- @PostConstruct
initialize()
- @PreDestroy
destroy()
- @PostActivate
activate()
- @PrePassivate
passivate()
- @Remove
remove()
- businessMethodOnRemote()
- businessMethodOnLocal()
- businessMethodOnBoth()
-
Bean Annotations
- @Statefull
- @Stateless
-
EJB Container
- RemoteHome Implementation
- LocalHome Implementation
- RemoteObject Implementation
- LocalObject Implementation
- Bean "Wrappers"