• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multiple Web Service Endpoints sharing one Java Process

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic