Question: -Create package named mid2 inside your project. The CORBA related files and classes will be placed inside this package. -Inside mid2 package, create the

-Create package named mid2 inside your project. The CORBA related files and

 

-Create package named mid2 inside your project. The CORBA related files and classes will be placed inside this package. -Inside mid2 package, create the other two sub-packages: server and client. All classes related to the server/servant will have to be placed inside server package and all client-related classes will have to be placed inside client package. -The client program must test the methods as reflected in the CORBA IDL file. Register the CORBA object in the orb with the string "convert". Also, include the file mid2.idl in the mid2 package. Content of the file is as follows: -For the ORB port numbers, you are to use 1100 (ORB). module converter { interface Conversion { double convertToInch(in double cm); double convertToCm(in double inch); }; }; Remember that an inch is equivalent to 2.54 centimeters!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

no ans... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!