[jboss-dev] New AS Module: "embedded"

Andrew Lee Rubinger andrew.rubinger at redhat.com
Sat Apr 10 15:50:56 EDT 2010


https://jira.jboss.org/jira/browse/JBAS-7916
https://jira.jboss.org/jira/browse/JBAS-7771

The EmbeddedAS libraries are now a part of the AS distribution, along 
with ShrinkWrap.  All are available under $JBOSS_HOME/common/lib.

Users wishing to take advantage of JBossAS via these APIs in an existing 
runtime are now free to do so without any additional downloads.

In addition, I've added the "embedded" module to AS; its purpose is to 
provide the build with an Integration TestSuite running in Embedded 
mode.  This acts as a guard; if it fails the Hudson build job for AS6 
will not continue, and the distribution will not be installed into any 
local or remote Maven repos.

To run the EmbeddedAS testsuite, use "mvn install -Pembedded".  The 
"embedded" profile is disabled by default so we don't impact regular 
build time too adversely, but IMO any incoming commits should run this 
*and* smoke-tests before making it upstream.  The Hudson QA job has been 
altered to use this profile when building.

In addition, this now opens the door to us using Embedded testing as a 
tool for ourselves.  For instance we can take advantage of sharing 
memory between the test and the application server by using locks, 
barriers, latches, and pass-by-reference.

The existing integration test passes through some JEE techs:

http://anonsvn.jboss.org/repos/jbossas/trunk/embedded/src/test/java/org/jboss/jbossas/embedded/testsuite/ServerIntegrationTest.java

S,
ALR

-- 
Andrew Lee Rubinger
Sr. Software Engineer
JBoss by Red Hat
http://exitcondition.alrubinger.com
http://twitter.com/ALRubinger



More information about the jboss-development mailing list