Imesh IMO your answer is not correct :-). Stratos has a set of APIs that
allows a super tenant app to be an multi-tenant SaaS app - for example the
admin app is written like that. What Matteo is asking is how to use Stratos
as the foundation of a SaaS application!

Sameera you're giving a talk on this at WSO2Con next week in Barcelona :-).
Maybe you can answer and then share the slides after.

Cheers,

Sanjiva.


On Thu, Jun 12, 2014 at 8:13 PM, Matteo Cusmai <cusmaimat...@gmail.com>
wrote:

> 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 <im...@apache.org> 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 <cusmaimat...@gmail.com>
>> 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
>>
>
>


-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
email: sanj...@wso2.com; office: (+1 650 745 4499 | +94  11 214 5345)
x5700; cell: +94 77 787 6880 | +1 408 466 5099; voip: +1 650 265 8311
blog: http://sanjiva.weerawarana.org/; twitter: @sanjiva
Lean . Enterprise . Middleware

Reply via email to