users@jax-rpc.java.net

Re: Stateless Session Beans and JAX-RPC

From: <bytecode_at_Phreaker.net>
Date: Fri, 11 Jun 2004 23:30:21 -0400

Actually the examples uses the J2EE 1.4 standard implementation (or RI)
which is the Sun ONE app server.
The examples should be portable as long as they use JSR 109 descriptors.

/s



Webb Morris wrote:

>Doug's Example depends on the container that comes with the examples (Tomcat, I think it was,
>really can't remember). I understand the frustration in finding an example with detail for
>putting a web service in front of a stateless session bean. I may be way off track here, but I
>seem to recall that the spec left it up to the container to provide this ability (meaning you do
>it differently for every container you deploy to). Plus, I think this part of the spec is only in
>the 2.0 EJB spec which I'm not sure has been finalized yet, but I do know is not widely
>implemented. The company I work for recently moved to WebLogic, and this functionality is fairly
>well supported, but it does require some WebLogic specific build tasks and doesn't involve
>JAX-RPC, although I have written a JAX-RPC client to test the deployment.
>
>Just my 2c
>
>WM
>
>
>--- Doug Kohlert <Doug.Kohlert_at_Sun.COM> wrote:
>
>
>>Hopefully this will help:
>>http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Session3.html
>>
>>Gabriel Bauman wrote:
>>
>>
>>
>>>Good afternoon,
>>>
>>>I am trying to expose a stateless session bean as a SOAP web service.
>>>
>>>Can anyone point me to an end-to-end, config-file-by-config-file,
>>>dependency-by-dependency guide that explains the correct way to expose a
>>>stateless session bean's methods over JAX-RPC?
>>>
>>>I have used JAX-RPC successfully a number of times to expose non-EJB
>>>classes using the JAX-RPC servlet provided by the JWSDK. However, I am
>>>seeing a number of hints that it is somehow possible to expose a session
>>>bean directly by defining a "web service interface" in the ejb-jar.xml
>>>file that defines the bean, and including a mapping xml file in the
>>>deployable WAR file. If this is indeed possible, it would be an absolute
>>>godsend.
>>>
>>>It appears that this functionality has been rolled into the EJB spec,
>>>but the documentation I have found in my Googling has been confusing.
>>>The IBM-provided JSR-109 reference implementation has proven difficult
>>>to use, due to its reliance on xrpcc (isn't that deprecated?) and
>>>Windows batch files (I don't have a Windows machine). I can't seem to
>>>find a guide that lays out the process in a concise, coherent manner
>>>without escaping into the use of vendor-specific UI-based tools.
>>>
>>>Any help would be most gratefully received.
>>>
>>>
>>>
>>>
>>>
>>--
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>Doug Kohlert
>>
>>Sun Microsystems, Inc.
>>doug.kohlert_at_sun.com
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>>
>>
>>
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Friends. Fun. Try the all-new Yahoo! Messenger.
>http://messenger.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net