With JBoss 4.0.5 you have to use a JNDI lookup from the web layer.

Suppose you have:

  | @Local
  | public interface MyLocalIfc
  | {
  |    ...
  | }
  | 

and


  | @Stateless
  | public class MyLocalBean implements MyLocalIfc
  | {
  |     ...
  | }
  | 

Then try:

  | MyLocalIfc bean = (new InitialContext()).lookup("myEAR/MyLocalBean/local");
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050309
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to