Re: Start-up classes

2005-11-23 Thread Guglielmo . Lichtner
  cc:                 Subject:        Re: Start-up classes On Nov 23, 2005, at 12:14 PM, [EMAIL PROTECTED] wrote: > > We have a whole list of classes whose static initialization needs to > happen in > a specific order. If a thread tries to use any one of them before the > class

Re: Start-up classes

2005-11-23 Thread David Jencks
be great and might not be a lot of work. thanks david jencks David Jencks <[EMAIL PROTECTED]> 11/23/2005 12:05 PM Please respond to user                 To:       [EMAIL PROTECTED]         cc:                 Subject:        Re: Start-up classes On Nov 23, 2005, at 11:47 AM, [EM

Re: Start-up classes

2005-11-23 Thread Guglielmo . Lichtner
; 11/23/2005 12:05 PM Please respond to user                 To:        user@geronimo.apache.org         cc:                 Subject:        Re: Start-up classes On Nov 23, 2005, at 11:47 AM, [EMAIL PROTECTED] wrote: > > I am migrating an application from WebLogic to Geronimo. It consists

Re: Start-up classes

2005-11-23 Thread David Jencks
er <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/23/2005 11:57 AM Please respond to user                 To:       [EMAIL PROTECTED]         cc:                 Subject:        Re: Start-up classes You can use a GBean to run code during the application startup, but I'm not sure o

Re: Start-up classes

2005-11-23 Thread David Jencks
On Nov 23, 2005, at 11:47 AM, [EMAIL PROTECTED] 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

Re: Start-up classes

2005-11-23 Thread Guglielmo . Lichtner
Can I use dependencies to control deployment order, perhaps? Aaron Mulder <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/23/2005 11:57 AM Please respond to user                 To:        user@geronimo.apache.org         cc:                 Subject:        Re: Start-up classes

Re: Start-up classes

2005-11-23 Thread Aaron Mulder
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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am migrating an application from WebLogic to Ge

Start-up classes

2005-11-23 Thread Guglielmo . Lichtner
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