JavaEE 6 和两个 EJB 之间通过 @Remote 的连接
我有两个EJB 一个 EJB 具有远程接口 第二个 EJB 尝试通过远程连接到一个 EJB。
在 Geronimo EE 5 下工作正常,但在 Geronimo EE6 下失败
https://issues.apache.org/jira /浏览/GERONIMO-6232 https://issues.apache.org/jira/secure/attachment/12507168/ger3test.zip
第二个 EJB 的部署计划依赖于一个 EJB
<sys:dependencies>
<sys:dependency>
<sys:groupId>m1k0.sandbox.ger3test</sys:groupId>
<sys:artifactId>ger3testejb1</sys:artifactId>
</sys:dependency>
</sys:dependencies>
部署后出现错误 java.lang.NoClassDefFoundError: Lm1k0/sandbox/ger3test/ger3testejb1/NewSession1Remote
如何在 JavaEE6 中创建两个 EJB 之间的通信? 是我的错吗?也许是 OpenEJB?
I have two EJB
One EJB has Remote interface
Second EJB try to connect to One EJB by Remote.
Under Geronimo EE 5 works fine but Geronimo EE6 fails
https://issues.apache.org/jira/browse/GERONIMO-6232
https://issues.apache.org/jira/secure/attachment/12507168/ger3test.zip
Deployment plan for second EJB has dependency to one EJB
<sys:dependencies>
<sys:dependency>
<sys:groupId>m1k0.sandbox.ger3test</sys:groupId>
<sys:artifactId>ger3testejb1</sys:artifactId>
</sys:dependency>
</sys:dependencies>
After deploy I get error
java.lang.NoClassDefFoundError: Lm1k0/sandbox/ger3test/ger3testejb1/NewSession1Remote
How to create communication between two EJB in JavaEE6?
Is it my fault? Maybe OpenEJB?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论