Startup classes in J2EE

Discussions

General J2EE: Startup classes in J2EE

  1. Startup classes in J2EE (1 messages)

    Ok,
    what is J2EE stance on startup classes? I ask because I have a couple of situations:

    1) I would like to create a singlton object that can be accessed from stateless session beans.
    2) A montior class that will call another class and in turn an entity bean when an external event arrives (file arrive). Is this illegal?

    Any thoughts are much appeciated.

    Threaded Messages (1)

  2. Startup classes in J2EE[ Go to top ]

    There is no specific mention of Startup Classes in J2EE specs per se. Most of the app servers however come with this option with proprietary methods to configure them.

    Check this link for a similar thread.
    http://www.theserverside.com/discussion/thread.jsp?thread_id=10180