Yes, It is one of the way. Thanks for suggesting this alternative.

But, If we need to do some activity like File Reading/ Writing /Network
calls using sockets then we may need a no. of classes to execute before
we make the app. Up. It asks for Startup classes.

Thanks,
Saroj

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Simon
Stewart
Sent: Tuesday, July 16, 2002 7:18 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How to register a class as a startup class in
JBOSS3


On Tue, Jul 16, 2002 at 05:29:05PM +0530, Saroj Kumar wrote:
> Hi All,
> 
> I want to register a class as startup class in JBOSS3. This class
should
> be loaded in memory when server is started. 
> 
> This class reads some properties and loads them in the memory. Other
> classes need to access these variables using ClassName.Method Names().
> 
> Please suggest me a way.

Why not just use a singleton to load and get the variables? That's how
I tend to handle situations like that.

Cheers,

Simon

-- 
I thought we were not going to call people (or their ideas) dumb
anymore.  I agree that is is a dumb idea, but we should be nicer.
    --- Dain to marcf


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to