Roger Lee [http://community.jboss.org/people/NOTiFY] created the discussion

"Re: @Schedule on Stateless EJB 3.1 on JBoss 6.0 Final"

To view the discussion, visit: http://community.jboss.org/message/622351#622351

--------------------------------------------------------------
Changed the Stateless Session bean to Singleton added annotations to my SB;

@Singleton
@StartUp

and modified the ejb-jar.xml

to be;

<session-type>Singleton<session-type>

and

<init-on-start-up>true<init-on-start-up>

the @Schedule

starts on JBoss start-up.

and prints my message to the JBoss log.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/622351#622351]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to