[jboss-user] [EJB3] - Re: ejb3 over http

Kobi Ianko do-not-reply at jboss.com
Thu Apr 21 09:53:37 EDT 2011


Kobi Ianko [http://community.jboss.org/people/kobiianko] created the discussion

"Re: ejb3 over http"

To view the discussion, visit: http://community.jboss.org/message/601442#601442

--------------------------------------------------------------
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
[http://community.jboss.org/message/601442#601442]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110421/39431fbe/attachment.html 


More information about the jboss-user mailing list