[jboss-dev-forums] [Design of POJO Server] - New VFS features: assemblies

bill.burke@jboss.com do-not-reply at jboss.com
Tue Apr 3 11:35:52 EDT 2007


I added some code to VFS that allows you to programmtically create a virtual directory structure composed of any URL, classloader resource, or byte array.  The code is here:

https://svn.jboss.org/repos/jbossas/projects/vfs/trunk/src/main/java/org/jboss/virtual/plugins/context/vfs/

Its incorporated into the VFS testsuite as well.

If you want to see it in action, look here:

https://svn.jboss.org/repos/jbossas/trunk/embedded/src/test/java/org/jboss/embedded/test/idetesting/VfsTestCase.java

The two tests in there dynamically define an abstract jar from resources in the classpath and deploy it into an Embedded JBoss runtime.  An EJB jar with a persistence unit is defined and deployed.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034156#4034156

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034156



More information about the jboss-dev-forums mailing list