|
|
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 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 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 CORBA Java Programming
Where Do I Get the BEA idltojava Compiler?
How Does the BEA idltojava Compiler Differ From the Sun Microsystems, Inc. Version?
Accessing CORBA Objects from Java Applications
Defining and Implementing CORBA Objects
Java Language-based Implementation
Syntax of the idltojava Command
Running idltojava on Client or Joint Client/Server IDL Files
Running m3idltojava on Server Side IDL Files
Getting Started with a Simple Example of IDL
Persistent State and User Exceptions IDL Example
Differences Between CORBA and Java Exceptions
Creating an ORB for an Application
Obtaining Initial Object References
Getting References From the ORB
IDL-to-Java Mappings Used By the idltojava Compiler
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|