2 Replies Latest reply on Jun 21, 2007 7:51 AM by itsme

    Deployment descriptor alternative to @RemoteBinding.clientBi

    itsme

      Hi all,

      not sure this is the right place for this question, but I really need urgent help with that topic.
      We are having a swing client talking to ejb3s in a jboss behind a firewall. According to these demands I've setup the jboss as properly. Now I want to be able to remove the @RemoteBinding Annotation specifying the url the clients binds to talk with that ejb. My research so far led me to the conclusion that William DeCoste has done this issue for EJB3 RC9 FD (see http://jira.jboss.org/jira/browse/EJBTHREE-571).

      No I wonder how this jboss.xml configuration part looks like. Could anybody give me a hand?

      Regards Sandor

        • 1. Re: Deployment descriptor alternative to @RemoteBinding.clie
          wolfc

          Here is the jboss.xml from the ssladvanced unit test:

          <?xml version="1.0"?>
          <jboss
           xmlns="http://java.sun.com/xml/ns/javaee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
           http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
           version="3.0">
           <enterprise-beans>
           <session>
           <ejb-name>OverrideStatefulClusteredBean</ejb-name>
           <remote-binding>
           <jndi-name>OverrideStatefulClusteredSSL</jndi-name>
           <client-bind-url>sslsocket://0.0.0.0:3843</client-bind-url>
           </remote-binding>
           <remote-binding>
           <jndi-name>OverrideStatefulClusteredNormal</jndi-name>
           <client-bind-url>socket://0.0.0.0:3873</client-bind-url>
           </remote-binding>
           </session>
           </enterprise-beans>
          </jboss>


          • 2. Re: Deployment descriptor alternative to @RemoteBinding.clie
            itsme

            thx a lot, will try it asap.