In our organization we have like 20 grails apps (from 1.3.6 to 2.2.4) each deployed in an independent jboss server, but sometimes it feels like overkill because our user count is not really big (10-100 users for each app) so I was thinking in deploying 3 to 5 (maybe more?) apps in one server, given that, would it be good to share common jars?
I know this is possible as shown in How to deploy multiple applications in Tomcat, share jars and have different datasources?, but I want to know if this is a good practice for reducing the amount of servers needed without affecting performance.
If it is so, what else should I take into account to do it correctly?