I want encode java.security.policy and java.rmi.server.codebase info into my java code, how do I implement that. Is it right, using System.setProperty().
Enrico Mannarino
Ranch Hand
Joined: Dec 14, 2001
Posts: 133
posted
0
Something like this: Properties props = System.getProperties(); String rmiServerCodebase = props.getProperty("java.rmi.server.codebase"); I have a class called PropertyReader that reads all the system properties I'll need. Hope it helps! Enrico
Kevin Li
Greenhorn
Joined: Sep 25, 2001
Posts: 21
posted
0
Enrico, I have solved it, thanks for your help.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.