Re: WOApplication.application() ... ?
Re: WOApplication.application() ... ?
- Subject: Re: WOApplication.application() ... ?
- From: Mike Schrag <email@hidden>
- Date: Tue, 29 Jun 2010 15:21:41 -0400
every war runs inside of its own classloader in an ejb container, so each has its own set of static fields. that is as long as you don't put your framework and app jars in the system classpath.
On Jun 29, 2010, at 3:15 PM, Farrukh Ijaz wrote:
> Hi,
>
> Question.
>
> When I run my WO Application on WebObjects Application Server (JavaMonitor + wotaskd), it runs inside it's own Java process. So technically there is only one Application class running inside the JVM. If I call WOApplication.application() method, it shall give me the instance of the application.
>
> What if two applications (Application1 and Application2) are running on Tomcat as SSDD / WAR. Both Application1 and Application2 extend WOApplication. What shall happen? If I call WOApplication.application() inside Application1's code or Application2's code? Because now both applications are running inside a single Java process.
>
> Farrukh _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden