Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploying a java web service to windows 2008 server

 
ratna sargurp
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
 
Joe Areeda
Ranch Hand
Posts: 331
2
Java Netbeans IDE Tomcat Server
  • 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.



 
Rob Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java 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: 331
2
Java Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for jumping in Rob.

I don't know didly about IIS

Joe
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic