I second this view. You are not gaining much by sharing your libraries, rather you loose maintainability.
One of my clients is going through this heartache at the moment, they needed functionality from the latest 3rd party charting library to run with the 3rd party reporting library. Unfortunately the charting library was being used by one other webapp and the developer had installed it common to all apps. Said charting library was not backward compatible, so wasted time was spent: a. finding out why the new app was not working on the dev server b. finding all other apps that used the charting lib (only 1 in this case..) c. modifying that app to work with the new lib d. test etc.. Not fun and expensive. Apart from all that, it is a lot easier developing an app where the project is setup already and you don't have to add libraries to your ide's web server etc before you can start development/maintenance. Brian On 4/6/07, Bobby Quinne <[EMAIL PROTECTED]> wrote: > Apologies this is not an answer to the question you pose, however a general > observation on shared libraries. > > Shared libraries are a double edged sword and sometimes the handle is > removed for you by other saboteur's on your project! > > On a previous project using websphere with multiple vendors, there were > endless knock-on effects of one team deploying to a common server utilized > by all the vendors(Apparently it was sensible to purchase multiple licenses > for WASD, but not multiple AIX machines). Each team would have outdated or > newer libraries that would break a fair number of other web applications > that were deployed. The supposed delusion to this decision was: "It would > force the vendors to be in sync with everyone else's changes in version > control." Not the case, but nice Luddite thinking. > > Rather run in isolation in your WAR/EAR. Disk space is cheap(no matter how > many times the clearcase installation on AIX runs out of diskspace) and > there is no need to worry about external files that need to be present with > the servlet container installation. > > On 4/5/07, roccosga <[EMAIL PROTECTED]> wrote: > > > > Hello, > > I've a CMS in a jar file and some web applications (web sites) built > > using this CMS. I've used JBuilder 2006, struts 1.2.4 and Tomcat 5.5. > > The applications work fine launching them from JBuilder and also > > deploying them on weapps directory of Tomcat. > > > > THE PROBLEM IS: Most of the libraries are common between every webapp, > > so my boss asked me to share them. Based on the infos I've found, I > > supposed it should be enough to move the libraries I wanna share from > > the directory > "[CATALINA_HOME]\webapps\[web-app-name]\WEB-INF\lib" to > > "[CATALINA_HOME]\shared\lib", but unfortunately none of my webapps > > works. > > But I've seen there's a difference between removing a library ( i get > > an exception) and moving the library to the shared directory (so I > > suppose it can see them), but I get the message "Servlet action is > > currently unavailable" > > > > I hope i was clear in describing the problem, this is my 4th day in > > this company and I'm afraid i'll not last for a long time here if I'll > > not solve this problem :-) > > Thanks in advance for any suggestion > > > > > > > > > > > > -- > > In places where life has no value, death has its price. > > > > > > > -- Brian Silberbauer Consultant +27 (0)83 566 2705 skype: brian.silberbauer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CTJUG Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/CTJUG-Forum For the ctjug home page see http://www.ctjug.org.za -~----------~----~----~----~------~----~------~--~---
