This is the specification of the Enterprise JavaBeansTM architecture.The Enterprise JavaBeans architecture is a component architecture for the development and deployment of componentbased distributed business applications. Applications written using the Enterprise JavaBeans architecture are scalable, transactional, and multi-user secure. These applications may be written once, and then deployed on any server platform that supports the Enterprise JavaBeans specification.
Table of Contents
Chapter 1 Introduction……………………………………………………………………………………………………. 25
1.1 Target audience…………………………………………………………………………………… 25
1.2 What is new in EJB 2.0 ……………………………………………………………………….. 25
1.3 Acknowledgments ………………………………………………………………………………. 26
1.4 Organization ………………………………………………………………………………………. 27
1.5 Document conventions ………………………………………………………………………… 28
Chapter 2 Goals ……………………………………………………………………………………………………………… 29
2.1 Overall goals………………………………………………………………………………………. 29
2.2 EJB Releases 1.0 and 1.1……………………………………………………………………… 30
2.3 Goals for Release 2.0…………………………………………………………………………… 30
Chapter 3 EJB Roles and Scenarios ………………………………………………………………………………….. 33
3.1 EJB Roles ………………………………………………………………………………………….. 33
3.1.1 Enterprise Bean Provider ………………………………………………………… 34
3.1.2 Application Assembler……………………………………………………………. 34
3.1.3 Deployer……………………………………………………………………………….. 34
3.1.4 EJB Server Provider ……………………………………………………………….. 35
3.1.5 EJB Container Provider…………………………………………………………… 35
3.1.6 System Administrator …………………………………………………………….. 36
3.2 Scenario: Development, assembly, and deployment ………………………………… 36
Overview……………………………………………………………………………………………………….. 41
4.1 Enterprise Beans as components …………………………………………………………… 41
4.1.1 Component characteristics ………………………………………………………. 41
4.1.2 Flexible component model………………………………………………………. 42
4.2 Enterprise JavaBeans contracts……………………………………………………………… 43
4.2.1 Client-view contracts for session beans and entity beans …………….. 43
4.2.2 Component contract ……………………………………………………………….. 44
4.2.3 Ejb-jar file …………………………………………………………………………….. 46
4.2.4 Contracts summary ………………………………………………………………… 46