I have a requirement which says I have to create only once class file of one Java Swing application and reuse them to create multiple instance of same application.
One way comes to my mind is store this class file and create instances from that files whenever required.
but is it correct way? Is there any other efficient way to create instance of applications using class created only once and stored somewhere?
Also there is additional desing constraint that says that you should use parts of class files in creating more than one application.
compile the swing application’s java source files into class files (this needs to be done just once)
run the same class files in different virtual machines instances (sequentially, or simultaneously)
.. or have I got you completely wrong? 🙂