ApplicationDidFinishLaunchingNotification Problem
ApplicationDidFinishLaunchingNotification Problem
- Subject: ApplicationDidFinishLaunchingNotification Problem
- From: Aleksey Novicov <email@hidden>
- Date: Tue, 8 Apr 2008 09:06:46 -0700
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden