Vinit Kumar wrote: > I have to make a stateless sesson bean made available as web > service.
I'm trying to do somewhat the same thing. The simplest way is, as you wrote, to create a class that implements your EJB's local or remote interface with pass-through methods, and have the constructor or some static code do the JNDI lookup and obtain the local/remote object reference. Then register that class as a SOAP service. What I'm trying to do is create such a class that will service arbitrary EJBs. To do that, you need to use a Proxy/InvocationHandler to mimic the interface associated with a given EJB; at least that's what I plan to try...