Re: Java stratos api

2014-06-14 Thread Matteo Cusmai
Hi all, having more API to access and retrieve more information about tenants and users is necessary, but it isn't enough. For example, suppose you have to develop a simple servlet, you need to retrieve tenant information from HttpServletContext or from HTTP header, I don't know, after that I have

Re: Java stratos api

2014-06-13 Thread Imesh Gunaratne
Hi Sanjiva, Thank you very much for pointing this out. Yes I think I was not clear enough in my first response. What I meant was there are no restrictions in Stratos for writing Multi-Tenant applications using Stratos APIs or libraries (or more specifically Carbon). Developers could use any of th

Re: Java stratos api

2014-06-13 Thread Sameera Jayasoma
Noted Sanjiva. I will include slides on Stratos APIs, specially user management, registry/repository, CarbonContext API, Caching, Clustering API etc. Matteo, you can leverage a bunch Stratos level APIs to build your multi-tenant SaaS app. Here are some the available APIs. Let us know your require

Re: Java stratos api

2014-06-13 Thread Sanjiva Weerawarana
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 t

Re: Java stratos api

2014-06-12 Thread Matteo Cusmai
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,

Re: Java stratos api

2014-06-12 Thread Imesh Gunaratne
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-

Java stratos api

2014-06-11 Thread Matteo Cusmai
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.