A DeployableContainer implementation that can run an embeddable WebSphere Application Server V8.0 container (same JVM). This implementation has lifecycle support, so the container will be started and stopped as part of the test run.
This container implementation has been deprecated as the WebSphere Application Server version has reached its end of service.
This container implementation is currently not available in public maven repositories. If you want to use it, please follow our build instructions.
Container Injection Support Matrix
@EJB
|
@EJB (no-interface)
|
@Inject (CDI)
|
@Inject (MC)
|
@PersistenceContext @PersistenceUnit
|
|
|
|
|
|
Prerequisite Version
This DeployableContainer has been tested with WebSphere Application Server V8.0.0.0.
Configuration
Default Protocol: Local
Container Configuration Options
Name
|
Type
|
Default
|
Description
|
embeddedProperties
|
String
|
|
Location of a WAS embedded container properties file.
|
Example of Container Configuration (arquillian.xml)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://jboss.org/schema/arquillian"
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<engine>
<property name="deploymentExportPath">target/</property>
</engine>
<container qualifier="websphere" default="true">
<configuration>
<property name="embeddedProperties">src/test/resources/was-embedded.properties</property>
</configuration>
</container>
</arquillian>
Example of Maven profile setup
<profile>
<id>was-embedded-8</id>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-was-embedded-8</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
</profile>