Sarz
Sarz

Reputation: 1976

Running EJB 2.1 on Wildfly 10

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

  1. I can run JSF on JBoss-EAP-6.2 (possible?) that can communicate with EJB within the server
  2. Deploy JSF on wildfly and it communicate with EJB through JBoss-EAP-6.2

MORE / FINDINGS

  1. while deploying JSF on JBoss-6, I am getting blank page on opening, noting is shown
  2. 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.

Upvotes: 0

Views: 1714

Answers (1)

Izbassar Tolegen
Izbassar Tolegen

Reputation: 2152

  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.

Upvotes: 1

Related Questions