tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radhakrishna Kalyan <nrkkal...@gmail.com>
Subject Re: Standalone OpenEJB application example
Date Sun, 04 May 2014 10:04:13 GMT
Hi Andy,

Thank you for the comments. I tried the way you mentioned.
I used 'openejb-standalone' instead of 'openejb-cxf-rs'
But then I didn't able to access my REST resources after the application
has started.

Am I doing anything wrong?




On Fri, May 2, 2014 at 12:27 PM, Andy Gumbrecht <agumbrecht@tomitribe.com>wrote:

> Having discussed everthing on IRC we kind of missed the results on this
> list, so for the benefit of others...
>
> Info is here: http://tomee.apache.org/documentation.html - OpenEJB
> Standalone Server
>
> I would just use InitialContext on a downloaded standalone OpenEJB -
> http://www.apache.org/dyn/closer.cgi/tomee/tomee-1.6.0.
> 1/openejb-standalone-4.6.0.1.zip
>
> Unzip, then in your own static main void point to it...
>
> env.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.
> LocalInitialContextFactory");
> env.put("openejb.home", path.to.openejb.root);
> env.put("openejb.base", path.to.openejb.root);
>
> A combination of the following examples will be what you need:
>
> https://svn.apache.org/repos/asf/tomee/tomee/trunk/
> examples/helloworld-weblogic/src/test/java/org/superbiz/
> hello/HelloTest.java
> https://svn.apache.org/repos/asf/tomee/tomee/trunk/
> examples/simple-osgi/standard-ejbd-server/src/main/java/org/
> superbiz/StandardEjbdServer.java
>
> Andy.
>
> --
>   Andy Gumbrecht
>
>   http://www.tomitribe.com
>   agumbrecht@tomitribe.com
>   https://twitter.com/AndyGeeDe
>
>   TomEE treibt Tomitribe! | http://tomee.apache.org
>
>


-- 
Thanks and Regards
N Radhakrishna Kalyan

P:  +46 733 312 584
http://about.me/nrkkalyan
 <http://about.me/nrkkalyan>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message