ar
> Sent: Tuesday, July 16, 2002 11:56 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] How to register a class as a startup class in
> JBOSS3
>
>
> How do we use a mbean? Any starting points? I am new to JBOSS. Any help
> would be more than welcome.
>
> Th
7;
Subject: AW: [JBoss-user] How to register a class as a startup class in
JBOSS3
You could use an mbean for that purpose which would have the additional
advantage of being reinitializable when you cycle your application and
configurable from any (RMI/HTML/whatever) JXM-Adapter.
Statics are poo
44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] How to register a class as a startup class in
> JBOSS3
>
>
> I've reformatted the email a little because you seem to prefer top
> posting. The words are all still there :)
>
> Are you planning to restart
d without the use of
Servlet.
Thanks,
Saroj
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Simon
Stewart
Sent: Tuesday, July 16, 2002 7:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How to register a class as a startup class in
JBOSS3
I'v
:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. Juli 2002 14:40
An: [EMAIL PROTECTED]
Betreff: Re: [JBoss-user] How to register a class as a startup class in
JBOSS3
There is a generic way to do this with web applications in the 2.2
servlet spec and even a better way in 2.3.
In 2.2, you can just have a
I've reformatted the email a little because you seem to prefer top
posting. The words are all still there :)
Are you planning to restart that frequently? The singleton design
could still work quite nicely if you have a web tier and use (as
someone else suggested) one of your servlet's init() meth
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
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 the
There is a generic way to do this with web applications in the 2.2
servlet spec and even a better way in 2.3.
In 2.2, you can just have a servlet that calls your initializer in it's
init() method. Then, in web.xml, define the load-on-startup element.
That way, when your web app comes up, you
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.
Saro
10 matches
Mail list logo