Difference between JDK, JRE and JVM

JDK, JRE, and JVM are the three most important keywords which you often hear with Java Programming Language and even many of the Java Developers fails to get the difference between them or they think they are the same. At the end of this Java article, we will know the answers for the below questions.

  1. What is JVM in Java ?
  2. What is JIT Compiler in Java?
  3. What is JRE in Java ?
  4. What is JDK in Java ?

Once you understood what is JDK, JRE, and JVM, it will be much easy to visualize things better

[Read more…]

Spring MVC Difference between context:annotation-config vs context:component-scan

We have already learnt the about basics of Spring MVC in my previous articles. we have used <context:annotation-config> and <context:component-scan> tags but we have not discussed much about it,In this tutorial we will see the difference between <context:annotation-config> and <context:component-scan> tags and use of them. so that we can use them effectively. [Read more…]