Return-Path: X-Original-To: apmail-river-dev-archive@www.apache.org Delivered-To: apmail-river-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BC0F3E5E3 for ; Sun, 27 Jan 2013 01:29:09 +0000 (UTC) Received: (qmail 8316 invoked by uid 500); 27 Jan 2013 01:29:09 -0000 Delivered-To: apmail-river-dev-archive@river.apache.org Received: (qmail 8296 invoked by uid 500); 27 Jan 2013 01:29:09 -0000 Mailing-List: contact dev-help@river.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@river.apache.org Delivered-To: mailing list dev@river.apache.org Received: (qmail 8288 invoked by uid 99); 27 Jan 2013 01:29:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2013 01:29:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [207.57.65.70] (HELO zeus.net.au) (207.57.65.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2013 01:29:03 +0000 Received: (qmail 19538 invoked by uid 16710); 27 Jan 2013 01:28:41 -0000 Received: from unknown (HELO [10.5.189.189]) (jini@[49.176.97.131]) (envelope-sender ) by 207.57.65.70 (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 27 Jan 2013 01:28:41 -0000 Message-ID: <510482FF.7080805@zeus.net.au> Date: Sun, 27 Jan 2013 11:29:35 +1000 From: Peter Firmstone User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: dev@river.apache.org CC: tim.blackman@gmail.com Subject: Re: Dirmi might be something to look at References: <5100BB03.9080907@cox.net> <1359092861.14871.5.camel@Nokia-N900-51-1> <5103D995.3030400@zeus.net.au> <12A5EA0F-BDE9-4B5E-BC97-C54BA4A8972F@gmail.com> In-Reply-To: <12A5EA0F-BDE9-4B5E-BC97-C54BA4A8972F@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 27/01/2013 7:57 AM, Tim Blackman wrote: > On Jan 26, 2013, at 8:26 AM, Peter Firmstone wrote: > >> There are parts of Jini that depend on proprietary sun jvm namespace, preventing it from compiling on other jvm's: >> >> Compiling 863 source files to C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\build\classes >> C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\phoenix\SunJrmpExporter.java:31: warning: sun.rmi.server.UnicastServerRef is Sun proprietary API and may be removed in a future release > The JRMP exporter is just a way to use Exporters with standard RMI rather than JERI. You could convert that into a separate distribution that was specific to the Sun/Oracle JVM. Of course, since the things in question are part of RMI, they are probably part of most Java implementations anyway. Definitely separate from JERI. > In this case SunJrmpExporter is unique to Phoenix, the exporter in net.jini.jrmp.JrmpExporter doesn't utilise private namespace. SunJrmpExporter allows a known java.rmi.server.ObjID to be used, while JrmpExporter doesn't. The question is: "Does Phoenix need to use a Registry exported over JRMP, for activatable services that use a JRMP exporter?" >> import sun.rmi.server.MarshalInputStream; >> C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\phoenix\RegistrySunExporter.java:29: warning: sun.rmi.server.UnicastServerRef is Sun proprietary API and may be removed in a future release > Hmm, not as sure about this one. > Is this exporter needed for Phoenix? Yes. If we wanted activation, we'd need to replace the functionality in java.rmi.registry.LocateRegistry, to allow a Registry to be exported over JERI endpoints. Registry is a service provided at a known location, used for bootstrapping. > Do you view activation as an important part of JERI, or could that be split out as well? I guess it would depend on the amount of work required, the Activation interfaces could stay, the implementation, Phoenix, can't without first replacing functionality in classes that access sun private namespace , so it would be provided separately. Thanks Tim, glad to see you're still monitoring the list ;) Cheers, Peter.