"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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to