Code Monkey home page Code Monkey logo

jboss-as-legacy's Introduction

jboss-as-legacy-ejb3

#Legacy EJB3 extension

The full documentation is at https://mojo.redhat.com/docs/DOC-928901

EAP5 used a different naming, ejb3 implementation and remote protocols than EAP7. Thus when you want to interact with EAP7 from an EAP5 client (or server) you are confronted with a lot of issues.

One solution would be to upgrade your client to EAP7, but sometimes this is not as simple as it seems.

For these cases we have developed a set of extensions for seamless integration of legacy clients with EAP7 and above.

#Full configuration example

<extensions>  
...  
    <extension module="org.jboss.legacy.jnp"/>
    <extension module="org.jboss.legacy.ejb3.connector"/>
    <extension module="org.jboss.legacy.ejb3.proxy"/>
    <extension module="org.jboss.legacy.ejb3.bridge"/>
</extensions>  
...  
<subsystem xmlns="urn:jboss:domain:legacy-jnp:1.0">  
  <jnp-server/>  
  <jnp-connector socket-binding="jnp" rmi-socket-binding="rmi-jnp" />
</subsystem>
<subsystem xmlns="urn:jboss:domain:legacy-connector:1.0">
    <remoting socket-binding="remoting-socket-binding"/>
</subsystem>
<subsystem xmlns="urn:jboss:domain:legacy-ejb3:1.0">
    <ejb3-registrar/>
</subsystem>
<subsystem xmlns="urn:jboss:domain:legacy-ejb3-bridge:1.0"/>
 ...  
<socket-binding-group>  
  ...  
  <socket-binding name="jnp" port="5599" interface="jnp"/>  
  <socket-binding name="rmi-jnp" port="1099" interface="jnp"/>
  <socket-binding name="remoting-socket-binding" port="4873"/>
  ...  
</socket-binding-group> 

NOTE: jnp-connector is capable of using single IP/port pair - the rmi-socket-binding is not mandatory, it can be configured as follows:

#Build

##Simple build

Run build.sh

##Build and Test

Download a zip archive of EAP 7.x (at least).

Run build.sh -Djbossas.eap.zip=/path to archive/jboss-eap-7.0.0.zip

#Build and deploy

Download and install EAP 7.x (at least).

Define the environment variable $JBOSS_HOME pointing towards your EAP7 installation.

Run deploy.sh

Define your configuration in the EAP7 server.

#Installation

Download the zip or tar.gz archive of the extension.

Unarchive it in the EAP7 installation directory.

Define your configuration in the EAP7 server.

jboss-as-legacy's People

Contributors

baranowb avatar ehsavoie avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.