JBoss Instance Configuration to Support Deployed EJB Client Contexts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= =Relevance= * EAP 7.0.4 =Overview= This article describes the server-side configuration required to support deployed EJB client contexts, as declared in JBoss...")
 
Line 7: Line 7:
=Overview=
=Overview=


This article describes the server-side configuration required to support deployed EJB client contexts, as declared in [[JBoss-ejb-client.xml|jboss-ejb-client.xml]] deployment descriptors.
This article describes the server-side configuration required to support deployed EJB client contexts, as declared in [[Jboss-ejb-client.xml|jboss-ejb-client.xml]] deployment descriptors.
 


=Remoting Subsystem Configuration=
=Remoting Subsystem Configuration=

Revision as of 20:29, 24 March 2017

Internal

Relevance

  • EAP 7.0.4

Overview

This article describes the server-side configuration required to support deployed EJB client contexts, as declared in jboss-ejb-client.xml deployment descriptors.

Remoting Subsystem Configuration

This section describes

EAP 7 configuration:

<subsystem xmlns="urn:jboss:domain:remoting:3.0">
    ...
    <outbound-connections>
        <remote-outbound-connection name="remote-ejb-container-1" 
                                    outbound-socket-binding-ref="remote-ejb-container-socket-1" 
                                    username="ejb" 
                                    security-realm="ejb-security-realm" 
                                    protocol="http-remoting">
            <properties>
                <property name="SASL_POLICY_NOANONYMOUS" value="false"/>
                <property name="SSL_ENABLED" value="false"/>
            </properties>
        </remote-outbound-connection>
    </outbound-connections>
    ...    
</subsystem>

...

<socket-binding-group ...>
    <outbound-socket-binding name="remote-ejb-container-socket-1">
        <remote-destination host="localhost" port="8180"/>
    </outbound-socket-binding>
</socket-binding-group>

where remote-outbound-connection's "name" attribute should match the remoting-ejb-receiver's outbound-connection-ref declared in jboss-ejb-client.xml. For more details about EJB client contexts, see EJB client context. For more details about jboss-ejb-client.xml, the deployment descriptor that configures the EJB client context, and which requires the above configuration changes, see jboss-ejb-client.xml.