To open the Java Source Properties dialog, right-click on a Java file in the Navigation pane, and select Java Source Properties.
IMPORTANT: Be sure to use the scroll bar to the right of the dialog to access all options.
Distributed objects are objects that can be accessed remotely. This means that a distributed object can be used like a regular object, but from any machine on the network. The physical location of the object is not critical to the user of the object. To distribute Java objects in JBuilder, see Developing distributed applications for a detailed explanation.
The interface file is used to generate Java interface definitions and Java client and server stubs. To support the distribution of objects implemented in a variety of programming languages, this interface file is used to define the services offered by a particular distributed object. You can define the interface for the CORBA object in either IDL or Java, as follows:
Using a Java interface to describe a CORBA object has some limitations. All Java primitive types can be used. However, Java objects can be used to define the interface only if the object implements java.io.Serializable.
The Generate RMI stub/skeleton option generates Java Remote Method Invocation (RMI) stubs and skeletons from a Java file. Java RMI is an alternative to CORBA for creating distributed applications in an all-Java environment. See Developing distributed applications for more information.
You could use a Java interface or class file instead of an IDL file to create an interface that is Internet InterORB (Object Request Broker) Protocol (IIOP) compliant using by selecting Generate IIOP Interface. For more information on distributed objects in JBuilder, see Developing distributed applications.
The Generate IIOP Interface option generates an Internet InterORB (Object Request Broker) Protocol (IIOP) compatible Java interface file from a Java interface or class file. This is done by creating a new Java interface that extends org.omg.Corba.object. This Java interface can be used to describe CORBA interfaces in place of using an Interface Definition Language (IDL) file to describe the interfaces. The IIOP protocol maintains a basic set of functionality to ensure interoperability between client applications and server-based objects in a Common Object Request Broker Architecture (CORBA) architecture.
When this option is selected and the project is compiled, the following files are generated:
For more information on developing distributed applications in Java RMI, see Creating distributed applications using Java RMI.