_______________________________________________________________________________________________________________________________________________________
Eileen Sauer, Volantec.biz
Page 1 of 11
EJB 2.0 Matrix
Eileen Sauer
Email: eileen@volantec.biz.com
The following matrix shows:
♦
Interfaces
♦ Methods for those interfaces
♦ When they occur, under what conditions
♦ Related sections in the EJB 2.0 Final Release (8/14/01)
My gratitude to Gal Binyamini and Doug Bateman for their
invaluable feedback for this version of the EJB matrix.
2.0 additions:
♦ Message driven beans and integration with JMS
♦ CMP revised for entity beans, added container managed relationships
♦ Defined local interfaces and local home interfaces for session/entity beans
♦ QL – declarative query language
♦ Added select methods for internal use of entity beans with CMP
♦ Added support for business logic methods on home interface
♦ Added declarative run-as security identity functionality for enterprise beans
♦ Defined CORBA interoperability protocol
Clients
Remote Clients
Local Clients
Client of an SB or EB may be remote client or local client. Typically one or the other view will be provided. 4.2.1
ES: PFD1 had dependent objects; these local interfaces in PFD2 essentially replace dependent objects. More consistency, e.g. now create a graph of beans with same
interfaces, transactional/security/persistence behavior, etc. Issues: issues with semantic differences, best practices?
general
Access SBs or EBs through the remote interface and remote home interface 5.2
Location independent, Java RMI interfaces 5.2
Args/results passed by value, protects against inadvertent modification, classes
decoupled from persistence layer 5.2, 5.4, 10.3.10
Collocated in the same JVM with the SB or EB 5.3
Not location independent, access SBs or EBs through local interface and local
home interface 5.3
Args/results passed by reference, can manipulate large amount of data 5.3, 5.4
client types
Can be Java application, applet, serv