[jboss-user] [Beginner's Corner] - Re: 5.1.0.GA - Problems with Dependency Injection

jaikiran pai do-not-reply at jboss.com
Tue Apr 12 09:24:40 EDT 2011


jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: 5.1.0.GA - Problems with Dependency Injection"

To view the discussion, visit: http://community.jboss.org/message/599531#599531

--------------------------------------------------------------
> Pasquale Imbemba wrote:
> 
> Hi Jaikiran,
> 
> I've followed your posts about similar discussions around here and JavaRanch; I wasn't quite sure if my problem was due to the same reason. Now it is, thank you. :) 
> 
> 
> 

You're welcome  :) 


>  
> So, DI works only between EARs, not JARs. That is, am I able to use DI only inside one EAR or also between different EARs?
> 
> 
@EJB Injection currently works within a single application. So it +won't+ work between different EARs (or different independently deployed jars).
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/599531#599531]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110412/6be5cbf3/attachment-0001.html 


More information about the jboss-user mailing list