Hi,
You can use servlet for start-up task. See web.xml.html load-on-startup tag
description.
- Original Message -
From: S.Badrinarayanan [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 11:58 AM
Subject: Running a Class at Server Startup
Hi
Is it
Title: SV: Running a Class at Server Startup
Well,
Magnus, that is a constructive suggestion, but what if he wanted to do something
which a servlet is restricted from doing? Is there a way to simply startup a
regular java application allong with Orion?
Randahl
-Original
Yeah, you can,
Adnd on a second note, you can configure your java module that is
defined to start autmatically in orion-application.xml (under
application-deployments and your Application). Then in that very
module's META-INF's directory under your Applciation's tree you can adsd
the class you
-Interest
Subject: RE: Running a Class at Server Startup
Well, Magnus, that is a constructive suggestion, but what if he wanted to do
something which a servlet is restricted from doing? Is there a way to simply
startup a regular java application allong with Orion?
Randahl
-Original Message
Or you can use an application client component and set the autostart=true
(see orion-application-client.xml).
Florin
- Original Message -
From: S.Badrinarayanan [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 9:59 AM
Subject: Running a Class at Server