[Next]
Netscape ISB for Java Programmer's Guide - Provides reference information on how to develop and program distributed, object-based applications in Java for Windows and Unix using the Netscape Internet Service Broker.
Last Updated 2/98.
Contents
Preface
- Overview
- Organization of this Guide
- Typographic Conventions
- Platform Conventions
- Where to Find Additional Information
Chapter 1 ISB for Java Basics
- What is CORBA?
- What is ISB for Java?
- Overview of the Development Process
- Interoperability with ISB for C++
- ISB for Java Features
Chapter 2 Getting Started
- Setting Up
- Enterprise Server Requirements
- Setting Your PATH Variable
- Setting Your CLASSPATH Variable
- Developing Applications
- A Sample Application
- Defining Interfaces in IDL
- Running the idl2java Compiler
- Implementing Interfaces
- Writing a Server Application
- Writing a Client Application or Applet
- Starting a Server Application
- Starting a Client Application
- Advanced Networking Options
- Running a Client Applet
Chapter 3 Naming and Binding to Objects
- Web Naming Service
- Operations on Object References
- Converting an Object Reference to a String
- Narrowing Object References
- Interface and Object Names
- Interface Names
- Object Names
Chapter 4 Object and Implementation Activation
- Object Implementation
- Persistent Object References
- Checking for Persistent Object References
- Object Registration
- Activating Objects Directly
- The Basic Object Adaptor
- Object and Implementation Deactivation
Chapter 5 The Dynamic Invocation Interface
- Overview
- Steps for Dynamic Invocation
- Using the idl2java Compiler
- Obtaining an Object Reference
- Creating and Initializing a Request
- The _create_request Methods
- The _request Method
- Setting the Arguments
- The Any Class
- The TypeCode Class
- Sending a DII Request
- Receiving the Result
- The send_deferred Method
- The send_oneway Method
- Sending Multiple Requests
- Receiving Multiple Requests
Chapter 6 The Tie Mechanism
- Overview
- The Tie Example Program
- Generating Tie Files
- Implementing Tie Interfaces
- Writing a Tie Server Application
Chapter 7 The Interface Repository
- Overview
- IR Structure
- Identifying IR Objects
- IRObject Types
- Using the IR
- Setting VBROKER_ADM
- Starting the IR
- Populating the IR
- Accessing the IR
Chapter 8 Defining CORBA Interfaces With Java
- About Caffeine
- Working with the java2iiop Compiler
- Running java2iiop
- Completing the Development Process
- A Caffeine Example
- Mapping of Primitive Data Types
- Mapping of Complex Data Types
- Interfaces
- Arrays
- Mapping Java Classes
- Extensible Structs
- An Extensible Struct Example
- Extensible Structs and GIOP Messages
Chapter 9 Managing Threads and Connections
- Server Thread-per-session Policy
Chapter 10 The Dynamic Skeleton Interface
- Overview
- Example Program
- Using DSI
- The DynamicImplementation Class
- Specifying Repository Ids
- The ServerRequest Class
- Implementing the Account Object
- Implementing the AccountManager Object
- The Server Implementation
Appendix A Troubleshooting
- Language Mapping and Name Changes
- Name Changes
- Build Errors
- Compilation Errors
- Recompiling IDL Files
- Debugging the Runtime
- System Properties
- Environment Variables
[Next]
Last Updated: 02/04/98 13:44:26
Copyright © 1997
Netscape Communications Corporation