在Wildfly 10上运行EJB 2.1 [英] Running EJB 2.1 on Wildfly 10
本文介绍了在Wildfly 10上运行EJB 2.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想用Wildfly-10 AS
运行EJB 2.1
我有一个在jBoss-EAP-6.2
上运行的服务器
以下是配置xml文件
I want to run EJB 2.1
with Wildfly-10 AS
I have a server running on jBoss-EAP-6.2
Following are the configuration xml files
我想要实现在JBoss-EAP-6.2上运行的现有服务器(EJB 2.1)上运行Web模块(JSF).
以下是想法
- 我可以在可以与服务器内的EJB通信的JBoss-EAP-6.2(可能吗?)上运行JSF
- 在wildfly上部署JSF,并通过JBoss-EAP-6.2与EJB通信
更多/发现
- 在JBoss-6上部署JSF时,打开时出现空白页面,显示提示
- Wildfly不支持EJB 2.1的CMP文件
想法
我们有一个运行在JDK 1.7,EJB 2.1,JBoss-EAP-6.2上的基于桌面的[swing]应用程序.我想启用/实现其Web模块[JSF]
We have a desktop based [swing] application running on JDK 1.7, EJB 2.1, JBoss-EAP-6.2. I want to enable/implement its web module [JSF]
我想重用其服务器[EJB].
I want to reuse its server [EJB].
我的想法是在Wildfly上将EJB 2.1与JSF一起使用,或者在JBoss-EAP-6.2上部署JSF来连接EJB.
My idea is to use EJB 2.1 with JSF on Wildfly or deploy JSF to connect EJB on JBoss-EAP-6.2.
推荐答案
- 尝试从
EJB2.1
迁移到新的EJB3.x
.我知道这确实很困难,但是进一步扩展此应用程序会更容易.然后,您将可以轻松地在WildFly 10
中的JSF
上编写Web模块. - 启动
WildFly 10
的新服务器实例,并尝试使用其中的远程EJB2.x
接口访问业务逻辑.然后使用它来构建您的Web模块. - 在
jBoss-EAP
的EJB
顶部开发REST
门面,然后按需要使用它. - 开始使用新技术从头开始写作.
- Try to migrate from
EJB2.1
to newEJB3.x
. I understand that it will be really a hard way, but it will be easier to extend this application further. Then you will be able to easily write your web module onJSF
withinWildFly 10
. - Start new server instance of
WildFly 10
and try to use remoteEJB2.x
interfaces within it to access business logic. And then use it to build your web module. - Develop
REST
facade on top of yourEJB
onjBoss-EAP
and then use it the way you want it. - Start writing from scratch with new technologies.
这篇关于在Wildfly 10上运行EJB 2.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文