Hi Guys-
I am using
JBoss AS 7.1.1 and would like to have a function execute when my EAR file starts up, to do some housekeeping and initialization and so on. From what I've been reading, this code should work:
I am expecting the message "Starting Up!" to display on the console, but this doesn't happen.
I do see this line in the console:
02:15:36,101 INFO [org.jboss.seam.Component] (MSC service
thread 1-1) Component: orders, scope: APPLICATION, type: SINGLETON_SESSION_BEAN, class: com.innitech.insitu.OrdersEngine, JNDI:
java:app/insitu-ejb/OrdersEngine
I don't know if there's any setting or library I need to configure. I am using JBoss Developer Studio Version: 6.0.0.GA.
Any hints appreciated!
-Derrick