• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

start up class upon ear deployment weblogic

 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic