Hi Ferry,
From what i have read so far, EJB 3.0 is not yet fully supported in AS
4.0.5 or 4.2.
In 4.2 , we may still use it as:
@EJB(name="java:comp/env/ejb/MyBeanLocal")
private MyBeanLocal myBean;
This i have got from other forms posted in here only.
But AS 5.00 Beta version should have @EJB annotation working in the web layer as well,
though i haven't tried so far.
Mustafa , i had the same problem as yours. I am using AS 4.0.5. I used the following and
it worked.
MyLocalIfc bean = (new InitialContext()).lookup("myEAR/MyremoteBean/remote");
Regards,
Ruchika
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050575#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...