2 Replies Latest reply on Nov 27, 2014 2:19 AM by bernd.koecke

    EJB RMI calls from JBossAS 7.x to WildFly and vice versa

    bernd.koecke

      At Red Hats booth at Devoxx Belgium two weeks ago, I asked if it is planned that an EJB on JBossAS 7.2 is able to call WildFly 8 or 9 and vice versa with RMI and TLS (SSL). I can't ask this at the WildFly BOF, because the time was over. I was told at the booth that this isn't planned and we should use REST or maybe SOAP for calls between major JBossAS/WildFly versions.

       

      I'm a little bit surprised, I thought that the jboss-ejb3-client was build to provide some kind of RMI compatibility. I understand that compatibility with EJB-RMI calls can't be provided for an indefinite time and version range. But I would like to know if it's really so strict, that EJB-RMI calls are only supported between server of the same major version. We have a number of JBossAS 7.2 based JEE 6 runtimes installed and we think about an upgrade to JEE 7, based on WildFly 8, 9 or newer and we will have both server types running in parallel for some time. Depending on your statement we may have to put more effort into moving our APIs to REST or into providing a new server package faster. I could do some tests with WildFly 9 but I think we need longer than Q1/2015, the estimated WildFly 9 release. That's the reason why I'm asking for your general thoughts about EJB-RMI call compatibility.

       

      Thanks a lot for your help! Best regards,

      Bernd

        • 1. Re: EJB RMI calls from JBossAS 7.x to WildFly and vice versa
          ctomc

          No real reason why this wouldn't work.

           

          All you need to do is to add remoting connector for ejb3 and remoting subsystem, by default in 8+ we ship with http-remoting configuration by default.

          Basicly take a look how the 7.x has remoting configuration and you copy just that part to 8.x standalone.xml and you should be fine.

           

           

          Other option would be that you upgrade ejb client libs to gain support for http-remoting. Either way there is no reason why it shouldn't work.

          • 2. Re: EJB RMI calls from JBossAS 7.x to WildFly and vice versa
            bernd.koecke

            Hello Tomaz,

             

            that are really good news. This makes it much easier for us to move to WildFly and JEE7.

             

            Thanks a lot for your time! Best regards

            Bernd