Spec-Zone .ru
спецификации, руководства, описания, API

CORBA Compatibility Information - J2SE 5.0

CORBA API Changes Between J2SE 1.3 and J2SE 5.0

This document contains information regarding all of the API changes related to CORBA functionality between JDK 1.3 and 5.0. The changes have been made to make the APIs for the CORBA technology shipped in the JDK 5.0 compliant to the CORBA 2.3 mapping as specified by the following OMG documents:


API changes to org.omg.COSNaming classes

To comply with the IDL to Java mapping specified by the CORBA Version 2.3 specification, the following org.omg.COSNaming classes have been regenerated from the idlj compiler shipped with the JDK. This change (CCC 4284015) consists of the following API changes. Compatibility impact: None.

    To conform with CORBA V (2.3) All Helpers Section 1.5.2 Spec ptc/00-01-08.pdf, all Helpers are now abstract public classes. Below is the list of all Helper classes under org.omg.CosNaming that have been changed to abstract public classes.

    To conform with Section 1.7 OMG Spec ptc/00-01-08.pdf, Mapping for Enum, the mapping for the following Enum constructors is changed to protected.
     
    CLASS BEFORE NOW
    BindingType.java private BindingType( int ) protected BindingType( int )
    NotFoundReason.java private NotFoundReason( int ) protected NotFoundReason( int )

  1. To conform with CORBA 2.3 spec (ptc/00-01-08.pdf), Deletion of constructors in Stub classes, the following constructors have been deleted.
  2. CLASS BEFORE NOW
    _BindingIteratorStub.java public _BindingIteratorStub(org.omg.CORBA.portable.Delegate d) The constructor is deleted.
    _NamingContextStub.java public _NamingContextStub(org.omg.CORBA.portable.Delegate d) The constructor is deleted.

  3. To conform with CORBA 2.3 spec (ptc/00-01-08.pdf), the following exceptions have been changed.
  4. CLASS BEFORE NOW
    AlreadyBound.java public final class AlreadyBound extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity public final class AlreadyBound extends org.omg.CORBA.UserException
    AlreadyBound.java Only default constructor Add new constructor public AlreadyBound (String reason)
    CannotProceed.java public final class CannotProceed extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity public final class CannotProceed extends org.omg.CORBA.UserException
    CannotProceed.java Only default constructor  Add new constructor public CannotProceed (String reason)
    InvalidName.java public final class InvalidName extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity public final class InvalidName extends org.omg.CORBA.UserException
    InvalidName.java Only default constructor Add new constructor public InvalidName (String reason)
    NotEmpty.java public final class NotEmpty extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity public final class NotEmpty extends org.omg.CORBA.UserException
    NotEmpty.java Only default constructor Add new constructor public NotEmpty (String reason)
    NotFound.java public final class NotFound extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity public final class NotFound extends org.omg.CORBA.UserException
    NotFound.java Only default constructor Add new constructor public NotFound (String, org.omg.CosNaming.NamingContextPackage.NotFoundReason, org.omg.CosNaming.NameComponent[])

  5. To conform with the CORBA 2.3 specification, the following classes have been added.
  6. To conform with the CORBA 2.3 specification, the following classes are deprecated.


API changes to org.omg.CORBA


API changes to javax.rmi.CORBA

To comply with OMG API specifications, the following changes have been made to javax.rmi.CORBA:


Non-API changes

The following non-API changes were also implemented in JDK 5.0.

New API

The following new API were added to JDK 5.0.


Official Specifications for CORBA support in J2SE 5.0

Specification References

The specifications with which the Java 2 Platform Standard Edition (J2SE) 5.0 ORB complies are as follows. If these links do not take you to the referenced specification, the OMG may have changed the URL, and you can link to www.omg.org to search for the correct specification. These are the only specifications referenced by this document.

Supported Specification Details

Not all of the above specifications are currently implemented in the ORB in J2SE 5.0. The precise list of supported sections is as follows:

Tools




Other Compatibility Information


Copyright © 2001-2004 Sun Microsystems, Inc. All Rights Reserved.

Sun

Java Software