Before I was using;
public static void main(String args[])
{
try
{
ORB orb = ORB.init(args, null);
}
}
and then having parameter argument
-ORBInitialPort 1050
I now want to remove the main section of the code and have the class being created inside another class, so is it possible to hardcode these arguments? Or do i have to pass the data from the new class into the class that needs it?
-Dfoo=barto your program then you just need to get the value withSystem.getProperty("foo")if this is what you're asking.