Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 14484 invoked from network); 2 Jun 2008 17:23:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 17:23:42 -0000 Received: (qmail 8513 invoked by uid 500); 2 Jun 2008 17:23:33 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 8488 invoked by uid 500); 2 Jun 2008 17:23:33 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 8477 invoked by uid 99); 2 Jun 2008 17:23:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 10:23:33 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [196.25.240.83] (HELO ctb-mesg-2-3.saix.net) (196.25.240.83) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 17:22:36 +0000 Received: from animal (dsl-243-86-157.telkomadsl.co.za [41.243.86.157]) by ctb-mesg-2-3.saix.net (Postfix) with SMTP id 8092E5BBF for ; Mon, 2 Jun 2008 19:22:47 +0200 (SAST) Message-ID: <007501c8c4d5$56caf980$0300000a@animal> From: "Johnny Kewl" To: "Tomcat Users List" References: Subject: Re: How to run own java application within Tomcat Date: Mon, 2 Jun 2008 19:23:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Antivirus: avast! (VPS 080602-0, 2008/06/02), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org ----- Original Message ----- From: "Slobodanka Dimitrijevic" To: "Tomcat Users List" Sent: Monday, June 02, 2008 11:26 AM Subject: How to run own java application within Tomcat -----Oorspronkelijk bericht----- Van: Slobodanka Dimitrijevic [mailto:sdimitrijevic@dirkzwager.com] 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: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org