Issue 1590: Marshalling of Any, Context, Principal, and TypeCode (java2idl-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: This item arises from the Java-to-IDL Mapping RFP, but is also of concern to the IDL-to-Java RTF because it affects the IDL-to-Java mapping. How do SerializationInputStream and SerializationOutputStream marshal Any, Context, Principal, and TypeCode objects? Is the same mechanism used as for user-defined IDL types, i.e., look for the IDLEntity marker interface and call the implementation helper class"s write or read method? If so, we need to clarify that vendor implementation of these types must implement IDLEntity and provide a Helper class. I propose that we state in the spec that vendor implementations of these types must implement IDLEntity and provide a Helper class. Resolution: Revised Text: Actions taken: June 29, 1998: received issue February 23, 1999: closed issue Discussion: End of Annotations:===== Return-Path: Date: Mon, 29 Jun 1998 14:10:29 +0100 From: Simon Nash Reply-To: nash@hursley.ibm.com Organization: IBM To: java2idl-rtf@omg.org Cc: java-rtf@omg.org, issues@omg.org Subject: Marshalling of Any, Context, Principal, and TypeCode This item arises from the Java-to-IDL Mapping RFP, but is also of concern to the IDL-to-Java RTF because it affects the IDL-to-Java mapping. How do SerializationInputStream and SerializationOutputStream marshal Any, Context, Principal, and TypeCode objects? Is the same mechanism used as for user-defined IDL types, i.e., look for the IDLEntity marker interface and call the implementation helper class's write or read method? If so, we need to clarify that vendor implementation of these types must implement IDLEntity and provide a Helper class. I propose that we state in the spec that vendor implementations of these types must implement IDLEntity and provide a Helper class. Simon -- Simon C Nash, IBM Java Technology Centre, Hursley, UK MailPoint 146, x245156 Tel. 01962 815156 or +44-1962-815156 Internet: nash@hursley.ibm.com Notes mail: Simon Nash@ibmgb Return-Path: Sender: jis@fpk.hp.com Date: Mon, 29 Jun 1998 10:41:12 -0400 From: Jishnu Mukerji Reply-To: jis@fpk.hp.com Organization: Hewlett-Packard New Jersey Labs To: nash@hursley.ibm.com Cc: java2idl-rtf@omg.org, java-rtf@omg.org, issues@omg.org Subject: Re: Marshalling of Any, Context, Principal, and TypeCode References: <35979245.B64BC38F@mailserver.hursley.ibm.com> Simon Nash wrote: > > This item arises from the Java-to-IDL Mapping RFP, but is also of > concern to the IDL-to-Java RTF because it affects the IDL-to-Java > mapping. > > How do SerializationInputStream and SerializationOutputStream > marshal > Any, Context, Principal, and TypeCode objects? Is the same > mechanism > used as for user-defined IDL types, i.e., look for the IDLEntity > marker interface and call the implementation helper class's write > or read method? If so, we need to clarify that vendor > implementation > of these types must implement IDLEntity and provide a Helper class. I thought I should point out that there is no "Principal" to marshal in CORBA Core 2.3. -- Jishnu Mukerji Email: jis@fpk.hp.com Hewlett-Packard New Jersey Labs, Tel: +1 973 443 7528 300 Campus Drive, 2E-62, Fax: +1 973 443 7422 Florham Park, NJ 07932, USA. Return-Path: Date: Mon, 29 Jun 1998 15:55:21 +0100 From: Simon Nash Reply-To: nash@hursley.ibm.com Organization: IBM To: jis@fpk.hp.com Cc: java2idl-rtf@omg.org, java-rtf@omg.org, issues@omg.org Subject: Re: Marshalling of Any, Context, Principal, and TypeCode References: <35979245.B64BC38F@mailserver.hursley.ibm.com> <3597A788.349B2F4A@fpk.hp.com> Jishnu, I included Principal because the latest IDL to Java mapping spec (the Java POA document) still has read_Principal and write_Principal methods on the portability streams. Do these need to be removed? I hereby raise this as an issue for the Java RTF. Simon Jishnu Mukerji wrote: > > Simon Nash wrote: > > > > This item arises from the Java-to-IDL Mapping RFP, but is also of > > concern to the IDL-to-Java RTF because it affects the IDL-to-Java > > mapping. > > > > How do SerializationInputStream and SerializationOutputStream > marshal > > Any, Context, Principal, and TypeCode objects? Is the same > mechanism > > used as for user-defined IDL types, i.e., look for the IDLEntity > > marker interface and call the implementation helper class's write > > or read method? If so, we need to clarify that vendor > implementation > > of these types must implement IDLEntity and provide a Helper > class. > > I thought I should point out that there is no "Principal" to marshal > in > CORBA Core 2.3. > > -- > Jishnu Mukerji > > Email: jis@fpk.hp.com Hewlett-Packard New Jersey Labs, > Tel: +1 973 443 7528 300 Campus Drive, 2E-62, > Fax: +1 973 443 7422 Florham Park, NJ 07932, USA. -- Simon C Nash, IBM Java Technology Centre, Hursley, UK MailPoint 146, x245156 Tel. 01962 815156 or +44-1962-815156 Internet: nash@hursley.ibm.com Notes mail: Simon Nash@ibmgb