JBoss Community

Re: ejb3 over http

created by Kobi Ianko in EJB3 - View the full discussion

found the conf file I was looking for :)

check out the ejb3-connectors-jboss-beans.xml at the deploy dir,

I've set the invokerLocator to my own http servlet like so:

 

 

 

  <bean name="org.jboss.ejb3.RemotingConnector"

    class="org.jboss.remoting.transport.Connector">

 

 

    <property name="invokerLocator"><![CDATA[servlet://${jboss.bind.address}:80/unified-invoker/Ejb3ServerInvokerServlet/?dataType=invocation&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&return-exception=true&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]]></property>

    <property name="serverConfiguration">

      <inject bean="ServerConfiguration" />

    </property>

  </bean>

 

 

  <!-- Remoting Server Configuration -->

  <bean name="ServerConfiguration"

    class="org.jboss.remoting.ServerConfiguration">

    <property name="invocationHandlers">

      <map keyClass="java.lang.String" valueClass="java.lang.String">

        <entry>

          <key>AOP</key>

          <value>

            org.jboss.aspects.remoting.AOPRemotingInvocationHandler

          </value>

        </entry>

      </map>

    </property>

  </bean>

Reply to this message by going to Community

Start a new discussion in EJB3 at Community