Multi-Tenancy using JPA, Spring and Hibernate – Part One

Multi-tenancy allows an application to behave as multiple independent applications hosted for different clients (i.e. organisations). This might not sound impressive, however as the number of clients increase it becomes more evident that it is easier and more cost effective to run a single application hosted for all the clients rather than hosting an independent application for each client. Multi-tenancy has become more popular lately and is very useful for the economy in software companies since it makes your service more affordable using cheaper installations/costs. This is because multi-tenancy can lead your business to a higher level of competitive differentiation. How does multi-tenancy work? Multi-tenancy allows a single application instance to be served for multiple tenants on a single hosting server. This is usually performed by either Separating databases, Separating schemas or Sharing schemas. This architecture therefore allows for a single instance to service different companies. Multi-tenancy works by using the concept of … Continue reading Multi-Tenancy using JPA, Spring and Hibernate – Part One