This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes start up class upon ear deployment weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "start up class upon ear deployment weblogic" Watch "start up class upon ear deployment weblogic" New topic
Author

start up class upon ear deployment weblogic

tapeshwar sharma
Ranch Hand

Joined: Mar 10, 2006
Posts: 245
Hi,
I've been given a task to call a startup class when a application ear is delpoyed.
However, there are following constraints :
1) Do not modify the config.xml.The startup class provided by administrative console/config.xml will not serve.
2)There should be no need to create a war file.Meaning that the old method of using Servlet <load-on-start-up> is also prohibited.

Again, no T3StartupDef, no jar files in the classpath, and no servlet or war files.
Phew!..can't some real Java Guru read this topic and say whether its possible or not ?
regards,
Prashant
badri nath
Ranch Hand

Joined: Dec 21, 2005
Posts: 57
If you are working with EJB's then you have a way with EJB's to be created while application is deployed. So can you try think some thing in that way
Rejeev Divakaran
Greenhorn

Joined: Aug 12, 2007
Posts: 27
WebLogic provides application lifecycle listeners which are configured in weblogic-application.xml. Using application lifecycle listener has callback methods for application startup. Please refer the following link for details.
http://edocs.bea.com/wls/docs90/programming/lifecycle.html


Regards,<br />Rejeev<br />Blog: <a href="http://rejeev.blogspot.com/" target="_blank" rel="nofollow">http://rejeev.blogspot.com/</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: start up class upon ear deployment weblogic
 
Similar Threads
how to merge war file and ear file?
meaning of deployment
Servlet As EJB Client
start up class upon ear deployment weblogic
Servlet 2.3 Specification contradiction ?