Issue 1993: create_lname & create_lname_context (java-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: The naming service states that LName and LNameComponent are created in C/C++ using the create_lname and create_lname_context functions respectively. No mention is made as to how this is achieved in Java. Should it be possible to simply create an instance of the class using new, or is there a need for a factory class? Resolution: These functions (library) has been deprecated by the newly adopted Interoperable Naming Service. Revised Text: Actions taken: September 23, 1998: received issue June 4, 1999: closed issue Discussion: End of Annotations:===== Return-Path: From: "James Pasley" To: , Subject: create_lname & create_lname_context Date: Wed, 23 Sep 1998 15:22:18 +0100 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 The naming service states that LName and LNameComponent are created in C/C++ using the create_lname and create_lname_context functions respectively. No mention is made as to how this is achieved in Java. Should it be possible to simply create an instance of the class using new, or is there a need for a factory class? James Pasley, Senior Software Engineer ApTest Ireland Ltd, Ph: +353-1-662 9012 10 Lower Hatch Street, Fax: +353-1-662 9310 Dublin 2, IRELAND Email: james@aptest.ie Return-Path: From: "Daniel R. Frantz" To: "'James Pasley'" , , Subject: RE: create_lname & create_lname_context Date: Wed, 23 Sep 1998 11:06:07 -0400 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Importance: Normal >-----Original Message----- >From: James Pasley [mailto:james@aptest.ie] >Sent: Wednesday, September 23, 1998 10:22 AM >To: naming@omg.org; java-rtf@omg.org >Subject: create_lname & create_lname_context > >The naming service states that LName and LNameComponent are created >in C/C++ using the create_lname and create_lname_context functions >respectively. No mention is made as to how this is achieved in Java. > >Should it be possible to simply create an instance of the >class using new, or is there a need for a factory class? It's not surprising that the naming service doesn't mention Java since Java didn't exist at the time. What is surprising is that the naming service mentioned C++ since the services are supposed to define only IDL and the mappings should take care of themselves. The LNames part of Naming is therefore ill-formed and often varies from vendor to vendor, if offered at all. If there needs to be a Java mapping, the Java RTF should do it. However, it is quite likely (as announced at the last OMG meeting in Seattle) that the Interoperable Naming Service RFP submission will deprecate the Lnames library. The Java RTF shouldn't bother and, if I were you, I wouldn't be using it at all. Dan Frantz Return-Path: X-Authentication-Warning: fatcat.dstc.edu.au: michi owned process doing -bs Date: Thu, 24 Sep 1998 06:23:34 +1000 (EST) From: Michi Henning To: James Pasley cc: naming@omg.org, java-rtf@omg.org, inaming@dstc.edu.au Subject: Re: create_lname & create_lname_context On Wed, 23 Sep 1998, James Pasley wrote: > The naming service states that LName and LNameComponent are created > in C/C++ using the create_lname and create_lname_context functions > respectively. > No mention is made as to how this is achieved in Java. > > Should it be possible to simply create an instance of the class > using new, > or is there a need for a factory class? In absence of a specific language mapping for these, you would have to assume that the standard mapping rules apply. However, beware that the current Interoperable Naming Service submitters are like to deprecate the names library completely, so this question may be moot soon. Cheers, Michi. -- Michi Henning +61 7 33654310 DSTC Pty Ltd +61 7 33654311 (fax) University of Qld 4072 michi@dstc.edu.au AUSTRALIA http://www.dstc.edu.au/BDU/staff/michi-henning.html