Sounds ok, but let see some more details. Show how you propose to rewrite SARDeployer.parseXMLClasspath using this helper framework.
I think bbtaining a URLLister should mirror the mechanism for obtain a URL protocol handler in that one can install the class that obtains a listing for a given URL via package search paths. xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "Jeremy Boynes" <[EMAIL PROTECTED]> To: "Jboss-Development" <[EMAIL PROTECTED]> Sent: Saturday, December 07, 2002 10:36 AM Subject: [JBoss-dev] Proposal for changes to URL deployment to clean up netboot > Wanted to get feedback before starting to implement... > > The current support for loading deployment units has several special cases > to deal with loading from the network e.g. in > SARDeployer.parseXMLClasspath(), NetBootHelper.getDefaultListUrl() or even > HttpURLDeploymentScanner itself. > > I would like to make changes to simplify this and at the same time offer > additional flexibility. > > The main change would be to factor out the URL listing functionality into > helpers with a factory to create them based on the scheme. Examples would > be: > * file: using java.io.File as now > * http(s): using DAV > * http: using the current listing mechanisms (if still applicable) > others could be added as needed (e.g ftp:) > > The DAV client would allow JBoss to be netbooted from any web server > supporting DAV, either directly (e.g. Tomcat 4.1, Apache+mod_dav or even > IIS) or via a helper servlet (which could read either the content of its war > or config of its host). > > This change would isolate the SARDeployer and the URLDeploymentScanner's > from the different URL schemes and remove the special cases. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
