Building a CORBA Client

Building a CORBA client is just as easy as building a CORBA server. JBuilder provides wizards that generate client application code. The typical steps in creating a CORBA client application are

1.
Initialize the CORBA ORB.
2.
Create an instance of the CORBA client stub.
3.
Locate the CORBA server.
4.
Bind the CORBA server to the client stub.
5.
Call methods on the CORBA client stub.

The steps in calling a method on a CORBA server always involve creating a client stub, locating the CORBA server, and binding to the CORBA server. This code is necessary for every CORBA server that is needed.

JBuilder simplifies CORBA client code by providing a wizard that creates a wrapper class around the client stub files. The wrapper ...

Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.