Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- Properties props = new Properties();
- props.add("org.omg.CORBA.ORBInitialHost", httpServletRequest.getParameter("initialHost"));
- props.add("org.omg.CORBA.ORBInitialPort", httpServletRequest.getParameter("initialPort"));
- ORB orb = ORB.init(null, props);
- // do some work with your ORB
- ...
- public void doGet(..) {
- String param1 = request.getParameter("param1");
- String param2 = request.getParameter("param2");
- startCorbaClient(param1, param2);
- }
- java -Dorb.host=xxx.xx.xx.xxx -Dorb.port=1050 application_server_startup.jar
- orbHost = System.getProperty("orb.host");
- orbPort = System.getProperty("orb.port");
Add Comment
Please, Sign In to add comment