Hi Cleber,

Here is an example of how to run the embedded version of it
https://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/jpa-hibernate/src/test/java/org/superbiz/injection/h3jpa/MoviesTest.java

The "EJBContainer.createEJBContainer(p).getContext()" is the important part.

[]s,
Thiago.


On Tue, Mar 27, 2012 at 2:39 PM, Cleber Moura <[email protected]>wrote:

> Hi,
>
> I would like to know, if there is a way to configure a j2se application to
> use the openejb embedded server.
> On development time (inside the IDE - eclipse), it works perfectly. But,
> when I do generate the jar and execute outside of the IDE, it doesn't work.
>
> Thanks.
>
> --
> Cleber Moura
>

Reply via email to