ear = Enterprise Application that you place in an application server war = Web Application that you place in a web container jar = Java Application that can be placed anywhere and can run just from a command line
JAR is used in Java Beans as a Componet Technology(COM) , applets and other application having main class that is Desktop applications. WAR is for servlets EAR for J2EE Server Side Component Technology(DCOM)