[jboss-user] [Beginner's Corner] New message: "Re: Question about adding a folder with classes to the CLASSPATH"

Peter Johnson do-not-reply at jboss.com
Mon Feb 1 17:42:12 EST 2010


User development,

A new message was posted in the thread "Question about adding a folder with classes to the CLASSPATH":

http://community.jboss.org/message/523494#523494

Author  : Peter Johnson
Profile : http://community.jboss.org/people/peterj

Message:
--------------------------------------------------------------
So are you saying that you are maintaining these statistics in static variables, or that you are using singletons? If so, then you will need to inlcude the common classes in each EAR and define a classloader repository for reach EAR.
 
The other otpion would be to not maintain any data in static or singleton object - then each EAR would have its own set of data objects maintining their own sets of data even if the command classes were packed in a JAR and placed in common/lib.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/523494#523494




More information about the jboss-user mailing list