Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-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 818C6CE12 for ; Thu, 13 Jun 2013 19:15:28 +0000 (UTC) Received: (qmail 76278 invoked by uid 500); 13 Jun 2013 19:15:28 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 76253 invoked by uid 500); 13 Jun 2013 19:15:27 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 76241 invoked by uid 99); 13 Jun 2013 19:15:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 19:15:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shameerainfo@gmail.com designates 209.85.128.170 as permitted sender) Received: from [209.85.128.170] (HELO mail-ve0-f170.google.com) (209.85.128.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 19:15:23 +0000 Received: by mail-ve0-f170.google.com with SMTP id 14so8115310vea.1 for ; Thu, 13 Jun 2013 12:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=DaHPLyg/KmhcXr41hjx/yXWnLjGaGagjEbJpSbJpDi8=; b=0/uTtK6pi8frbrIe7OSbJcaS9e96o8EKK6ck20nYPC3QWCdN0Q/7WbkPE2QJw8K0tU j8HmkStbUFrhrWM2qA99dG4PvGY5ZtsCtrH5FUTYNbO814LbdsIq8fqmxe1ZOKZrI1uB JHenGxhYXo2oxvJPqRqxj0Z6TORhX8O2eo6/Mp+YhsoWu7MheSnRYrqH+H0V5QQT5BK6 LL1U9O2aCbzVWmpbUHY93mQltleYhp23pSwgew0ST+ostEzDnVR0AFAQW+tF9O21LAw8 jJWv7GLaBECBMeQ3qkvfQEUBoxWlQI2GIg+tENEUNEh8B650LB9y6WFRe0JpMrehTSf2 u6bw== X-Received: by 10.52.36.115 with SMTP id p19mr849810vdj.8.1371150902237; Thu, 13 Jun 2013 12:15:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.8.81 with HTTP; Thu, 13 Jun 2013 12:14:41 -0700 (PDT) In-Reply-To: References: <51B08CA7.7010002@iu.edu> <56CDE5CC-C79B-4FC3-A566-6935FA12412F@gmail.com> <241964AD-D670-4BF6-B7BD-0FCA78033E1C@gmail.com> From: Shameera Rathnayaka Date: Fri, 14 Jun 2013 00:44:41 +0530 Message-ID: Subject: Re: Initiating GSoC Project - JSON support and JSON to XML bidirectional conversion for Airavata To: dev Cc: Lahiru Gunathilake Content-Type: multipart/alternative; boundary=20cf307cfd8c7622a404df0df222 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307cfd8c7622a404df0df222 Content-Type: text/plain; charset=ISO-8859-1 Hi all, According to the above suggestions now we have 3 options. Here i have summarized all pros and cons of each option. Still need some help on selecting best one. If it is possible, it would be good to have a hangout session for this. *1. Write a new JS Client* *pros * Don't need to get mixed with java Better tooling support Perfectly match with front-end developments *cons * Have to maintain two APIs Need more effort to make it stable *2.Extend Airavata java client API to use JSON as it's underline data fromat.Call this API withing JS code. * *pros* Single API, easy to manage Already stable component *cons* Front-end mixed with java Lack of tooling support *3.Write a new JS API by wrapping extended Airavata java client, which use JSON as data format.* (This is combination of option 1 and 2) *pros and cons* Front-end developer has all pros and cons of option 1 API provider has all pros and cons of option 2 I personally don't think Airavata need two GUIs (XBaya and Web UI) for front end. We can gradually navigate to web based UI from XBaya. Then we don't need to maintain two APIs if we choose first option. As there is no any concerns for provided conversion, we can select it as our standard, WDYT? Cheers, Shameera. On Sun, Jun 9, 2013 at 6:40 AM, Danushka Menikkumbura < danushka.menikkumbura@gmail.com> wrote: > Hi Vijayendra, > > I want to know where do we implement RabbitMQ message broker. As RabbitMQ > > implements AMQP. Where exactly are we going to implement this and where > > exactly > > RabbitMQ clients(publisher) be? It would be better if you can put it in > a > > diagram. I am not able to see any of your diagrams in the proposal. > > How exactly messaging system fits in the fig1.(shameera's diagram) ? > > > > The RabbitMQ broker will run independently. We will have a Java client API > to facilitate publish/subscribe to the broker and necessary bits in the > JSON/XML library to wrap those calls. > > > > one more question is, as we are implementing AMQP a wire-level protocol > > standard for messaging, AMQP > > specification essentially creates a message-based interoperability > model. > > This means that as long as you are using AMQP you can connect and send > > message to > > any AMQP message broker using any AMQP client. > > Are we doing away with traditional and popular JMS ?? I don't see the > need > > of that any more. > > > > Yes.We do not need JMS here. As you have mentioned, since AMQP defines a > standard wire-level protocol, different implementations are ought to be > inter-operable, nevertheless it is more theoretical than practical :-). > Anyway I know that a Qpid/Java client can talk to a Qpid/C++ broker without > any issue. > > > > I also came across another AMQP messaging system Apache Qpid. > > I want to know Why are we not thinking of using this? Why RabbitMQ ? I am > > new to both of them :) . > > > > The main reasons why we opted for RabbitMQ were its rich user community and > its robustness. I have mixed feelings about Qpid. On the good side, the C++ > implementation is very robust and well-written. We could have used the > Qpid/C++ broker. On the bad (sad) side, the Java broker nor the client API > is robust. There are(were) lots of memory leaks that are very difficult to > live with, and few other issues. > > Thanks, > Danushka > -- Best Regards, Shameera Rathnayaka. email: shameera AT apache.org , shameerainfo AT gmail.com Blog : http://shameerarathnayaka.blogspot.com/ --20cf307cfd8c7622a404df0df222--