| ||
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.
| ||