aspose file tools*
The moose likes Web Services and the fly likes expose ejb2.0 stateless session bean as webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "expose ejb2.0 stateless session bean as webservices" Watch "expose ejb2.0 stateless session bean as webservices" New topic
Author

expose ejb2.0 stateless session bean as webservices

nalamati satyanarayana
Ranch Hand

Joined: Dec 16, 2005
Posts: 36
hi,
my project was developed using j2ee1.3 with ejb2.0 steless session beans
we want to expose these session beans as webservice is it possible to expose as webservice if it is possible tell me the ways
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Exposing SLSBs as web services didn't become a standard until J2EE 1.4/EJB 2.1.
So any existing solution would be vendor specific (I think WebLogic 8 had its own way of doing this).

If your platform doesn't support this then you are pretty much reduced to using a servlet/webapp style web services toolkit like Axis 1.x (I don't think that you could deploy Axis2 in a J2EE 1.3 environment) and defining the web services interface and writing the binding code implementation (in essence an adapter) to the SLSB yourself.

The process of invoking the SLSB would be the same as using the SLSB from a servlet.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: expose ejb2.0 stateless session bean as webservices