Re: httpmd
Gregg Wonderly <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Dan Creswell wrote: > Mark Brouwer wrote: > >>Logan, Patrick wrote: >> >> >>>Do most people use httpmd at this point? Should they? Would there be a >> >>Only when codebase integrity is required and it hard to use when your >>clients are application servers e.g. that are not under your control, as >>you just found out it requires installing the additional protocol >>handler at the system classpath. > > Curse the JDK for it's horrid way of adding URLHandlers...... It occurs to me that we could devise a versioning solution with code in the RMIClassLoaderSPI implementation to annotate the codebase URL with versioning info (MD5 sum, or just date, time and length info as a hash) as an ignorable URI component which the web server(s) would ignore, and still just serve up the associated file. For example, the URL, http://codebase.host:8090/reggie-dl.jar?someversionstring will allow the jar to be served by the JTSK codeserver, while still providing the version string to the ClassLoader caching uniqueness (or so it seems from my brief investigation). A simple configuration utility class, or some additional scripting in your startup script would automate the creation of the new codebase string. Gregg Wonderly -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]