ZK MVVM Load On Demand TreeModel
Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.project
pom.xml
readme.md

readme.md

ZK MVVM Load On Demand TreeModel

Build and run the code with

mvn -Djetty.port=8080 package jetty:run

The code uses Apache Commons VFS (Virtual File System) which is an interface abstraction over a file system. This example shows the inside of the the JAR file system at this uri:

jar:http://repo1.maven.org/maven2/org/apache/commons/commons-vfs2/2.0/commons-vfs2-2.0.jar

but it would be trivial to change the FILE_SYSTEM_URI used to be a file uri such as:

file:///tmp/

See the commons vfs filesystems documentation for more information.

Now with a 1 minute google guava cache inspired by Marcin Grzejszczak's dzone article.