Show Table of Contents
6.7.3. Project dependencies for Remote EJB Clients
Maven projects that include the invocation of session beans from remote clients require the following dependencies from the JBoss Enterprise Application Platform 6 Maven repository.
Table 6.1. Maven dependencies for Remote EJB Clients
| GroupID | ArtifactID | Version |
|---|---|---|
| org.jboss.spec | jboss-javaee-6.0 | 3.0.0.Final-redhat-1 |
| org.jboss.as | jboss-as-ejb-client-bom | 7.1.1.Final-redhat-1 |
| org.jboss.spec.javax.transaction | jboss-transaction-api_1.1_spec | - |
| org.jboss.spec.javax.ejb | jboss-ejb-api_3.1_spec | - |
| org.jboss | jboss-ejb-client | - |
| org.jboss.xnio | xnio-api | - |
| org.jboss.xnio | xnio-nio | - |
| org.jboss.remoting3 | jboss-remoting | - |
| org.jboss.sasl | jboss-sasl | - |
| org.jboss.marshalling | jboss-marshalling-river | - |
With the exception of
jboss-javaee-6.0 and jboss-as-ejb-client-bom, these dependencies must be added to the <dependencies> section of the pom.xml file.
The
jboss-javaee-6.0 and jboss-as-ejb-client-bom dependencies should be added to the <dependencyManagement> section of your pom.xml with the scope of import.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>3.0.0.Final-redhat-1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-ejb-client-bom</artifactId>
<version>7.1.1.Final-redhat-1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Refer to the
remote-ejb/client/pom.xml for a complete example of dependency configuration for remote session bean invocation.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.