Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Webservice help  RSS feed

 
Prantik Biswas
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are looking to build a simple web service.
Running it inside Tomcat or WebSphere appears to be an overkill because the webservice is very lightweight (and Websphere or even tomcat are not).

Is there any production purpose "Standalone Webservice" � something that does not require a container, or a third party lightweight container.

thanks
 
Scott Selikoff
author
Bartender
Posts: 4093
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create a J2SE application (simple stand alone application) that runs a web service, it just needs to listen on specific ports. For it to be a true web service though, it should use a standard XML format for input and output.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!