M. Carlo Bramini
M. Carlo Bramini

Reputation: 2522

Java, Webservices: do I need Tomcat/GlassFish or any other server to run a simple "web service"

I've been looking at few tutorial on how to create a webservice and most of them were using in the "web service" side GlassFish or TomCat, I was wondering if they are essential since I would like to run a small "web Service" in the backbround of my remote server, the server os is Windows Server.

Thanks Luther.

Upvotes: 0

Views: 1641

Answers (5)

Kishan Bheemajiyani
Kishan Bheemajiyani

Reputation: 3439

Ya your need server to Deploy your webservices and that will used and consume by the user or Soap Client. and Tomcat/Glassfish are the Server who Deploy your application means your Webservices on the Server and you can consume it. and ya for that Glassfish is more better then tomcat.

Upvotes: 0

user2819021
user2819021

Reputation: 11

Please try the steps specified in http://www.cis.umassd.edu/~hxu/Projects/UMD/WebServices/

Upvotes: 0

Rama Krishna Sanjeeva
Rama Krishna Sanjeeva

Reputation: 427

You can try out using javax.xml.ws.Endpoint class (http://docs.oracle.com/javaee/5/api/javax/xml/ws/Endpoint.html).

This allows you to try out web service without using any web/application servers.

Upvotes: 0

Jan Bouchner
Jan Bouchner

Reputation: 897

Juned Ahsan is right. I would suggest to use Tomcat for a beginning. It is faster than glassfish or if you dont want to run and configure application server on your own machine you can use Google App engine https://developers.google.com/appengine/articles/soap

Upvotes: 1

Juned Ahsan
Juned Ahsan

Reputation: 68715

As the name suggest, web service is a services exposed and available on web interface. Tomcat/Glassfish are web containers or web servers to hosts such services. You don't need containers to write the services code but you need them to deploy you web services.

Upvotes: 3

Related Questions