[jboss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi

J0Ke do-not-reply at jboss.com
Tue Jul 11 16:57:49 EDT 2006


"J0Ke" wrote : "PeterJ" wrote : Did you try:
  |   | 
  |   | SimpleEJB sessEJBTest = (SimpleEJB)context.lookup("SimpleEJBBean/remote");
  |   | 
  |   | The RemoteBinding annotation is in client/jboss-annotations-ejb3.jar
  | yes this works if the JAR is not in EAR...
  | becouse then the JNDIName of the APplicaiton is present not the JNDIName of the EJB dont know why
  | 10x 10x THANKSSS thanks a lot 
  | if you come to Bulgaria call for bear :)
  | 

btw the code is 
SimpleEJB sessEJBTest = (SimpleEJB)context.lookup("SimpleEJB/remote");

not SimpleEJBBean/remote and yes it works :) 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957147#3957147

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957147



More information about the jboss-user mailing list