You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Nrkkalyan <nr...@gmail.com> on 2013/07/17 09:06:54 UTC

Example+request

Hi

I want to use open ejb in a standalone java application. I don't want any application server to deploy my application. 
There is a Main.java class which is the starting point of the application having 'public static void main(String... args). I want to keep this as it is and want to use EJB3 through out the application,if not everything, mostly CDI.  Is it possible with standalone openejb. Please provide examples if you have any.  

Sent from my iPhone

Re: Example+request

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

our samples are http://tomee.apache.org/examples/

All is done in unit tests can be done in Main.

That said not sure i got your query right.

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/17 Nrkkalyan <nr...@gmail.com>

> Hi
>
> I want to use open ejb in a standalone java application. I don't want any
> application server to deploy my application.
> There is a Main.java class which is the starting point of the application
> having 'public static void main(String... args). I want to keep this as it
> is and want to use EJB3 through out the application,if not everything,
> mostly CDI.  Is it possible with standalone openejb. Please provide
> examples if you have any.
>
> Sent from my iPhone

Re: Example+request

Posted by Jean-Louis MONTEIRO <je...@gmail.com>.
Not clear as well for me.
Checkout the download page and you will see a standalone version with a
structure, script files, etc.

Jean-Louis


2013/7/17 Nrkkalyan <nr...@gmail.com>

> Hi
>
> I want to use open ejb in a standalone java application. I don't want any
> application server to deploy my application.
> There is a Main.java class which is the starting point of the application
> having 'public static void main(String... args). I want to keep this as it
> is and want to use EJB3 through out the application,if not everything,
> mostly CDI.  Is it possible with standalone openejb. Please provide
> examples if you have any.
>
> Sent from my iPhone




-- 
Jean-Louis