Reading runtime information about Java is useful sometime when your application is struggling in getting resources. System Memory is one of the main resource that an application developer has to consider while managing the application.
Hence sometimes it is beneficial to see what amount of memory is your application using and what is the free memory in system.
Having seen Java, J2EE for a long time, and now that I am getting familiar with OSGi, I am really excited to share my new learning. In this post I have made an attempt to compare the class loaders of Java, J2EE and OSGi at a very high level.