Skip Headers
Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide
10g Release 3 (10.1.3)
B14428-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Packaging an Application with Both EJB 3.0 and EJB 2.1 EJBs

You can combine both EJB 3.0 and EJB 2.1 beans in your application. For example, you could have an application that contains three annotated EJB 3.0 entities without ejb-jar.xml, two EJB 2.1 entity beans with ejb-jar.xml, and three EJB 3.0 session beans with ebj-jar.xml, annotations, or both (in which case, the ejb-jar.xml overrides the annotations).