----- Original Message ----- From: "Slobodanka Dimitrijevic" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, June 02, 2008 11:26 AM
Subject: How to run own java application within Tomcat




-----Oorspronkelijk bericht-----
Van: Slobodanka Dimitrijevic [mailto:[EMAIL PROTECTED]
Verzonden: maandag 2 juni 2008 11:24
Aan: users@tomcat.apache.org
Onderwerp: How to run own java application within Tomcat

Hi,

I have an Java application that I want to run standalone but also from
Tomcat.

This java application has a java class that make use of axis2 to expose
methods of this class as web service methods.

What I want is the following:

Scenario 1:

If I run my Java application as standalone application axis web service
methods are not available.

Scenario 2:

If I run my Java application from Tomcat axis web service methods are
available.

=================

Slobodanka, its really just design architecture...

Your application is (Lib + Java Executable) and in TC its (Lib + Java Executable + Jax or Axis)

Sun have been trying to make this easier in Java6 see this artcle for example
http://java.sun.com/developer/technicalArticles/J2SE/jax_ws_2/

But Axis will work, the app will just have to carry the extra Axis classes so it compiles, and can run outside.

Then we having a little fun with a new thing called a POJO Application Server
And you could actually combine all three.
A PAS takes a full application and pops just the UI side out of browsers
Its a Tomcat tool.

So now you can really blow your customers away ;)
Web service.
Runs stand alone.
Or the app just jumps out of the browser.

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------






---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to