Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Application event listener?

 
Mateusz Moroz
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am writing an application (deployed on OC4J), and I have to write a thread, that will connect to the database soon after it starts. The problem is I didn't find anything like listeners, that are called on that event.

Do any master (or newbie ) of EJB knows, how to call an EJB method when the application starts?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!