Interview Questions

How do I use a startup class to initialize and later reference JMS objects?

BEA WebLogic Questions and Answers


(Continued from previous question...)

How do I use a startup class to initialize and later reference JMS objects?

You can use a shutdown class that does something like the following: JMSobject WLSobject = null; try { WLSobject = JMSStartUp.getJMSobject(); WLSobject.JMSCleanup(); } catch(Exception e) {} Servlets can provide a nice solution to provide both initialization and cleanup.

Other Interview Questions