B
bigbinc
What is good practice for writing a server with C/C++ that uses java.
Should I have instantiate the Java when the server launches or should
I call the virtual machine when I receive requests that use the java
code and then shutdown immediately.
The best approach would use launch the jvm at the start of the server,
but if the server will be on for days, I dont know what will happen to
the jvm if it is up for that long.
Should I have instantiate the Java when the server launches or should
I call the virtual machine when I receive requests that use the java
code and then shutdown immediately.
The best approach would use launch the jvm at the start of the server,
but if the server will be on for days, I dont know what will happen to
the jvm if it is up for that long.