This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin 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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!