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 07:48 Go to next message
Chris Snow is currently offline Chris SnowFriend
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 13:17 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 309
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 14:22 Go to previous message
Chris Snow is currently offline Chris SnowFriend
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: Wed Nov 26 22:05:44 GMT 2014

Powered by FUDForum. Page generated in 0.01512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software