Wednesday, 29 October 2014

     
CORBA EXAMPLE


       Assalamualaikum and hye to everybody.. This week we have learn about CORBA. First question in my mind, what is CORBA? CORBA stand for what? Is it coding? Programming?!! But now, my question was answered. Thanks for all who shared about CORBA (Common Object Request Broker Architecture) in this blog. 
    
        So, now I would like to share about little description of CORBA exampleThis example only illustrate the basic tasks in building a CORBA distributed application by using Java IDL. As usual, command "HELLO WORLD" is common use in any languages. Therefore, you will build the classic Hello World program as a distributed application. This program has single operation which it returns a string to be printed. 








      The way this program was running are the client invokes the sayHello method of the HelloServer. Then, the ORB (Object Request Broker) transfers previously invocation to the servant object registered for IDL interface. Now, servant's sayHello method runs, which returning a Java String. ORB transfers that String back to the client. Lastly, the clients will prints the value of the String.


No comments:

Post a Comment