4 Replies Latest reply on Aug 8, 2007 4:19 AM by bmaras

    EJB3 remote client

    bendis

      Hi,

      I am writing a remote EJB3 client and I wonder if there are some client-only EJB3 libraries (something like JARs in $JBOSS_HOME/client directory).

      In addition to jbosall-client.jar I must add jboss-aop-jdk50.jar, jboss-aspect-library-jdk50.jar, jboss-ejb3.jar, jboss-remoting.jar, commons-httpclient.jar and javax.servlet.jar. These libraries are quite big and there are probably a lot of useless stuff in them (for a client).

      It just would be nice to have some single jboss-ejb3-client.jar :-)

      Another question: Could it be possible to run an EJB3 client on Java 1.4?

      Bendis

        • 1. Re: EJB3 remote client
          kaobe

          Hi out there,

          I found this thread searching for solution to the problem, that I have to run a client on a 1.4.2 JVM, and this client has to connect to a JBoss 4.0.3 with EJB3 and Java EE 5.
          Is there a possibility to get this to work?
          I tried retroweaving my classes, this works fine, but is no solution for JBoss classes (jboss-aspect-...jar, jboss-ejb3.jar and jbossall-client.jar), because then I would get an InvalidClassException on the client.
          Are there 1.4 compatible proxies and client-libs to connect a 1.4 client to a 5.0 server?

          Thanks for your help.

          Peter

          • 2. Re: EJB3 remote client
            nickthegreat

             


            Is there a possibility to get this to work?


            no.


            • 3. Re: EJB3 remote client
              gareth.mahon

              I would also love to hear the answer to this one.

              • 4. Re: EJB3 remote client
                bmaras

                I managed to generate a client jar to call remote EJB3 from a JVM 1.4 client, at least in my case (Session Stateless, JBoss 4.0.3SP1 + EJB3 RC6)
                I'd like to have your feedback on the way I did it.

                See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115520