5 Replies Latest reply on Feb 20, 2014 4:20 PM by wdfink

    How to call EJBs from another Wildfly instance - jboss-ejb-client.xml

    ofbizbrazil

      Hi all,

       

      I'm migrating my EJB projects from JBoss7.1.1 to Wildfly 8 Final.

       

      There's a tutorial that you can see explaining how to do via old version.

      http://www.mastertheboss.com/jboss-as-7/how-to-call-ejbs-from-another-jboss-as-7-instance

       

      Now, how to set this in Wildfly? Because there's no more outbound-socket-binding for EJB's. (Keeping in mind we use HTTP)

      Appreciate any help!

       

      <outbound-connections>

                      <remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb" username="ejbuser" security-realm="ejb-security-realm">

                          <properties>

                              <property name="SSL_ENABLED" value="false"/>

                              <property name="SASL_POLICY_NOANONYMOUS" value="false"/>

                              <property name="SASL_POLICY_NOPLAINTEXT" value="false"/>

                          </properties>

                      </remote-outbound-connection>

                  </outbound-connections>

       

      <outbound-socket-binding name="remote-ejb">
      <remote-destination host="serverx" port="9997"/>
      </outbound-socket-binding>

       

      Cheers,