SaaS - Multi Tenant Separate Database Model Java Implementation

I am developing a software project, and I want to achieve the SAAS (Software As a Service) model. I want to create a multi-tenant compatible web application with a separate database for each tenant.

How can I design a Multi tenant UI in a Java environment (the user interface must be customizable in nature)?

How can I create a data access level for a separate database for each tenant (a separate application instance for several tenant databases)?

And also suggest me choose a technology stack in a Java environment.

Thanks in advance.

+4
source share
1 answer

This article has information about multi-tier database architecture.

How can I create a Multi tenant UI in Java ...

It depends on the requirement. If the tenants' views are completely different, different pages, layout, flow, etc., then you can have a page for each tenant. Usually the pages are similar, except that the data view is different. In this case, the same ui can be used for tenants and views controlled by the tenant's configuration. The view should be metadata oriented. The view can be customized using the / db configuration configuration, where each tenant configuration is stored. The tenant can choose what can be displayed during configuration.

....

. . , . Hibernate http://docs.jboss.org/hibernate/orm/4.1/devguide/en-US/html/ch16.html

. , this

+7

All Articles