difference between endorsed and lib folders?  
Author Message
Elhanan





PostPosted: 2005-5-31 15:08:00 Top

java-programmer, difference between endorsed and lib folders? hi..

can somone please explain to me what is the difference between the
endorsed and lib folders in common folder in tomcat? i tried reading
the documentation but i couldn't figure it out.

 
Juha Laiho





PostPosted: 2005-6-2 20:29:00 Top

java-programmer >> difference between endorsed and lib folders? "Elhanan" <email***@***.com> said:
>can somone please explain to me what is the difference between the
>endorsed and lib folders in common folder in tomcat? i tried reading
>the documentation but i couldn't figure it out.

In short, there are some package names from which classes are only loaded
if the package files are located in the endorsed/ directory.

References:
http://java.sun.com/j2se/1.4.2/docs/guide/standards/
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
(for this latter, there is a chapter named "XML Parsers and JDK 1.4"
close to the end of the document; note though, this is for Tomcat 4.1;
the "endorsed" mechanism is slightly different for post-5.0 versions of
Tomcat).
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)