Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Stand-alone, built-in HTTP server in AXIS?  RSS feed

 
Bhiku Mhatre
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Axis final version 1.0 claims to have a stand-alone,thin HTTP Server. Does anyone know how to go about using it? Because,all of the examples start with AXIS being embedded in a servlet container like Tomcat....
 
Junaid Bhatra
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java org.apache.axis.transport.http.SimpleAxisServer -p your_port_number
This starts the simple HTTP server. Now you can go about the normal business of deploying/lookup/invoking your services. Ofcourse this is probably not a good idea for production use!
 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Though it is possible to run Axis as a Stand Alone, it is not advisiable. Infact it is easier to run Axis in Tomcat. So why we worry about running Axis as a Standalone.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mostly because you do not want to have to add the overhead of a full servlet engine and web server to the Axis runtime if ALL you will be serving from that JVM is SOAP over HTTP. It would be much lighter-weight without Tomcat. Personally, I think this is a GREAT idea for client programs that would like to receive notifications via Web Services (something for which a full Tomcat install would be overkill).
Kyle
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!