We're developing a few new services that will run on JBoss and will be accessible by REST API-s. These will be Java apps bundled into EAR files. Is it a good practice to deploy these services to the same JBoss server?
This would simplify dev, deployment and testing.
Not sure if there are any big drawbacks. Would there be limited memory which the apps would have to share? In which case, would deploying to separate servers be better? Can one app cause the others to crash (ie: by hogging all the memory)?