axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Ewins <>
Subject Re: InClass-Server
Date Wed, 19 Jun 2002 10:12:10 GMT
Sebastian Hasait wrote:

> The Problem of a Webapplication is, that it cannot have a Swing-GUI.
> In my case i need this.
> I solved this Problem using XSoap:

You have another couple of options. Axis does actually include a 
standalone server ( org.apache.axis.transport.http.SimpleAxisServer ). 
Just do:
SimpleAxisServer sas=new SimpleAxisServer();
sas.setServerSocket(new ServerSocket(port));;

and you're off. This is a single threaded server intended for testing, 
it may do what you need.

A second way of doing this is to embed the webserver (yes you can give 
webapps a Swing GUI - this is what IDEs do). Tomcat is designed to allow 
this kind of thing. You can find an article describing the technique 

Hope this helps

View raw message