Writing a CORBA client is quite similar to writing an RMI client. You first need to decide whether to write a standalone application or a client. At present, it's a bit more straightforward to write standalone applications, since browser support for CORBA is somewhat immature.
Whether you write an applet or application, the client needs to first initialize the client-side ORB and then create a stub for the remote object using the CORBA Name Service. The client can then call remote methods.
We will start by discussing how to write standalone Java clients, followed by a quick discussion on applets.