axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Ewins <Brian.Ew...@btinternet.com>
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: http://www.extreme.indiana.edu/xgws/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));
sas.run();

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 
here: http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html

Hope this helps
-Baz


Mime
View raw message