[jboss-user] [Clustering/JBoss] - Re: EJB to Remote EJB using injection in different partition
fabianignacio
do-not-reply at jboss.com
Mon Jun 11 13:50:21 EDT 2007
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#4053228
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053228
More information about the jboss-user
mailing list