在Wildfly 10上运行EJB 2.1 [英] Running EJB 2.1 on Wildfly 10

查看:55
本文介绍了在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).

以下是想法

  1. 我可以在可以与服务器内的EJB通信的JBoss-EAP-6.2(可能吗?)上运行JSF
  2. 在wildfly上部署JSF,并通过JBoss-EAP-6.2与EJB通信

更多/发现

  1. 在JBoss-6上部署JSF时,打开时出现空白页面,显示提示
  2. 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.

推荐答案

  1. 尝试从EJB2.1迁移到新的EJB3.x.我知道这确实很困难,但是进一步扩展此应用程序会更容易.然后,您将可以轻松地在WildFly 10中的JSF上编写Web模块.
  2. 启动WildFly 10的新服务器实例,并尝试使用其中的远程EJB2.x接口访问业务逻辑.然后使用它来构建您的Web模块.
  3. jBoss-EAPEJB顶部开发REST门面,然后按需要使用它.
  4. 开始使用新技术从头开始写作.
  1. Try to migrate from EJB2.1 to new EJB3.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 on JSF within WildFly 10.
  2. Start new server instance of WildFly 10 and try to use remote EJB2.x interfaces within it to access business logic. And then use it to build your web module.
  3. Develop REST facade on top of your EJB on jBoss-EAP and then use it the way you want it.
  4. Start writing from scratch with new technologies.

这篇关于在Wildfly 10上运行EJB 2.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆