This content has been marked as final.
Show 2 replies
-
1. Re: How to reference an EJB from code in 2 separate jars
istvan.benedek Aug 23, 2010 6:49 PM (in response to borfgordon)I have to admit I don't understand why you try to put the SSB into both jars...
-
2. Re: How to reference an EJB from code in 2 separate jars
borfgordon Aug 24, 2010 8:57 AM (in response to istvan.benedek)Well the reason was this was inherited code.
So lets say I only want to define the EJB in ONE of the jars and call it remotely from the JAR2.jar.
I tried @EJB TheOtherEJB remoteEjb
And this did not work, I got an error about IllegalArgumentException trying to assign some proxy to remoteEjb
Ideas? Or does @EJB not work for remote Ejbs?