Hi!
I have a war file that must work on 4 different domain names located on the same server.
domain1.com, domain1.se, domain2.com, domain2.se ( on the same server )
The model for these websites are exactly identical it is only lanuage and view that differs. The websites must be handled from one administration and I want to use Hibernate for ORM because they all point to the same database.
Is this possible? If I have virtual hosts in tomcat or JBoss it is 4 different instances of the war file that is loaded and what will happen with the data then? Can hibernate handle this? and how? Can this be done or do you suggest some other solution? It is vital that all stores can be administrated from one location.
|