[jboss-user] [EJB3] - Re: @Schedule on Stateless EJB 3.1 on JBoss 6.0 Final
Roger Lee
do-not-reply at jboss.com
Tue Aug 23 09:10:18 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110823/9fd755b1/attachment-0001.html
More information about the jboss-user
mailing list