4 Replies Latest reply on Mar 3, 2009 8:36 AM by jaikiran

    Dependencies for a remote client

    dberansky

      Hi,

      I'm adding remote EJB access to a website and am trying to come up with a list of dependencies required to remotely lookup a EJB in JBoss's JNDI and then to execute it. I don't want to include jbossall-client, as it creates conflicts with hibernate and xml jars already used by the site. I've started compiling the list the brute force way, but it's taking too long and I'm wondering if anyone has already gone through this exercise. Here's what I've got so far:


      jboss
      jnp-client
      4.2.2.GA
      runtime



      jboss
      jboss-common-client
      3.2.3
      runtime



      jboss
      jboss-ejb3-client
      4.2.2.GA



      org.jboss.aop
      jboss-aop-jdk50-client
      2.0.0.CR17



      javax.ejb
      ejb-api
      3.0


      a full list will be greatly appreciated :)

      Thanks
      Dmitry

        • 1. Re: Dependencies for a remote client
          mnouwens1

          Hi there,

          I have basicly the same issue except my version is 5.0.1. We manually did it for 4.2.3. but by removing the pom files and cleaning up dependencies.

          Is there anybody out the using the maven depenency


          org.jboss.jbossas
          jboss-as-client
          5.0.1.GA
          compile
          pom


          And gettign 30 mb op librarie in which some cases these are duplicates containing the same classes only with the one with classifier client and the other not.

          This is not maven to the reque but something else.

          Mybe i am using the wrong dependency but all i need to have is ejb3 connection adn in the future maybe jms. On 4.2.4 we reduced it to 3 files. But the number is not the big issue it's the size we are seeing. a swing client of 40 mb of wich 30 is jboss remoting and server side stuff.

          Hope somebodyknow the answer.

          • 2. Re: Dependencies for a remote client
            krishnan366

            Hi dberansky,
            The list of jar files are listed in the manifest file in jbossall-client.jar in jboss5.0.0 GA.

            • 3. Re: Dependencies for a remote client
              mnouwens1

              That was known to me. But since i use maven i basicly should be able to tell maven to include everything needed for client side connections.

              It seems however that the project are cyclic dependent or i am using the wrong maven pom,


              • 4. Re: Dependencies for a remote client
                jaikiran

                 

                "mnouwens@future-earth.eu" wrote:

                And gettign 30 mb op librarie in which some cases these are duplicates containing the same classes only with the one with classifier client and the other not.

                Mybe i am using the wrong dependency but all i need to have is ejb3 connection adn in the future maybe jms. On 4.2.4 we reduced it to 3 files. But the number is not the big issue it's the size we are seeing. a swing client of 40 mb of wich 30 is jboss remoting and server side stuff.
                ...
                But since i use maven i basicly should be able to tell maven to include everything needed for client side connections.



                Could you please open a new thread in the JBoss AS5 forum here http://www.jboss.org/index.html?module=bb&op=viewforum&f=287 and provide the details there? You can mention this thread in your new post there.