JBoss Community Archive (Read Only)

Arquillian Old

JBoss AS 5.1 - Remote

A DeployableContainer implementation that can connect and run against a remote(different JVM, different machine) running
JBoss AS 5.1 instance.
This implementation has no lifecycle support, so it can not be started or stopped.

Container Injection Support Matrix

@EJB

@EJB (no-interface)

@Inject (CDI)

@Inject (MC)

@PersistenceContext @PersistenceUnit

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

 

 

 

 

Configuration

Default Protocol: Servlet 2.5

Container Configuration Options

Name

Type

Default

Description

profileName

String

default

ProfileService profileKey. Used to load the correct profile into the DeploymentManager.

providerUrl

String

jnp://localhost:1099

The JNDI connection URL.

urlPkgPrefix

String

org.jboss.naming:org.jnp.interfaces

The JNDI package prefix.

contextFactory

String

org.jnp.interfaces.NamingContextFactory

JNDI Context factory class name.

Example of Maven profile setup

<profile>
	<id>jbossas-remote-5.1</id>
	<dependencies>
		<dependency>
			<groupId>org.jboss.arquillian.container</groupId>
			<artifactId>arquillian-jbossas-remote-5.1</artifactId>
			<version>1.0.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>org.jboss.jbossas</groupId>
			<artifactId>jboss-as-client</artifactId>
			<version>5.1.0.GA</version>
			<type>pom</type>
		</dependency>
	</dependencies>
</profile>
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-10 12:19:19 UTC, last content change 2011-04-16 15:55:41 UTC.