I've committed new jboss-embedded projects:
http://anonsvn.jboss.org/repos/jbossas/projects/embedded/trunk/
This is defined by:
https://jira.jboss.org/jira/browse/EMB-17
Included in this initial setup is a prototype of JBoss Embedded AS distribution which
packages up AS and a few Embedded-specific classes into a single JAR, and successfully
starts the AS Bootstrap.
Some points:
* Tangential to this is refactoring of the bootstrap project as defined by JBBOOT-4, where
the common server locations (JBOSS_HOME, deploy, lib, etc) must be represented by VFS
instead of java.io.File. This is required to get a server contained within a JAR.
* Embedded should really have no common server locations - it's got all of its
binaries on the classpath and should be able to boot straight from there.
* I had to introduce a NoOpClassLoadingFactory to ignore any roots defined by classloading
elements within the AS bootstrap. Due to the repackaging, these roots are not (and
shouldn't be) found in the form they're listed. This furthers the notion that
Embedded runs within a host ClassLoader.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190807#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...