what is the use of JIT compiler and Interpreter in JVM

hai all,we are compile the java source code and then we will give that byte code to JVM, but as part of JVM one Compiler and one Interpreter is there, what is the use....why they are inserted it into JVM.. for what purpose........
[244 byte] By [bronze-starDukes] at [2007-11-26 12:14:52]
# 1
Hi Siva,The JIT (just-in-time) compiler helps improve performance...There is a good write up on why they are used in wikipedia located at http://en.wikipedia.org/wiki/Just-in-time_compilationHope this helps - Thanks - Mark
bronzestar at 2007-7-7 14:18:01 > top of Java-index,Archived Forums,Socket Programming...