Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3 Injection - how to Inject it into struts 2 Action?  RSS feed

 
Dejan Mratinkovic
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have already posted this question on Struts forum, but no response. Do EJB people know more about it?

Please check the original question on:

http://www.coderanch.com/t/449367/Struts/EJB-Injection-Inject-it-into#2000117

Thanks.
 
kong song
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can download the plugin at http://code.google.com/p/struts2ejb3-jboss-plugin/
but this is only for jboss AS, the source code is easy to understand,
you can use it in Struts2's action ,interceptor...

you need to config the struts.xml to set globle interceptor:com.opensymphony.xwork2.ejb3plugin.InjectEJBInterceptor


good luck!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!