Inside the JBuilder OpenTools API
Chapter 5 - The Virtual File System

Previous   Next   Listings

To show how the VFS is used to interface with physical storage, the HTTPVFS example implements the Filesystem interface to link JBuilder to a remote machine across the Internet. A servlet runs on the remote machine to respond to requests from JBuilder for files.

This project makes use of servlets and may not run in non-Enterprise versions of JBuilder.

Zipped Files

HTTPVFS.jpx   The project file for this tool
HTTPVFS.html Project notes
classes.opentools The OpenTools manifest
HttpFilesystem.java Is the new file system that creates and manipulates Urls with a httpvfs protocol.
HttpFSChooserPageFactory.java This class customizes the UrlChooser dialog by adding a new page that knows how to deal with the remote file system.
HttpFSChooserPage.java The custom tab created above for the UrlChooser dialog.
HttpFSServlet.java Is the servlet that runs on the remote machine.
Web.xml Configuration file for the servlet.
HTTPVFS.jar The packaged tool
HTTPVFS.war The packaged Web application (servlet)
Inside the JBuilder OpenTools API 2004, Keith Wood Previous   Next   Listings