Hello,
I changed the JTileCache code significantly. The functionality is the same as previously (only works as a proxy), but the class breakdown should help future development. Today, I will setup a properties file for setting the WMS server URL and other options.
The code is available at http://jtilecache.googlecode.com/svn/trunk/ . The comments / documentation are sparse, so I will also work on developing better docs.
Rough class breakdown:
org.geoserver.jtilecache.JTileCache: main servlet
org.geoserver.jtilecache.ImageTile : holds a BufferedImage and associated MIME. Will be replaced with a variant of the wmc4j Tile class.
org.geoserver.jtilecache.util.Configuration: will be used for reading in configuration and holding those values
org.geoserver.jtilecache.util.MimeType: hold / manipulate mime strings
org.geoserver.jtilecache.util.ImageMimeType: subclass of MimeType restricted to image/* MIMEs
org.geoserver.jtilecache.util.WMSParameters: storage / manipulation for WMS HTTP GET arguments
org.geoserver.jtilecache.util.WMSRequest: WMSParameters and other information necessary to make a WMS request
org.geoserver.jtilecache.util.WMSResponse: get the data returned by a request
org.geoserver.jtilecache.util.WMSConnection: turn WMSRequests into WMSResponses
(Some of these I started coding before the wmc4j code was available-- since many are similar, I should merge them back with that code.)
Let me know if you have any questions.
-- Chris Whitney