"[EMAIL PROTECTED]" wrote : If we fall back to the "traditional" jboss view, then: | | 1) Invoking on a template for copying static libs into ./lib is not the best way. It'd be more straightforward to have on the DeploymentService something like: | | | String[] listStaticLibs(); | | boolean uploadStaticLib(URL url); | | | | (This doesn't solve the modifications issue, i.e. remove/update a lib) | I am fine with which either implementing this as a template or new API on DeploymentSerivce, as long as the functionality requirements are met
"[EMAIL PROTECTED]" wrote : 2) From a design point of view, I believe it's much more clear to the admin to provide him an exact view of the system, it's restrictions and the ability to change it. In this sense you admit that the ./lib directory contains static libs that can only be changed with a reboot. So maybe a better interface is something like: | | | boolean scheduleLibUpdate(URL url); | | boolean scheduleLibRemoval(String libname); | | | The 2 schedule methods will store the new lib/info for removal somewhere, then the server upon boot will have to make those changes. | | The thing is, the changes need to take place *before* ./conf/jboss-service.xml is loaded, because this is where the libs are "loaded". | | Maybe we could pass a new arg at command line, e.g. --update-libs to triger this behaviour. | | In any case we could proceed with (1) and optionally do (2). | Agreed lets do (1). For the first phase we will not be requiring any removal or update of jars from /lib, so let's not do (2). Overall the datasource component of the admin console will attempt to abstract away some of the details of the implementation. An administrator will optionally specify a driver jar to upload and some datasource properties, without having to know precisely what we are going to do with that jar. In future versions I hope that we will be able to move away from copying the driver jars into /lib, without affecting how administrators use the console. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864289#3864289 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864289 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development