Yurttas/PL/OOL/Java/F/08/02/02/00/index page
Jump to navigation
Jump to search
| java programming language fundamentals | |
| 8. distributed object technology |
CORBA - OMG - PhoneBook - 00
phonebook application for lookup name/number as a server/client with CORBA using idlj
[ server and client on a local machine - this won't run through the web ]
- idlj -fall PhoneBook00.idl
[ creates PhoneBook00 directory with java code ] - javac PhoneBookServer00.java PhoneBookClientA.java PhoneBookImp00.java
- orbd -ORBInitialPort 1500 localhost
[ to start the ORB, on any command-line prompt with the choice of port and host ] - java PhoneBookServer00 -ORBInitialPort 1500 -ORBInitialHost localhost
[ to start the server, on any command-line prompt with the matching port and host orbd ] - java PhoneBookClientA -ORBInitialPort 1500 -ORBInitialHost localhost
[ to start the client, on any command-line prompt with the matching port and host orbd/server ]
- PhoneBook00.idl
[ interface written in CORBA IDL ] - PhoneBookServer00.java
[ server java class ] - PhoneBookClientA.java
[ client java class ] - PhoneBookServant00.java
[ implementation java class ]
concurrency << | >> design patterns
Dr. Salih Yurttas