GeeCON Prague 2014*
The moose likes Struts and the fly likes Struts2 - Dependency Injection inside the Struts2 Action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 - Dependency Injection inside the Struts2 Action class " Watch "Struts2 - Dependency Injection inside the Struts2 Action class " New topic
Author

Struts2 - Dependency Injection inside the Struts2 Action class

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am using Weblogic11g Application server .

I am trying to communicate with EJB from my execute Method of the Action class

Please let me know i am using Weblogic11g and struts2 will The injection @EJB will work inside the Actiion class ??


Save India From Corruption - Anna Hazare.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9303
    
  17

Ravi try to Search First as someone else might have had the same problem earlier so it might be already solved like here and here (only for jBoss)...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks Ankit . It was very useful .

But i am wondering why is it possible in JBOSS and why not in weblogic11??
 
GeeCON Prague 2014
 
subject: Struts2 - Dependency Injection inside the Struts2 Action class