I won't be able to debug the
webapps from within my IDE anymore since I am avoiding Eclipse's deployment
mechanisms.
Original-Nachricht
Datum: Mon, 18 Jun 2007 15:40:36 +0200
Von: "Johnny Kewl" <[EMAIL PROTECTED]>
An: "Tomcat Users List"
t;Tomcat Users List"
Sent: Monday, June 18, 2007 6:08 PM
Subject: Re: Share one singleton across webapps
Kevin, I dont know Eclipse,
But it sound very much the same as what Netbeans does.
ie it will also give every web app its own library.
Being able to share, is sometimes handy, its an
| From: Kevin Wilhelm [mailto:[EMAIL PROTECTED]
| Sent: Monday, 18 June, 2007 08:59
|
| Should I use Ant for deploying then? But I won't be able to debug
| the webapps from within my IDE anymore since I am avoiding Eclipse's
| deployment mechanisms.
You should still be able to use Eclipse, just m
Von: "Johnny Kewl" <[EMAIL PROTECTED]>
An: "Tomcat Users List"
Betreff: Re: Share one singleton across webapps
The typical form is like this
public class SingletonObject
{
private SingletonObject(){}
public static SingletonObject getSingletonObject()
shared lib. Fantastic!
By the way, what means "UAT and QA jars"?
Original-Nachricht
Datum: Mon, 18 Jun 2007 10:11:58 -0400
Von: "Martin Gainty" <[EMAIL PROTECTED]>
An: "Tomcat Users List"
Betreff: Re: Share one singleton across webapps
&g
15:40:36 +0200
Von: "Johnny Kewl" <[EMAIL PROTECTED]>
An: "Tomcat Users List"
Betreff: Re: Share one singleton across webapps
The typical form is like this
public class SingletonObject
{
private SingletonObject(){}
public static SingletonObject getSingletonObje
uot;Tomcat Users List"
Betreff: Re: Share one singleton across webapps
>
> The typical form is like this
>
> public class SingletonObject
> {
> private SingletonObject(){}
>
> public static SingletonObject getSingletonObject()
> {
> if
The typical form is like this
public class SingletonObject
{
private SingletonObject(){}
public static SingletonObject getSingletonObject()
{
if (ref == null)
// it's ok, we can call this constructor
ref = new SingletonObject();
return ref;
}
private
> From: Kevin Wilhelm [mailto:[EMAIL PROTECTED]
> Subject: Share one singleton across webapps
>
> There has to be a way to let the first webapp instantiate the
> singleton and set some property so that the second webapp can
> use the singleton and read the property. How do I achieve this?
The c