Developing distributed applications
Understanding the distributed computing options
Common Object Request Broker Architecture (CORBA)
Java Remote Method Invocation (RMI)
Caffeine
Overview: creating a distributed application in JBuilder
Outline: creating a CORBA application in JBuilder
Running a CORBA application
Outline: creating an RMI application in JBuilder
Tutorial: creating distributed applications in CORBA
The Bank application
Defining the interface for the CORBA object
Compiling the CORBA interface definitions to generate Java code
Code Generation
Implement the CORBA interface
Create the client
Client.java
AccountManagerHelper.java
The bind Method
Other Methods
_st_AccountManager.java
_st_Account.java
Create the CORBA server
Server.java
The AccountManager Class Hierarchy
Building the example programs
Starting a Smart Agent (OsAgent)
Running the Server
Running a Client
Deployment
Extending the banking application to be an applet
Overview
Incorporating the applet into HTML
The Gatekeeper
Using the appletviewer
Running the Example
Other sample applications
Tutorial: creating a distributed application with Java RMI
Write the HTML and Java source files
Define a remote interface
Write an implementation class
Implement a remote interface
Define the constructor for the remote object
Provide an implementation for each remote method
Create and install a security manager
Create one or more instances of a remote object
Register a remote object
Write an applet that uses the remote service
Write the Web page that contains the applet
Compile and deploy class files and HTML files
Compile the Java source files
Move the HTML file to the deployment directory
Start the remote object registry, server, and applet
Start the RMI Bootstrap Registry
Start the server
Run the applet
Caffeine: defining CORBA interfaces with Java
Caffeine
Working with the java2iiop compiler
RMI vs. Caffeine
Running java2iiop
Completing the development process
The Dictionary example
Mapping of primitive date types
Mapping of complex data types
Interfaces
Arrays
Mapping Java classes
Extensible structs
An extensible struct example
Summary
Extensible structs and GIOP messages
For more information
Links to related web sites
Books
Newsgroups
Glossary
How Do I
Learn more about distributed applications features?
Create a CORBA application in JBuilder?
Create a distributed application using RMI in JBuilder?
Develop a distributed, object-based application using JBuilder and VisiBroker for Java?
Develop a distributed application using Java?