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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jerrywwalker% 40gmail.com

This email sent to [EMAIL PROTECTED]


--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial Strength Internet Enabled Systems

    [EMAIL PROTECTED]
    203 278-4085        office



_______________________________________________
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]

Reply via email to