On Wed, Sep 22, 2010 at 4:51 PM, Mark H. Wood <[email protected]> wrote:

> o  Best practice and commonest practice w.r.t. deployment of libraries
>   seem to be antithetical in the Java universe.  I was quite pleased
>   to discover that I'm not the only one who thinks that Tomcat's /lib
>   directory is on the app. classpath for good reasons.

Actually nowadays AFAIK that is universally accepted as bad practice.
It's not a coincidence Tomcat removed /common/lib in version 6.

During the start of web development with Java, what you are defending
become an obvious choice to avoid wasting resources. But the problem
is that you need to adapt code in all the applications in the
container at the same time to be able to move library versions. Which
is really difficult for company's internal code, and impossible if
there is any third-party or open-source code...
Unless you want to run one Tomcat instance per application... Which
bring us to the question what difference would make have the libs in
Tomcat's lib in this scenario?


>
> o  The DSpace 2 architecture (which we are approaching by easy stages)
>   attempts to address looser coupling and similar OO goals.
>
> --
> Mark H. Wood, Lead System Programmer   [email protected]
> Balance your desire for bells and whistles with the reality that only a
> little more than 2 percent of world population has broadband.
>        -- Ledford and Tyler, _Google Analytics 2.0_
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to