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 protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
