What do people think of a URL based approach to getting cache contents? E.g., using a java.net.URL with something like cache://java:/MyCacheName?fqn=/mydata/mynode&key=key to retrieve the contents of a node in the cache (bound in JNDI), using custom URLStreamHandlerFactory and URLStreamHandler implementations to handle the cache:// URLs?
Came up from a discussion with Mark Proctor around using JBoss Cache to store rules for JBoss Rules. These rules can currently be stored on remote http, ftp servers, etc.
Sounds quite useful.