File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Initialization in EJB Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Initialization in EJB Project " Watch "Initialization in EJB Project " New topic

Initialization in EJB Project

YuenLian Wu
Ranch Hand

Joined: Nov 16, 2005
Posts: 73
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,

wood burning stoves
subject: Initialization in EJB Project
It's not a secret anymore!