This content has been marked as final.
Show 1 reply
-
1. Re: Integration Testing for apps targeted for WebSphere
orr94 Dec 7, 2010 3:15 PM (in response to orr94)One more note: I tried using the org.jboss.ejb3.annotation.LocalBinding annotation to indicate to Embedded JBoss that I wanted it to use a different name, like this:
@Name("ejbName") @JndiName("ejblocal:package.EjbName") @LocalBinding(jndiBinding = "ejblocal:package.EjbName") public class EjbNameBean implements EjbName ...
It worked in Embedded JBoss, but broke when deployed to WAS. I get
java.lang.ClassNotFoundException: org.jboss.ejb3.annotation.LocalBinding
, which I COULD fix by putting jboss-embedded-all.jar in my EAR. That doesn't seem like a good idea, though...