Hi Just wanted to ask some basic usage questions for using Commons VFS in a J2EE app.
1) I call VFS.getManager() from a constructor of my file system wrapper class, and use that one FileSystemManager instance every time a CommonsVFS operation is executed. Is this the correct usage? Or should I get a different FileSystemManager for each request. I notice that the close() method is not on the FileSystemManager interface. 2) If you can use the same FileSystemManager instance across multiple calls, do you need to periodically free unused resources? 3) Do you only need to close a FileObject when you have retrieved the content, or should close it after any operation. Sorry if these seem like silly questions, but the documentation seems a little unclear. It says in the documentation that "You should make sure that you call close() on the manager when you are finished with it." Is this for all methods of retrieval and configuration, or only when you create and configure it programmatically. Regards Andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
