Well
I think this functionality doesn't work on separated server.
The only information I could get is in the Trailblazer demo:
JBoss EJB 3.0 and Extensions
7 Inject Service Objects
Please note that EJB 3.0 dependency injection annotations only works in EJB objects -- not
generic POJOs. For instance, you cannot use the dependency injection annotations in a
servlet to obtain session bean objects. In addition, EJB 3.0 dependency injection only
works in the local JNDI. Hence you cannot inject objects from remote servers.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053228#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...