JBoss Community Archive (Read Only)

Arquillian

Container adapters

The container adapters that are available are shown in the table below. Also listed in each row is the artifactId of the JAR that provides the implementation. To execute your tests against a container, you must include the artifactId that corresponds to that container on the classpath.

Container adapters managed by the Arquillian project

Use the following Maven profile definition as a template to add support for a container to your Maven build, replacing %artifactId% with the artifactId from the table. You then activate the profile when executing the tests just as you did in the Getting Started Guide.

<profile>
   <id>%artifactId%</id>
   <dependencies>
      <dependency>
         <groupId>org.jboss.arquillian.container</groupId>
         <artifactId>%artifactId%</artifactId>
         <version>%version%</version>
      </dependency>
   </dependencies>
</profile>

Note that the container adapter version may not match the version of Arquillian Core as they have different release cycles.

Container name

Container type

Spec compliance

(groupId:)artifactId

JBoss AS 4.2

remote

~Java EE 5

arquillian-jbossas-remote-4.2

JBoss AS 4.2

managed

~Java EE 5

arquillian-jbossas-managed-4.2

JBoss AS 5

remote

Java EE 5

arquillian-jbossas-remote-5

JBoss AS 5.1

remote

Java EE 5

arquillian-jbossas-remote-5.1

JBoss AS 5.1

managed

Java EE 5

arquillian-jbossas-managed-5.1

JBoss AS 6.0

remote

Java EE 6 (Web Profile)

arquillian-jbossas-remote-6

JBoss AS 6.0

managed

Java EE 6 (Web Profile)

arquillian-jbossas-managed-6

JBoss AS 6.0

embedded

Java EE 6 (Web Profile)

arquillian-jbossas-embedded-6

GlassFish 3.1

embedded

Java EE 6

arquillian-glassfish-embedded-3.1

GlassFish 3.1

managed

Java EE 6

arquillian-glassfish-managed-3.1

GlassFish 3.1

remote

Java EE 6

arquillian-glassfish-remote-3.1

Tomcat 5.5

managed

Servlet 2.5

arquillian-tomcat-managed-5.5

Tomcat 6.0

remote

Servlet 2.5

arquillian-tomcat-remote-6

Tomcat 6.0

managed

Servlet 2.5

arquillian-tomcat-managed-6

Tomcat 6.0

embedded

Servlet 2.5

arquillian-tomcat-embedded-6

Tomcat 7.0

remote

Servlet 3.0

arquillian-tomcat-remote-7

Tomcat 7.0

embedded

Servlet 3.0

arquillian-tomcat-embedded-7

Tomcat 7.0

managed

Servlet 3.0

arquillian-tomcat-managed-7

Jetty 6.1

embedded

Servlet 2.5

arquillian-jetty-embedded-6.1

Jetty 7.0

embedded

Servlet ~3.0

arquillian-jetty-embedded-7

Weld SE 1.0

embedded

CDI

arquillian-weld-se-embedded-1

Weld SE 1.1

embedded

CDI

arquillian-weld-se-embedded-1.1

Weld EE 1.1

embedded

CDI

arquillian-weld-ee-embedded-1.1

Apache OpenWebBeans 1.0

embedded

CDI

arquillian-openwebbeans-embedded-1

Apache OpenEJB 3.1

embedded

EJB 3.0

arquillian-openejb-embedded-3.1

Oracle WebLogic Server 10.3

remote

Java EE 5

arquillian-wls-remote-10.3

Oracle WebLogic Server 12.1

remote

Java EE 6

arquillian-wls-remote-12.1

IBM WebSphere 7

remote

Java EE 5

arquillian-was-remote-7

IBM WebSphere 8

remote

Java EE 6

arquillian-was-remote-8

IBM WebSphere 8

embedded

Java EE 6, EJB 3.0

arquillian-was-embedded-8

Container adapters managed outside of the Arquillian project

For JBoss AS 7, Arquillian container artifacts are included in distribution, so use the coordinates as shown below.

<profile>
    <id>%artifactId%</id>
    <dependencies>
        <dependency>
            <groupId>org.jboss.as</groupId>
            <artifactId>%artifactId%</artifactId>
            <version>%version%</version>
        </dependency>
    </dependencies>
</profile>

Container name

Container type

Spec compliance

ArtifactId

Version

JBoss AS 7.0

remote

Java EE 6 (Web Profile)

jboss-as-arquillian-container-remote

 

JBoss AS 7.0

managed

Java EE 6 (Web Profile)

jboss-as-arquillian-container-managed

 

JBoss AS 7.1, JBoss EAP 6.0

remote

Java EE 6

jboss-as-arquillian-container-remote

 

JBoss AS 7.1, JBoss EAP 6.0

managed

Java EE 6

jboss-as-arquillian-container-managed

 

JBoss AS 7.2, JBoss EAP 6.1

managed

Java EE 6

jboss-as-arquillian-container-managed

7.2.0.Final

Wildfly 8.1

embedded (managed)

Java EE 7

wildfly-arquillian-container-embedded

8.1.0.Final

JBoss AS 7.0 container adapter in Arquillian

Please note that extra configuration in arquillian.xml may be required for some JBoss AS 7 containers. See the JBoss AS 7.0 - Remote section in this appendix for further information.

Support for other containers is planned.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-10 09:40:22 UTC, last content change 2014-08-01 13:48:43 UTC.