This content has been marked as final.
Show 2 replies
-
1. Re: Remove EJB-ref from old applications ?
cfang Sep 5, 2012 10:52 AM (in response to developer251)yes, you can replace ejb-ref or ejb-local-ref elements with @EJB or @Inject, but in most cases, it's not worth the risk and efforts.
-
2. Re: Remove EJB-ref from old applications ?
ochaloup Sep 6, 2012 8:55 AM (in response to developer251)It should work both and it's up to you what way you'll choose.
Just a note - you'll need to change the jndi-name properly to work with JBoss 7.