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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...