A
Aquila Deus
Hi all!
I'm wondering why sun java doesn't use file-mapping to load .jar files?
Because on windows file opening always locks the file, while
file-mapping allows you to rename or move the file to other place
(trash can). It's especially important for jars put under web-apps'
\lib, because those jars, once loaded in some container ("resin"),
can't be replaced unless you restart the whole JVM. Besides,
file-mapping an uncompressed zip/jar file can let you access the zipped
..class directly, without extracting it at all!
Just a thought, any comment?
I'm wondering why sun java doesn't use file-mapping to load .jar files?
Because on windows file opening always locks the file, while
file-mapping allows you to rename or move the file to other place
(trash can). It's especially important for jars put under web-apps'
\lib, because those jars, once loaded in some container ("resin"),
can't be replaced unless you restart the whole JVM. Besides,
file-mapping an uncompressed zip/jar file can let you access the zipped
..class directly, without extracting it at all!
Just a thought, any comment?