Yurttas/PL/OOL/Java/F/08/02/00/00/index page
java programming language fundamentals | |
8. distributed object technology |
CORBA - OMG - Hello - 00
hello message server/client with CORBA using idlj
[ server and client on a local machine - this won't run through the web ]
- idlj -fall Hello00.idl
[ creates Hello00 directory with java code ] - javac HelloServer00.java HelloClient00.java HelloImp00.java
- orbd -ORBInitialPort 1500 localhost
[ to start the ORB, on any command-line prompt with the choice of port and host ] - java HelloServer00 -ORBInitialPort 1500 -ORBInitialHost localhost
[ to start the server, on any command-line prompt with the matching port and host orbd ] - java HelloClient00 -ORBInitialPort 1500 -ORBInitialHost localhost
[ to start the client, on any command-line prompt with the matching port and host orbd/server ]
- Hello00.idl
[ interface written in CORBA IDL ] - HelloServer00.java
[ server java class ] - HelloClient00.java
[ client java class ] - HelloImp00.java
[ implementation java class ]
concurrency << | >> design patterns
Dr. Salih Yurttas