• 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

Stand alone Java Process as a web server server

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a requirement to Deploying Web service on runtime i.e. starting web service container in Java Program.

I saw in http://today.java.net/pub/a/today/2007/07/03/jax-ws-web-services-without-ee-containers.html as to how Web service can be deployed in Java program in J2SE 6.0.

But I want to implement same in J2SE 5.0.

Can you please let me know the ways??

Thnaks
Krishna
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can embed a Tomcat instance in the application. See this article for how to do this. Since both Axis and JAX-WS are web applications they can be deployed in Tomcat.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jetty is often used as a lighter-weight alternative to Tomcat.

Also Axis2 comes with org.apache.axis2.transport.http.SimpleHTTPServer. How do I Embed SimpleHTTPServer in My Application and Deploy a POJO?.
[ February 05, 2008: Message edited by: Peer Reynders ]
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm new to J2SE6 web services. Is the light weight HTTP Server that comes with J2SE6 equivalent to Jetty? Is there anyway to get HTTPSession information from this light weight HTTP Server?

Thanks,

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic