Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

deploying a java web service to windows 2008 server

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am hoping this is the right forum for this question. I have a JAX-WS webservice that I want to deploy on to a windows 2008 server.

I have never deployed a web service before and so I have no clue where to start. Can anybody please help me and tell me 1) how to deploy a web service 2) how to deploy a java web service on a windows 2008 server?

Any help is greatly appreciated.

Thanks
 
Ranch Hand
Posts: 334
2
Netbeans IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ratna,

I'm not really a JAX guy but I think we need more information before we can help.

Do you have a server setup or are you asking how to set up the server?

Depending on which server you choose the exact deployment method will be a bit different.

The only JAX server I'm at all familiar with is Glassfish but there are others I believe. If that's what you want to use Oracle docs are pretty good. Check out http://java.net/projects/jax-ws the left hand links describe Glassfish and its documentation.

Joe
 
ratna sargurp
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe:

Thanks for replying. Yes, we do have a windows 2008 server set up with IIS. I want to deploy my webservice to this server.



 
Sheriff
Posts: 21972
106
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forget about that. IIS doesn't know how to handle JAX-RS, or any serverside Java code.

What you need is a server that does know how to handle it like JBoss (does Tomcat also support JAX-RS?). Then you can setup IIS to forward calls to the JBoss (/Tomcat) server using the AJP protocol. There's a bit of documentation on how to do that on the Tomcat website (JBoss uses Tomcat internally so what works for Tomcat should also work for JBoss).
 
Joe Areeda
Ranch Hand
Posts: 334
2
Netbeans IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for jumping in Rob.

I don't know didly about IIS

Joe
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While a separate Tomcat would be an easier and cheaper option, it's worth noting that it's possible to deploy Java web apps on IIS with the help of an add-on such as ServletExec. Or you can have IIS and Tomcat work together as described here.
 
This tiny ad is suggesting that maybe she should go play in traffic.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic