Chapter 11: Enterprise JavaBeans

Overview

Oracle 10g AS supports Enterprise JavaBeans (EJBs) based on the EJB 1.1 and 2.0 specifications. EJBs can access all the services deployed in an OC4J server, including Java Message Service (JMS) connection factories and destinations, Java Database Connectivity (JDBC) data sources, and JavaMail sessions. EJBs are typically packaged in an EJB JAR file, which includes the EJB classes and deployment descriptors. This module is then packaged into a J2EE application archive (EAR file).

As with other J2EE components , the standard EJB deployment descriptor indicates the resources required by the EJBs. However it's left to the application server to map those requirements to specific services available in the server. OC4J uses an additional deployment descriptor, orion-ejb-jar .xml , to manage resource mapping and container-managed-persistence (CMP) settings, as well as EJB container configuration.



Oracle Application Server 10g. J2EE Deployment and Administration
Oracle Application Server 10g: J2EE Deployment and Administration
ISBN: 1590592352
EAN: 2147483647
Year: 2004
Pages: 150

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net