<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Virtual filesystem</title>
	<atom:link href="http://tech.puredanger.com/index.php/2008/11/10/virtual-filesystem/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.puredanger.com/2008/11/10/virtual-filesystem/</link>
	<description>Alex Miller&#039;s technical blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:39:50 -0800</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Noroi</title>
		<link>http://tech.puredanger.com/2008/11/10/virtual-filesystem/comment-page-1/#comment-295754</link>
		<dc:creator>Noroi</dc:creator>
		<pubDate>Tue, 20 Sep 2011 17:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/11/10/virtual-filesystem/#comment-295754</guid>
		<description>I would like to know how to create a virtual file system using java. Please comment.....</description>
		<content:encoded><![CDATA[<p>I would like to know how to create a virtual file system using java. Please comment&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Clark</title>
		<link>http://tech.puredanger.com/2008/11/10/virtual-filesystem/comment-page-1/#comment-108241</link>
		<dc:creator>Chris Clark</dc:creator>
		<pubDate>Thu, 13 Nov 2008 10:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/11/10/virtual-filesystem/#comment-108241</guid>
		<description>It&#039;s a bit painful (to say the least), but you can use the Java instrumentation API (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/instrument/package-summary.html) to reinstrument the classes that handle IO (for example FileInputStream/FileOutputStream/File/FileReader/FileWriter/etc...) to use a class that implements the same api, but supports an in-memory file system by using an alternate base directory, e.g. &#039;/in-memory/&#039;.

But I do admit that the new JSR is a better alternative, as long as the current IO and NIO packages are reengineered to use it in the background (otherwise implementing an in-memory FS would be a pain if you have code which uses the old IO APIs - you would have to rewrite all the code to use the new APIs just to be able to use an in-memory FS).</description>
		<content:encoded><![CDATA[<p>It&#8217;s a bit painful (to say the least), but you can use the Java instrumentation API (<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/instrument/package-summary.html" rel="nofollow">http://java.sun.com/j2se/1.5.0/docs/api/java/lang/instrument/package-summary.html</a>) to reinstrument the classes that handle IO (for example FileInputStream/FileOutputStream/File/FileReader/FileWriter/etc&#8230;) to use a class that implements the same api, but supports an in-memory file system by using an alternate base directory, e.g. &#8216;/in-memory/&#8217;.</p>
<p>But I do admit that the new JSR is a better alternative, as long as the current IO and NIO packages are reengineered to use it in the background (otherwise implementing an in-memory FS would be a pain if you have code which uses the old IO APIs &#8211; you would have to rewrite all the code to use the new APIs just to be able to use an in-memory FS).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob McWhirter</title>
		<link>http://tech.puredanger.com/2008/11/10/virtual-filesystem/comment-page-1/#comment-107874</link>
		<dc:creator>Bob McWhirter</dc:creator>
		<pubDate>Wed, 12 Nov 2008 02:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/11/10/virtual-filesystem/#comment-107874</guid>
		<description>There&#039;s the JBoss Microcontainer VFS project:

MC site: http://www.jboss.org/jbossmc/

VFS code: http://anonsvn.jboss.org/repos/jbossas/projects/vfs/trunk/

You can use VFS without the whole container, easily enough.</description>
		<content:encoded><![CDATA[<p>There&#8217;s the JBoss Microcontainer VFS project:</p>
<p>MC site: <a href="http://www.jboss.org/jbossmc/" rel="nofollow">http://www.jboss.org/jbossmc/</a></p>
<p>VFS code: <a href="http://anonsvn.jboss.org/repos/jbossas/projects/vfs/trunk/" rel="nofollow">http://anonsvn.jboss.org/repos/jbossas/projects/vfs/trunk/</a></p>
<p>You can use VFS without the whole container, easily enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://tech.puredanger.com/2008/11/10/virtual-filesystem/comment-page-1/#comment-107769</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Tue, 11 Nov 2008 16:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/11/10/virtual-filesystem/#comment-107769</guid>
		<description>It would be good to include a good memory file system implementation. If someone has the cycles to do this and contribute it that would be great. I agree it would be useful from an educational perspective. It may also be useful when running on operating systems that don&#039;t have /tmp or equivalent on swap. In the demo directory there is a read-only zip/JAR provider (contributed by Rajendra Gutupalli).</description>
		<content:encoded><![CDATA[<p>It would be good to include a good memory file system implementation. If someone has the cycles to do this and contribute it that would be great. I agree it would be useful from an educational perspective. It may also be useful when running on operating systems that don&#8217;t have /tmp or equivalent on swap. In the demo directory there is a read-only zip/JAR provider (contributed by Rajendra Gutupalli).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://tech.puredanger.com/2008/11/10/virtual-filesystem/comment-page-1/#comment-107761</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 11 Nov 2008 15:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/11/10/virtual-filesystem/#comment-107761</guid>
		<description>Good comments all.  I can also see filesystems for zip/jar archives, storage in the cloud, and other such useful impls.</description>
		<content:encoded><![CDATA[<p>Good comments all.  I can also see filesystems for zip/jar archives, storage in the cloud, and other such useful impls.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

