Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFA0711A6F for ; Thu, 12 Jun 2014 14:43:56 +0000 (UTC) Received: (qmail 18287 invoked by uid 500); 12 Jun 2014 14:43:56 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 18239 invoked by uid 500); 12 Jun 2014 14:43:56 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 18228 invoked by uid 99); 12 Jun 2014 14:43:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 14:43:56 +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 (nike.apache.org: domain of cusmaimatteo@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 14:43:54 +0000 Received: by mail-wg0-f49.google.com with SMTP id y10so1392872wgg.32 for ; Thu, 12 Jun 2014 07:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3NURnZuEeoIgRa0jrXNSMnhlU1bpCrkFF1NNlhFI9aY=; b=vcMdRF9FUE/Zo8n0EjrMRR1zJsml42cTb1KLNiLaFYQq/GxcaFk5/3IXdCvWfTLHYt IqC13/7XtkNoMFm/Opy52/UrDrufoWpWIgeSMJ5WWtVSwqNVZX4BhKuLm6tAj7xSMYsb T1LXbcVRZ7f8BkKR0qQtfITiS6V/erJ+IDJxl1rkQ3rRQRi1aOPxMhJvJu4RHqWC03M4 WUDKKbQL8Uz221Xzz1jRZn0yqqcEtOhRq2TYka5+IYQACEKwHOvGjMMN8I1DVmHKg6y1 mGtCHMVFaDwrdkOQ9JwgBKWgNcLC8wscKLpSXKl8UneS3eHjLLTazH3u4156iqHn/mzx Pivg== MIME-Version: 1.0 X-Received: by 10.180.84.168 with SMTP id a8mr7184326wiz.36.1402584210519; Thu, 12 Jun 2014 07:43:30 -0700 (PDT) Received: by 10.194.86.2 with HTTP; Thu, 12 Jun 2014 07:43:30 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Jun 2014 16:43:30 +0200 Message-ID: Subject: Re: Java stratos api From: Matteo Cusmai To: dev@stratos.apache.org Content-Type: multipart/alternative; boundary=f46d041827f2a2bf1d04fba49589 X-Virus-Checked: Checked by ClamAV on apache.org --f46d041827f2a2bf1d04fba49589 Content-Type: text/plain; charset=UTF-8 Hi Imesh, thanks a lot for the answer and for the useful links. However, I know a bit WSO2 and I know it provides useful capabilities to develop a multi tenant application. But suppose that I cannot use it, how can I retrieve tenant information from my java code? Matteo Cusmai On Thu, Jun 12, 2014 at 4:38 PM, Imesh Gunaratne wrote: > Hi Matteo, > > According to Stratos architecture there are no requirements for using > certain APIs/libraries for developing applications. It's completely loosely > coupled. Applications can be developed according to the requirements of the > cartridge they run on. > > If you are looking at developing a Multi-Tenant application, AFAIK Tomcat > does not provide Multi-Tenancy features out of the box. However you could > use Carbon framework [1] for that. Yes I could see JBoss/Hibernate also > provide Multi-Tenancy features [2]. > > [1] > http://wso2.com/library/blog-post/2013/09/creating-a-saas-app-with-the-multi-tenant-carbon-framework-step-1/ > [2] https://community.jboss.org/wiki/Multi-tenancyDesign > > Thanks > > > On Thu, Jun 12, 2014 at 11:33 AM, Matteo Cusmai > wrote: > >> Hi all, >> I am going to develop a java saas application, and I would like to use >> stratos with tomcat, or jboss after have developed a jboss cartdrige. >> >> Which are the java api/lib that I have to use in order to develop a multi >> tenant application? >> >> Thanks in advance, >> Matteo. >> > > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PPMC Member, Apache Stratos > --f46d041827f2a2bf1d04fba49589 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Imesh,
thanks a lot for the ans= wer and for the useful links.

However, I know a bit WSO2 and I= know it provides useful capabilities to develop a multi tenant application= .
But suppose that I cannot use it, how can I retrieve tenant informati= on from my java code?


Matteo Cusmai


On Thu, Jun 12, 2014 at 4:38 PM, Imesh G= unaratne <imesh@apache.org> wrote:
Hi Matteo,

According to Stratos archite= cture there are no requirements for using certain APIs/libraries for develo= ping applications. It's completely loosely coupled. Applications can be= developed according to the requirements of the cartridge they run on.

If you are looking at developing a Multi-Tenant applica= tion, AFAIK Tomcat does not provide Multi-Tenancy features out of the box. = However you could use Carbon framework [1] for that. Yes I could see JBoss/= Hibernate also provide Multi-Tenancy features [2].




On Thu, Jun 12, 2014 at 11:33 AM, Matteo Cusmai <cusmaimatteo@gmail.c= om> wrote:

Hi all,
I am going to develop a java saas application, and I would like to use stra= tos with tomcat, or jboss after have developed a jboss cartdrige.

Which are the java api/lib that I have to use in order to de= velop a multi tenant application?

Thanks in advance,
Matteo.




<= span class=3D"HOEnZb">--
Imesh= Gunaratne

Technical Lead, WSO2
C= ommitter & PPMC Member, Apache Stratos

--f46d041827f2a2bf1d04fba49589--