Maria Luisa Della Vedova [http://community.jboss.org/people/mldv] replied to the discussion
"how to deploy a service pojo depending on ejb timer" To view the discussion, visit: http://community.jboss.org/message/550357#550357 -------------------------------------------------------------- on line 39 there is a call to the ejb method for the creation of the timer (ctx.getTimerService().createTimer) with the lookup of the EJB the same code give me no problem. @Service @Local(MyInterfaceService.*class*) @Depends("jboss.j2ee:ear=earname.ear,jar=jarname.jar,name=TheTimerBean,service=EB3") *public* *class* MyService *implements* MyInterfaceService { @EJB *private* ITimer myEJBTimer; @Override *public* *void* create() *throws* Exception { line 39 myEJBTimer.attiva(); } } thanks -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/550357#550357] Start a new discussion in EJB 3.0 at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
