参考文档:
Oracle® Containers for J2EE Enterprise JavaBeans Developer’s Guide 10g (10.1.3.1.0)
B28221-02

原文:
EJB 3.0 Support
In this release, OC4J supports all but a small subset of the functionality specified in the final EJB 3.0 specification
([url]http://jcp.org/aboutJava/communityprocess/pr/jsr220/index.html[/url]).
You may need to make minor code changes to your EJB 3.0 OC4J application after
OC4J is updated to full EJB 3.0 compliance.

What JDK is Required?
By default, if you are using EJB 3.0, then you must use JDK 1.5. By default, OC4J does not support the use of EJB 3.0 and JDK 1.4.
OC4J supports the use of EJB 3.0 (excluding annotations and interceptors) with JDK 1.4 only with the TopLink JPA preview persistence provider. For more information, see the discussion of system property default.persistence.provider in "JPA Persistence JAR Files" on page 3-2.

How do You Define an EJB 3.0 Application?

For entities, OC4J assumes that the application is an EJB 3.0 application, if an EJB JAR is deployed without an ejb-jar.xml file. For more information, see "Understanding EJB Persistence Services" on page 2-12

For session beans and message-driven beans, OC4J assumes that the application is an EJB 3.0 application if the ejb-jar.xml file <ejb-jar> element version attribute is set to 3.0

上面说明最重要的是:OC4J(10.1.3.1.0)对于EJB3.0的支持是不完全的,而且对不同种类的bean支持条件不同
1.对于实体bean,如果没有ejb-jar.xml,才认为是EJB3.0
2.对于会话bean和消息驱动bean,在ejb-jar.xml文件中<ejb-jar>元素中定义version属性是3.0的


如果在会话bean中没有ejb-jar.xml,则在部署完成后会生成该文件,但这个文件中有一句话:
<!--WARNING: This generated ebj-jar.xml is for EJB 3.0 debugging purpose only,it is currently not valid for use in deployment-->