Friday, 16 August 2013

Be Versed on Your Class Loader.

There are several programming Languages which are being used in real world for various purposes , some being in embedded ,artificial intelligence etc. Java is one such language which is totally platform independent by running on the JVM and is being widely used all over the world.   This means that compiled programs are expressed in a special, platform-independent format, rather than in the format of the machine they are running on. This format differs from traditional executable program formats in a number of important ways. In particular, a Java program, unlike one written in C or C++, isn't a single executable file, but instead is composed of many individual class files, each of which corresponds to a single Java class. Additionally, these class files are not loaded into memory all at once, but rather are loaded on demand, as needed by the program. The ClassLoader is the part of the JVM that loads classes into memory.The Java ClassLoader, furthermore, is written in the Java language itself. This means that it's easy to create your own ClassLoader without having to understand the finer details of the JVM.

No comments:

Post a Comment