java - Executing a class in remote jvm -
I have a small test class that I want to run on a special JVM which is already up and running ( Basically this is a web application running on the tomc) The reason for this is that I want to execute a small test class (with the main method and all) within that JVM so that I have the same environment for my test class (Weighted and initialized classes). It is possible that, through a jvm parameter, say that it should not start a new VM to execute my class, but rather run it on the remote VIM and perform my console But, show me the results. So does the local JVM work as a type of thin proxy?
I do not know there are some tools that should make this possible. Somewhere heard that Java 6 JVM comes with this option, is this true? Please help me.
Thank you,
You may want to take a look at. This allows you to run code in Jvm that has already started, provided you do not change the status of the variable within that JVM. With this kind of tracing, you can solve your problem in some other way. Not adding additional code as a new category, but by adding a secure code and existing class to a JVM.
For example, when you type the file . System.out.println file name. Ax is called on
Comments
Post a Comment