问题
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
I wanna achieve to run a Web Module (JSF) with existing server (EJB 2.1) running on JBoss-EAP-6.2.
Following are the ideas
- I can run JSF on JBoss-EAP-6.2 (possible?) that can communicate with EJB within the server
- Deploy JSF on wildfly and it communicate with EJB through JBoss-EAP-6.2
MORE / FINDINGS
- while deploying JSF on JBoss-6, I am getting blank page on opening, noting is shown
- Wildfly does not support CMP files of EJB 2.1
The Idea
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]
I want to reuse its server [EJB].
My idea is to use EJB 2.1 with JSF on Wildfly or deploy JSF to connect EJB on JBoss-EAP-6.2.
回答1:
- 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.
来源:https://stackoverflow.com/questions/44277030/running-ejb-2-1-on-wildfly-10