Server
Side Programming
Application servers are resource sharing environments. All applications and services running on a server node use the same memory, the same CPU and often the same database system. This scenario is very similar to the multi-user environment of a mainframe.
Unfortunately, Java differs from the mainframe world in one crucial point:
Java does not enforcement of resource limits upon the applications. There are no quotas for CPU-time or allocated application memory. As a result, every single application may bring down the entire server node.

Resources are shared by all applications on a server node. There is no limit for an application how many resources it can use.