2 Replies Latest reply on Aug 2, 2012 8:28 AM by venkman

    Jboss client jars

    venkman Newbie

      Hi there,

       

      where can i find which jars and which versions of the jars i need for JBoss client developing.

       

      In AS5 you got a jboss-all client jar.

       

      Now i couldn't find the right jar(s) with the right version.

       

      (Yet its only the javax.resource implementation, but in case of previous experiences, this wouldn't be the only one )

       

      So, is there a list of needed jars (with actual version numbers) or especially ONE jar (like in AS5)

       

      Greetings

       

      PV

        • 1. Re: Jboss client jars
          Urs Rothenhäusler Newbie

          Do you use Maven? If so, include the following:

               <dependency>

                      <groupId>org.jboss.as</groupId>

                      <artifactId>jboss-as-ejb-client-bom</artifactId>

                      <version>7.1.1.Final</version>

                      <type>pom</type>

                  </dependency>

               <!-- jms -->

                  <dependency>

                      <groupId>org.jboss.as</groupId>

                      <artifactId>jboss-as-jms-client-bom</artifactId>

                      <version>7.1.1.Final</version>

                      <type>pom</type>

                 </dependency>

          The next 2 dependencies are possibly not for you (only if you get errors e.g. in Swing-Client):

                  <!-- javaee needed, error: persistence.Generation-Class not found - Bug -->

                  <dependency>

                      <groupId>javax</groupId>

                      <artifactId>javaee-api</artifactId>

                      <version>6.0</version>

                      <!-- scope>compile</scope-->

                  </dependency>

                  <dependency>

                      <groupId>org.hibernate</groupId>

                      <artifactId>hibernate-core</artifactId>

                      <version>4.0.1.Final</version>

                  </dependency>

           

          Greetings

          • 2. Re: Jboss client jars
            venkman Newbie

            That's it.

             

            Thanks a lot!