Have you looked at Jetty?  http://jetty.mortbay.com/
 
We are embedding Jetty within our own server application and then deploying Axis within it's servlet container.  Works GREAT!  This gives us the capability to programmatically access not only Axis, but also the http server features of Jetty.  Another nice side effect is that it was easy for us to get a servlet-based server monitor into to our app by mounting our servlets in Jetty (again, easy as can be) ...the user just points a browser at it and voila! insta-gui!
 
If you want, I would be happy to send you the essential code needed to do this, but the Jetty documentation is great and you shouldn't have any problems getting this going.
 
From the Jetty web site...
 
"Jetty is an Open Source HTTP Server and Servlet container written in 100% Java. It is full featured, light weight, high performance, embeddable, extensible and flexible.
 
100% Java Server
Open Source
HTTP Protocol 1.1
Servlet API 2.3
Java Server Pages 1.2
SSL Support
Modular Architecture
Embeddable
Small & Efficient
Flexible Configuration
HTML Generation.
EJB & JMX Integration.
"
 
-----Original Message-----
From: Chris Haddad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 10:33 AM
To: [EMAIL PROTECTED]
Subject: RE: Embedding axis (again)

Does this class fit your needs?  It provides a simple Axis server that will listen for SOAP requests on a specified port.

 

org.apache.axis.transport.http.SimpleAxisServer

 

For the deployment/undeployment of services, you would need to embed org.apache.axis.client.AdminClient

 

Hope this helps,

 

/Chris

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent
:
Wednesday, March 13, 2002 6:38 AM
To: [EMAIL PROTECTED]
Subject: Embedding axis (again)

 

Hi,

 

this question has been asked before but I could not find an answer so far:

 

How can I use axis from within my own program?

Meaning that I have my own java program where I dynamically want to start/stop one or more axis/http servers (threads). For each of the started servers I want to be able to dynamically deploy/remove services (ideally implemented by concrete java objects - not classes) much like in RMI.

 

Regards,

    Ralf

Reply via email to