Re: Refresh
Re: Refresh
- Subject: Re: Refresh
- From: "Jerry W. Walker" <email@hidden>
- Date: Tue, 27 Feb 2007 11:49:31 -0500
Hi, Mark,
On Feb 27, 2007, at 11:33 AM, Mark Ritchie wrote:
On 27-Feb-07, at 10:42 AM, Jerry W. Walker wrote:
So... has anyone any information on static variables in a class
shared between separate applications on the JVM if two
applications use that same class?
Static variables which were shared across separate application
instances would mean that we didn't need the
ERChangeNotificationJMS.framework :-)
Yeah, that was the first thing that came to mind, but I ignored it
since I realized that the ERChangeNotificationJMS.framework preceded
the JavaHotSpot technology which first offered multiple applications
in the same JVM.
According to Sun's Java documentation:
http://java.sun.com/j2se/1.5.0/docs/guide/vm/class-data-
sharing.html
the only classes that share data across processes in the JVM seem to
be those in the system jar file, rt.jar, so I guess I'm safe. :-)
In the case of a WOF app, starting two app instances would mean
that two Timer's would be running. Thus Robert's point about using
an external mechanism to do the scheduling.
Regards,
Mark
__
Mark Ritchie
Cocoa and WebObjects Developer
Diamond Lake Consulting Inc.
Toronto, Ontario, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial
Strength Internet Enabled Systems
email@hidden
203 278-4085 office
_______________________________________________
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
References: | |
| >Refresh (From: WIESEN Bruno <email@hidden>) |
| >Re: Refresh (From: Zak Burke <email@hidden>) |
| >Re: Refresh (From: Robert Walker <email@hidden>) |
| >Re: Refresh (From: Florijan Stamenkovic <email@hidden>) |
| >Re: Refresh (From: "Jerry W. Walker" <email@hidden>) |
| >Re: Refresh (From: Mark Ritchie <email@hidden>) |