• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Do I need a App Server to run JAX-WS

 
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am just wondering from the perspective of JAX-WS what does an APP server give me?
For example, with Java SE you get an internal HTTP Server and it is possible to publish simple WebServices which use JAX-WS annotations?
What does the App Server give me? Are there some sophisticated features which I must have an AppServer to use? Besides the obvious making a stateless EJB a WebService?

What else is there?

Thanks
 
Ranch Hand
Posts: 2198
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
No, you don't need an application server to run a web service.
An application server may give you additional benefits, such as monitoring of deployed services, use of virtual servers etc.
It may also be possible to buy commercial support for an application server, in which case you can blame someone else when your services dies on you.

You don't even need an application server to develop a web service implemented by an EJB. There is OpenEJB which allows you to run an EJB container almost anywhere.
Best regards!
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Most JAX-WS implementations are servlet-based, so you would need a servlet container. While the Java 6 JRE has a bare-bones server built in, I advise to use Tomcat or something similar.
 
Alas, poor Yorick, he knew this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic