views:

39

answers:

3

Is javaee6/ejb3.1 implementation available from openejb? Is javaee6/jpa2.0 implementation available from openjpa?

I am trying to evaluate javaee6 and ejb3.1 and jpa2.0 with maven as a build tool; so trying to find the maven artifacts for it. Please suggest Any opensource javaee6 embedded container full implementation .

A: 

ejb3.1 implementation is not yet ready from openejb. jpa2.0 implementation is ready from openjpa.

Digambar Daund
A: 

Current state of OpenEJB 3.2-SNAPSHOT is in pretty good condition wrt EJB 3.1

For those interested, keep an eye on this page:

https://cwiki.apache.org/OPENEJB/ejb-31-roadmap.html

David Blevins
A: 

I am trying to evaluate javaee6 and ejb3.1 and jpa2.0 with maven as a build tool; so trying to find the maven artifacts for it. Please suggest Any opensource javaee6 embedded container full implementation.

There is obviously GlassFish and the Embedded GlassFish. Here is the relevant artifact:

<repositories>
  <repository>
    <id>download.java.net</id>
    <name>Java.net Maven Repository</name>
    <url>http://download.java.net/maven/2&lt;/url&gt;
  </repository>
</repositories>
...

<dependencies>  
  <dependency>
    <groupId>org.glassfish.extras</groupId>
    <artifactId>glassfish-embedded-all</artifactId>
    <version>3.0</version>
    <scope>compile</scope>
  </dependency>
  ...
</dependencies>  

Actually, providing an embeddable container API is part of the Java EE 6 specification (Chapter 22 of the EJB 3.1 spec). See EJBContainer.

See also

Pascal Thivent