JBoss Community

Re: 5.1.0.GA - Problems with Dependency Injection

created by jaikiran pai in Beginner's Corner - View the full discussion

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

Start a new discussion in Beginner's Corner at Community