This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Initialization in EJB Project

 
YuenLian Wu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Geeks,

I am new to EJB technology, and I would like to ask if it's possible to init a java class while starting EJB project(wrapped by EAR) alone. Actually, I just want to init a utility class which will trigger the scheduler automatically while the server starts up every time. It's just like the "initialization" item in the web.xml(web project), however, I am not sure if there is anything similiar that can be applied to EJB project.


Myriads Thanks,


Transistor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic