we are currently developing a web app for jBoss / jBPM and would like to host it for some customers. To make every DB of the Customers independent we would like to give every customer a vHost and a own DataSource. How can i set up such vHosts and serve them in one Server Process? The setup of vHosts is very easy but how to give them own DataSources.
Is such a config possible or do we have to do it like now: Every Customer has it own Server running with with different BindAddresses. The Problem on that config is the large dissipation of ram