Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

CORBA Servers

One of the beauties of CORBA servers is that they are started up automatically by the Object Request Broker. When we used sockets and RMI, we had to start our servers manually, but here we simply create our server, register it with the ORB, and forget about it. Every time a client invokes the server, the server will start up (if it isn't running already), initialize itself, and ready itself for invocations. To the client, all of this happens seamlessly and with no additional work needed.

Defining an Interface and Generating Code

In the previous section, we defined our interface as follows:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint