Dynamic is everything that happens during interpretation.
Static is
everything else.
A java program consists of multiple .class files.
The main
.class file is presented to the JVM as the entry point of the program.
The JVM
loads .class files (reads them from storage) as they are needed as its starts
executing in main.
At any time after deployment, A single .class file can be
recoded, recompiled in isolation and redeployed without modifying the remaining
already deployed .class files.
The program will continue to run and will load
and run the modified file. A little care is required to ensure it will still
execute, primarily ensuring that all methods and fields that the original
program depends on are still there and no references are made to libraries not
accessible to the original program.
The recompilation and deployment of a
subpart is a follow-on static activity that can be accomodated in the next
dynamic invocation of the program. [ Reply to This | Parent | # ]
|