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&...]