Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 76B6D200B7E for ; Tue, 6 Sep 2016 14:49:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 68E90160ACE; Tue, 6 Sep 2016 12:49:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B19B4160AAD for ; Tue, 6 Sep 2016 14:49:13 +0200 (CEST) Received: (qmail 6998 invoked by uid 500); 6 Sep 2016 12:49:12 -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 6978 invoked by uid 99); 6 Sep 2016 12:49:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2016 12:49:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C7D3D1A7A77 for ; Tue, 6 Sep 2016 12:49:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.701 X-Spam-Level: X-Spam-Status: No, score=-0.701 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ky90FK7ibVvH for ; Tue, 6 Sep 2016 12:49:08 +0000 (UTC) Received: from relay-hub203.domainlocalhost.com (relay-hub203.domainlocalhost.com [74.115.204.53]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id A2E0F5FBD4 for ; Tue, 6 Sep 2016 12:49:07 +0000 (UTC) Received: from [192.168.17.187] (192.168.64.7) by smtp.domainlocalhost.com (192.168.69.3) with Microsoft SMTP Server (TLS) id 14.3.301.0; Tue, 6 Sep 2016 08:48:59 -0400 Subject: Re: Exporters for other RPC frameworks To: References: From: Dawid Loubser Message-ID: Date: Tue, 6 Sep 2016 14:48:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable archived-at: Tue, 06 Sep 2016 12:49:24 -0000 I'm going to have a chat to the client (I don't do that much work for them anymore). And I will have to dust off what I did, and probably generalise it - it was for very specific circumstances, developed in a hurry, but it's been running on a couple of services in production for 4 years, so the basics hold up :-) To be honest, I haven't looked at the work you guys have been doing on River 3 - but that would be a good starting point. What I did, was basically to write a service (which wraps a web container), which you could configure to look for other services (usually by type, but perhaps using other service properties as selection criteria). It would generate "smart" proxies (which track, and delegate calls to, a normal Jini service) and expose them as your choice of web service style (SOAP, REST) and manage them in the embedded web container. chat soon - Dawid On 06/09/2016 13:32, Bryan Thompson wrote: > +1 I see exposing Jini / River more broadly as key. > > Bryan > > On Tue, Sep 6, 2016 at 4:18 AM, Peter wrote: > >> Thanks Dawid, talk about surpassing expectations. >> >> That's great news if you're able to donate your webservices works to >> River, I agree, it will expose River to a potentially much wider audie= nce >> with needs that River is presently unable to cater for, and may ignite= >> greater interest as a result. >> >> Regards, >> >> Peter. >> >> Sent from my Samsung device. >> >> Include original message >> ---- Original message ---- >> From: Dawid Loubser >> Sent: 06/09/2016 07:37:26 pm >> To: dev@river.apache.org >> Subject: Re: Exporters for other RPC frameworks >> >> In 2012, I wrote infrastructure to export Jini services (running in >> Dennis Reedy's Rio service provisioning infrastructure) as either >> SOAP/XML web services, or RESTful JSON services, or - uniquely I belie= ve >> - both at the same time without having to write adaptors or different >> interfaces. >> >> I remember having to write some tricky smart-proxy generation code (I >> used ASM at the time) in order to end up with proxies which JAX-WS and= >> JAX-RS would be happy to expose (in an embedded Grizzly web container)= - >> and dealing smoothly with services coming, going, and moving. >> >> If anybody would be interested in my work in this space - even though = I >> did it commercially, I believe the client will be open to me >> open-sourcing it. >> >> But basically, I think there is a strong need to expose Jini services >> "at the edges" to common protocols like SOAP or RESTful JSON/HTTP. I >> couldn't find anything, which is why I wrote my own. >> >> warm regards, >> Dawid Loubser >> >> >> On 06/09/2016 11:12, Peter Firmstone wrote: >>> Anyone interested in Exporters for other RPC Frameworks? >>> >>> If so which and why? >>> >>> Pete. >>> >>> Sent from my Samsung device. >>> >>> >> >> >>