Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 41042 invoked from network); 6 Feb 2008 18:09:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2008 18:09:42 -0000 Received: (qmail 79490 invoked by uid 500); 6 Feb 2008 18:09:22 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 79464 invoked by uid 500); 6 Feb 2008 18:09:22 -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 79449 invoked by uid 99); 6 Feb 2008 18:09:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 10:09:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.22.94.67] (HELO virtual.halosg.com) (72.22.94.67) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 18:08:53 +0000 Received: (qmail 18142 invoked from network); 6 Feb 2008 12:00:31 -0600 Received: from 63-227-55-166.hlrn.qwest.net (HELO ?192.168.0.32?) (63.227.55.166) by halosg.com with SMTP; 6 Feb 2008 12:00:31 -0600 Message-ID: <47A9F7AB.3050308@hanik.com> Date: Wed, 06 Feb 2008 11:08:43 -0700 From: Filip Hanik - Dev Lists User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Inter-context communication References: <47A9E92E.80100@ailis.de> <47A9EFC3.8000700@hanik.com> <47A9F187.5000007@ailis.de> In-Reply-To: <47A9F187.5000007@ailis.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Klaus Reimer wrote: > Filip Hanik - Dev Lists wrote: > >> why don't you just create a singleton object, and stuff it in >> common/lib(5.5) or lib(6.0) >> and any web app can access it >> > > That's fine if it's just a "connector"-like object (as I've described in > my mail). But having the WHOLE stuff which is going to be in contextA in > a single JAR which must be manually copied to the lib dir is not a nice > solution because hot deployment with Eclispe doesn't work then (As far > as I know it can only hot deploy web archives into tomcat). > > not sure why you would need to go down the route of putting everything into a single jar and copy it to lib. as you have it is just fine, except one would question why TestServiceImpl is not in the lib as well, do you need to hot deploy test service impl? Filip --------------------------------------------------------------------- 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