Re: Re: converting a geronimo ejb-jaxws app to jonas

Ryan Zoerner <[email protected]> Tue, 21 Jun 2011 22:47:28 -0500
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
"jaxws-converter-ejb", wherever it appears, should say "converter-final" I
took the code from the package from which I was substituting in those lines
mentioned.

On Tue, Jun 21, 2011 at 10:34 PM, Ryan Zoerner <[email protected]>wrote:

> Hi Guillaume,
>
> I am having problems with the following lines in my ejb-jar.xml file:
>
>     <enterprise-beans>
>         <session>
>             <ejb-name>jaxws-converter-ejb</ejb-name>
>
> <service-endpoint>org.apache.geronimo.examples.jaxws_ejb.jax_ws_converter.Converter
>             </service-endpoint>
>
> <ejb-class>org.apache.geronimo.examples.jaxws_ejb.jax_ws_converter.ConverterBean
>             </ejb-class>
>             <session-type>Stateless</session-type>
>             <transaction-type>Container</transaction-type>
>         </session>
>     </enterprise-beans>
>
> Are these lines supposed to be in the easybeans.xml file then? (is that
> what you were describing in your email?)
>
> The server, in eclipse, reports that it is deployed, but when I look for it
> at http://localhost:port/@WebService:serviceName/@WebService:name?wsdl, I
> do not find it. However, I will look for the deployment location item in the
> log and see if it is there instead.
>
> Thank you.
>
> Ryan Zoerner
>
>
> On Tue, Jun 21, 2011 at 3:57 AM, Guillaume Sauthier (OW2) <
> [email protected]> wrote:
>
>> 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
>>>
>>>
>>
>>
>