Resource Consumption Management using GlassFish