没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > struts2ejb3-jboss-plugin |
struts2ejb3-jboss-plugin
|
1 | 0 | 7 |
贡献者 | 讨论 | 代码提交 |
概述
Enables to inject EJB3 beans into xwork2 actions via annotations. For example:
@InjectEJB(name="UserSessionBean")
private UserSessionBeanIfc userSessionBean;It's loosely based on strut2ejb3 plugin http://code.google.com/p/struts2ejb3/ , added caching optimalizations so it will behave more efficiently during runtime.
At the moment it is specifically targeted at JBoss - updates will follow shortly so other app. servers will be supported.
configuration example:
changelog:
0.0.4
added optional 'appname' annotation element where you can specify the application name
(most usually ear name) - the EJB lookup is now done in both Global JNDI tree and also
in application specific tree (if appname specified)
创建时间:2014-05-06 17:31