Contents
Chapter 1: Developing distributed applications
Chapter 2: Setting up JBuilder for CORBA applications
Chapter 3: Exploring CORBA applications in JBuilder
What is CORBA?
What is VisiBroker?
How JBuilder and VisiBroker work together
Tutorial: creating a CORBA application in JBuilder
Set up the project
Define the interfaces for the CORBA objects in IDL
Generating client stubs and server servants
Implement the client
Providing an implementation for the CORBA interface
Implement the server
Compile the application
Run the Java client application
Start the Smart Agent
Start the server
Run the client
Deploy the application
Other sample applications
Chapter 4: Exploring Java RMI-based distributed applications in JBuilder
Tutorial: creating a Java RMI-based distributed application in JBuilder
Write the Java source and HTML files
Define the functions of the remote class as an interface written in the Java programming language
Write the implementation and server classes
Write a client program that uses the remote service
Write the HTML file that contains the applet
Write the policy file
Compile and deploy class files and HTML files
Compile the Java source files
Start the RMI registry, server, and applet
Start the RMI Bootstrap Registry
Start the server
Run the applet
Chapter 5: Defining CORBA interfaces with Java
Caffeine
Accessing the java2iiop or java2idl compiler in JBuilder
Working with the java2iiop compiler
RMI vs. Caffeine
Tutorial: Generating IIOP interfaces running java2iiop
Completing the development process
Using rmi-iiop
Mapping of primitive date types
Mapping of complex data types
Interfaces
Arrays
Mapping Java classes
Extensible structs
Generating IDL interfaces from Java (using java2idl)
Chapter 6: Debugging distributed applications
About remote debugging
Launching and debugging a program on a remote computer
Debugging a program already running on the remote computer
Debugging local code running in a separate process
Debugging with cross-process breakpoints
© 1997, 2000 by INPRISE Corporation, Inc.
All Rights Reserved