JBoss Community

how to deploy a service pojo depending on ejb timer

reply from jaikiran pai in EJB 3.0 - View the full discussion
@Depends(“EJB Global JNDI name”)

The value of @Depends is incorrect. It should be the MBean name of the EJB container on which you want to depend. For example:

 

@Depends("jboss.j2ee:ear=ear-name.ear,jar=jarname.jar,name=TheTimerBean,service=EJB3")

Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community