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