Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Multi Tenancy(Does scout support multi tenancy?)
Multi Tenancy [message #1067177] Sun, 07 July 2013 03:48 Go to next message
Chris Snow is currently offline Chris Snow
Messages: 50
Registered: December 2011
Member
I have a requirement to build an application that will be offered to multiple organisations under the SaaS model.

Multi tenancy is a must for this project. Ideally, the data approach will be to use a separate database schema for each tenant.

Does scout support multi tenancy? If not, is multi tenancy on the roadmap?

Many thanks,

Chris


Re: Multi Tenancy [message #1067196 is a reply to message #1067177] Sun, 07 July 2013 09:17 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin Kiekebosch
Messages: 300
Registered: August 2011
Senior Member
Hi,

don't know exactly what you mean by tenancy but I think we have a similar business case: Our organisations is divided over different geographical regions. Each account is attached to a region. If a user logs in, based on the region, the correct database info is added to the serverSession.

On the server you cannot use the default SQL service because this is just a convenience class that always uses the same connection. Instead you have to create your own ISqlService classes that connect to the correct database schema.

For us this works, dynamically we connect a user to one out of four databases.

Regards Bertin


Re: Multi Tenancy [message #1067202 is a reply to message #1067196] Sun, 07 July 2013 10:22 Go to previous message
Chris Snow is currently offline Chris Snow
Messages: 50
Registered: December 2011
Member
Hi Bertin - this approach sounds perfect. Thanks for the response.
Previous Topic:Scout RAP external html
Next Topic:Scout Book: Trouble with helloworld_server.war on Glassfish
Goto Forum:
  


Current Time: Fri Jul 25 03:00:13 EDT 2014

Powered by FUDForum. Page generated in 0.01790 seconds