Re: converting a geronimo ejb-jaxws app to jonas

"Guillaume Sauthier (OW2)" <[email protected]> Tue, 21 Jun 2011 10:57:23 +0200
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
Hi Ryan

In fact, if you don't want to customize the URL, you have nothing to do.
Just place your EjbJar in deploy/ and you're done.
You should see a trace in the console's log that tells you where the
endpoint has been deployed.

In you want more control on the URL, then you should use the
META-INF/easybeans.xml that is an equivalent to open-ejb-jar.xml.
Something like this should do the trick (I'm not sure of the namespace):
<easybeans xmlns="http://org.ow2.easybeans.deployment.ejb">
<ejb>
<session>
<ejb-name>NAME OF YOUR BEAN</ejb-name>
<endpoint-address>CUSTOM URL</endpoint-address>
</session>
</ejb>
</easybeans>

http://jonas.ow2.org/JONAS_5_1_0/doc/doc-en/html/jaxws_developer_guide.html

--G

2011/6/21 Ryan Zoerner <[email protected]>

> Hello,
>
> I have a geronimo ejb-jaxws demo that I would like to deploy on Jonas. I am
> wondering how. Is there a link to some standard set of instructions? Or,
> could someone just tell me what files I need to use to replace ejb-jar.xml
> and openejb-jar.xml files. Is it that simple, or is it much more
> complicated? The EJB JAXWS xml that was on the ow2 site has all sorts of
> port information in it, which I would like to stay away from explicitly
> stating. Is there something with less information in it which focuses only
> on bare-bones deployment?
>
> The sample app is found here:
>
>
> https://cwiki.apache.org/GMOxDOC30/developing-a-jax-ws-ejb-stateless-session-bean-web-service.html
>
> Thank you.
>
> Ryan Zoerner
>
>