JBoss Community Archive (Read Only)

Arquillian Old

Apache OpenEJB 3.1 - Embedded

A DeployableContainer implementation that can run and connect to a embedded(same JVM) Apache OpenEJB instance. EJB 3.0 APIs are available, but no JMS. This implementation has lifecycle support, so the container will be started and stopped as part of the test run.

Container Injection Support Matrix

@EJB

@EJB (no-interface)

@Inject (CDI)

@Inject (MC)

@PersistenceContext @PersistenceUnit

images/author/download/attachments/23822418/fact_good.png

 

 

 

 

Configuration

Default Protocol: Local

Container Configuration Options

Name

Type

Default

Description

openEjbXml

String

 

Specify the OpenEJB XML configuration file.

jndiProperties

String

 

Specify the OpenEJB properties configuration file.

Example of Maven profile setup

<profile>
	<id>openejb-embedded-3.1</id>
	<dependencies>
		<dependency>
			<groupId>org.jboss.arquillian.container</groupId>
			<artifactId>arquillian-openejb-embedded-3.1</artifactId>
			<version>1.0.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>org.apache.openejb</groupId>
			<artifactId>openejb-core</artifactId>
			<version>3.1.4</version>
		</dependency>
	</dependencies>
</profile>
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-10 12:19:05 UTC, last content change 2011-06-18 08:29:36 UTC.