BEA Logo BEA WebLogic Enterprise Release 5.0

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   WLE Doc Home   |   idltojava Compiler and Related Topics   |   Previous   |   Next   |   Contents   |   Index

Using the idltojava Compiler

To build Java applications that can access CORBA objects, you need the BEA idltojava compiler, a tool that converts IDL files to Java stub and skeleton files. The idltojava compiler is included with the BEA WebLogic Enterprise (WLE) software.

This topic explains what enhancements are included on the BEA idltojava compiler, the relationship of Java IDL to CORBA, and how you can use Java IDL to create Java applications that interoperate with CORBA objects. The section "Using the idltojava Command" describes how to run the idltojava compiler and explains all the command line options and flags. Several code examples are included, along with information about the CORBA IDL to Java mappings that the idltojava tool implements, and references to API reference pages that relate to Java IDL and the idltojava compiler.

      

 

Overview of Java CORBA Programming

Where do I get the BEA idltojava compiler?

How does the BEA idltojava compiler differ from the Sun Microsystems, Inc. version?

What is IDL?

What is Java IDL?

About Distributed Applications

   Multi-Tiered Applications

   User Interface Tier

   Service or Business Logic Tier

   Data Store (Database) Tier

About CORBA and Java IDL

   About CORBA

   Accessing CORBA Objects from Java Applications

   A Quick Review of CORBA Concepts

   Defining and Implementing CORBA Objects

      CORBA Object Interfaces

      Java Language-based Implementation

   Client Implementation

   The FactoryFinder

What's next?

 

Using the idltojava Command

Syntax of the idltojava Command

idltojava Command Description

Running idltojava on Client or Joint Client/Server IDL Files

Running m3idltojava on Server Side IDL Files

idltojava Command Options

idltojava Command Flags

Using #pragma in IDL Files

 

Java IDL Examples

Getting Started with a Simple Example of IDL

Callback Objects IDL Example

Persistent State and User Exceptions IDL Example

Implementation Inheritance

 

Java IDL Programming Concepts

Exceptions

   Differences Between CORBA and Java Exceptions

   System Exceptions

      System Exception Structure

       Minor Codes

      Completion Status

   User Exceptions

   Minor Code Meanings

Initializations

   Creating an ORB Object

      Creating an ORB for an Application

      Creating an ORB for an Applet

       Arguments to ORB.init()

      System Properties

   Obtaining Initial Object References

      Stringified Object References

      Getting References from the ORB

The FactoryFinder Interface

 

IDL to Java Mappings Used By the idltojava Compiler

 

The Java IDL API