geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: Start-up classes
Date Wed, 23 Nov 2005 19:57:02 GMT
You can use a GBean to run code during the application startup, but
I'm not sure off the top of my head whether that will necessarily be
run before EJBs become available to clients.

Aaron

On 11/23/05, Guglielmo.Lichtner@instinet.com
<Guglielmo.Lichtner@instinet.com> wrote:
> I am migrating an application from WebLogic to Geronimo. It consists of EJBs
> but it also has a "startup" class,
> meaning a class whose main() method has to be invoked before the ejbs are
> deployed. Unfortunately this class
> performs a huge initialization procedure during class initialization, and it
> really has to be done before anything else.
>
> In WLS there is a <startup> tag in config.xml, and a similar tag in
> weblogic-application.xml. To do the same in Geronimo
> I am guessing that I can declare a <gbean> inside geronimo-application.xml.
> Is that correct?
>
> Thanks
> Guglielmo
>
> P.S. Your server looks very clean. Thanks for all the work.

Mime
View raw message