On Mon, Aug 13, 2012 at 1:24 AM, Andriy Zhdanov <[email protected]> wrote:

> Hi,
>
> I'm interested in multi-tenant Java SaaS, and in this particular case I'm
> learning possibilities with WSO2 PaaS. Could someone please help me to get
> better familar with SaaS possibilities of WSO2 carbon platform?
>

You should be looking @ is http://wso2.com/cloud/stratos/ .


>
> What I know so far, it is possible to have saas enabled carbon
> application, that will allow WSO2 PaaS tenant users login to my
> application. I've just learned about CarbonContext and Registry also.
>
> Questions I have:
>
> 1) Does CarbonContext represent context of logged in tenant user or
> context of tenant service, i.e. my service, and so tenant?
>
> Refer
http://wso2.org/library/articles/2012/03/carbon-context-its-usages-wso2-productsfor
an example of how to use CarbonContext.

>
> 2) Is it possible to access tenant specific data source within saas
> enabled carbon applcation? If so, how? E.g. with CarbonContext.
>
WSO2 RSS (Relational Storage Service) is operating on this space. It allows
you to create a database (and a corresponding datastore) with correct
permissions, so that only tenant's users having that credential range can
access databases created within their tenant. (we are using database
engine's (currently MySQL) permission model for this). Read :
http://wso2.org/library/articles/2011/09/wso2-unveils-its-relational-storage-solutions-wso2-stratoslive


>
> 3) I guess Carbon itself uses shared database per tenant, I guess even
> shared table. Is it so? If so, is it possible to use the same in carbon
> application?
>

Carbon uses a single database to store all tenant configuration. Data is
stored partitioned by tenant's Id. So achieve tenant isolation, we ensure
every call to database has tenant id value set.

For user level applications, we recommend using a different database.


> For better understanding, I'm thinking of something like EclipseLink
> @Multitenant with WSO2.
>
> Thank you.
>
> _______________________________________________
> User mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/user
>
>


-- 
/sumedha
+94 773017743
_______________________________________________
User mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/user

Reply via email to