There is a handy notification in WOApplication called ApplicationDidFinishLaunchingNotification for which you can register an observer. In fact, this is what Wonder uses for ERXApplication's didFinishLaunching().

However, I've noticed that when when building for deployment as a servlet (using Leopard Server & Tomcat), no observers for ApplicationDidFinishLaunchingNotification get called! If I deploy as a .woa it works fine, but as a servlet it does not. I've reduced it to a very simple test case and will file a bug with Apple, but I just wanted to find out if anyone else has seen this problem?

Is there a recommended alternative for performing one time application startup batch operations other than in the constructor or using ApplicationDidFinishLaunchingNotification? I guess there is always the request-response loop...

Thanks,
Aleksey
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to