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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 2906
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.


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: expose ejb2.0 stateless session bean as webservices
 
Similar Threads
Session Beans in EJB2.0 and EJB3.0
Service locator as the service?
Multiple endpointInterface
EJB is looking hot now a days
Exposng Servlet as Webservice