Multiple startups from same jre and clases

I'm updating Windows 2003 server system where our product is currently installed in five different directories, because they have different configurations in config file, but otherwise they equals to each others.

I realised that I could create one directory with all clases, libaries and common settings and use thouse to start program and then get user specific settings from user directory. After this updating would be simpler and faster.

How does this influnce performance? Does program start up faster if someone else is allready running program? Will there be some diffulties? How about upgrading? Can clases be updatet while some is using same clases?

Any commentes are welcome.

[711 byte] By [tkta] at [2007-10-2 15:24:41]
# 1

> How does this influnce performance? Does program

> start up faster if someone else is allready running

> program?

No. But since Java 1.5, subsequent starts on the same computer can be faster as Java 1.5 is using a new class sharing mechanism.

> Will there be some diffulties? How about

> upgrading? Can clases be updatet while some is using

> same clases?

Short answer: no. Long answer: yes, if you write your own sophisticated classloader.

In addition: updating would be more difficult as you need to tell all clients to stop all the applications. Otherwise somewhere is still holding a reference to a class/JAR.

MartinHilperta at 2007-7-13 14:38:51 > top of Java-index,Desktop,Runtime Environment...