This may be an obscure question... but I am hoping someone has the answer.
I am currently porting a startup class from weblogic 8.1 to weblogic 9.0. Unfortunately, the T3StartupDef class, the class that startup classes extend from is deprecated in Weblogic 9.0.
I am pretty sure this will still work, but I would like to do it the correct way. Can someone point me to a link on the correct way to develop startup classes for 9.0. When I do a search on BEA, all I get is a discussion on the T3StartupDef class, and how it works, and how it is deprecated...
As an FYI... I did finish porting the startup class from WL 8.1 to WL 9.0. Most of the changes had to do with WL 9.0 support of JMX 1.2 instead of JMX 1.0 -- and Weblogic finally standardizing on JMX for their mbean server instead of going through their home interface.
Unfortunately, I never did find the replacement for the startup class. I am now thinking that the concept of a startup class may be deprecated.
The only way I've found to implement startup classes in an application server-independent way is with a startup servlet. Write your startup class to have a main() method instead of implementing T3StartupDef and call that from a servlet's init() method. You may also want to do a clean shutdown in the sevlet's destroy() method. In your web.xml, set load-on-startup=1 for this servlet. You can load any configuration from a properties file in the CLASSPATH.
Let me know if you have any questions. We currently have a JMX server running this way, and it works very well.