"rnicholson10" wrote :
| 1) How do I put SourceBridgeCheckTimerBean into JNDI with a common name so no matter
what EAR it resides in I can call it in a common way (not another EJB, I'm calling it
in a POJO so have to do a JNDI lookup)?
|
You can override the default JNDI names by using the @RemoteBinding or the @LocalBinding
annotations. You can even use the jboss.xml to override these. See these tutorials:
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/...
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/...
"rnicholson10" wrote :
| I would need to recompile phase-input.jar to change this. In fact, I would need to
recompile it for every different EAR I want to add it to. ...
|
| 2) Similarly, how do I depend on my timer bean in the Service bean no matter what EAR
file it's part of?
|
How about adding the dependency through the jboss.xml instead of the annotations?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240598#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...