File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Multiple Web Service Endpoints sharing one Java Process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Multiple Web Service Endpoints sharing one Java Process" Watch "Multiple Web Service Endpoints sharing one Java Process" New topic
Author

Multiple Web Service Endpoints sharing one Java Process

Ron Patel
Greenhorn

Joined: Apr 11, 2004
Posts: 18
Hi Everyone,

I was wondering if there was a way to have Multiple Web Service Endpoints (interface and implementation pairs) share one Java Process?

For example: I would have some Java Endpoint Interface called X (which implements the Remote Interface) and another Java Endpoint Interface called Y. If some client calls methods on X and Y, will those two method calls be processed in the same Process? Or will another Process be forked off?

I am using Tomcat 5.5 and Apache Axis 1.2RC2.

Thanks
Dave Clark
Ranch Hand

Joined: Feb 16, 2005
Posts: 52
Yes - you can have as many service endpoints running within your web server / app server as you like.

Remember, web services (over SOAP/HTTP at least) are just HTTP requests and responses, so being able to service multiple endpoints is just like running multiple Servlets or JSPs within your web container.

I'm not sure about the current version of Axis, but if I were you I'd go with Sun's Web Services developer pack instead, since Axis (at least in the recent past) wasn't compatible with the WS-I standards.

Does anyone know if Axis is WS-I compliant these days??

cheers,

Dave.


Dave Clark<br />Senior WebSphere Architect<br /><a href="http://www.versant.com" target="_blank" rel="nofollow">Versant Open Access - JDO2 & EJB3</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Web Service Endpoints sharing one Java Process
 
Similar Threads
Questions from RMH
communicate non java client with java server side components ?
Web Service Multiple Endpoints
JAXB with JAX-RPC1.1+ EJB
Can we have more than one WSDL file for same service