Professional Documents
Culture Documents
0 Outline
to be released in 2006
1
Dependency Injection Specifics of EJB 3.0
2
Enhancements to EJB QL Stateless Session Beans
● explicit inner and outer join ● plain Java object with a class-level
● fetch join for eager loading (default=lazy) annotation of @Stateless
● bulk update and delete ● can implement the javax.ejb.SessionBean
● subqueries interface, but is not required to
● group-by ● may implement a business interface
● support for native SQL queries – If no business interface implemented, generated
● dynamic query capability using all the public methods
● @BusinessMethod by default local
– @Remote indicates a remote interface
3
Message-driven Beans Bean Interfaces
● EJB 3.0 remote or local clients access beans ● less artefacts for developers
through their business interface ● enterprise services for Java core (e.g.JBoss)
– EJB 3.0 compliant desktop application?
● business interfaces are ordinary Java
interfaces
● contrary to annotations provide deployment
● references to business interfaces through descriptors a holistic view to EJB modules
– injection mechanism ● vendor specific annotations defeats the goal
– javax.ejb.EJBContext.lookup()
of portability
– JNDI API
● don’t forget about configuration by exception
● entity beans: owning side defined by
dependent side=> less complexity?