Choosing Among DCOM, Native In Process, and Native Out of Process Modes

You can choose from three different setup modes with jCOM. Each relates to the physical configuration of your objects and the means of interprocess communication used between them. The modes are DCOM mode, native out of process mode, and native in process mode. Each mode addresses particular needs and has distinct advantages and disadvantages over the other.

DCOM Mode

The first option, DCOM mode, provides the most versatility and is required when the COM client and Java objects will be located on different physical machines (see Figure 33.2). DCOM is a wire-level protocol that was originated by Microsoft to allow distributed COM objects to communicate over the network.

Get BEA WebLogic Server™ 8.1 Unleashed 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.