2-Java Editions:

Java Standard Edition : -

Java Standard Edition , also known as J2SE / JSE is the java platform for developing client-side application which run on desktop as standalone applications , and web browsers as applets. Core Java + JDBC are the part of Java Standard Edition(J2SE / JSE). (Platform - Any hardware or software environment in which a program runs, is known as a platform.) Java Enterprise Edition : - Java Enterprise Edition , also known as J2EE / JEE is the java platform built on top of Java SE , which is used to develop enterprise-oriented server applications.(Server side applications include servlets, which are java programs that are similar to applets but run on a server rather than a client.). Servlets + JSPs are the part of Java Enterprise Edition. Java Micro Edition : - Java Micro Edition , also known as J2ME / JME is the java platform which is also built on Java SE . It is mainly used to develop mobile apps(resource constrained devices).

Why Java Is Platform Independent And Jvm Is Platform Dependent?

JVM is a virtual machine or a program that provides run-time environment in which java byte code can be executed. JVM needs to be installed on your machine depending on what platform do you have and what version of it. JVMs are available for many hardware and software platforms. JVM, JRE and JDK are platform dependent because configuration of each OS differs. The use of the same byte code for all JVMs on all platforms make java platform independent. Or java is platform independent because java does not run directly on operating system. It runs on the JVM which you have to install separately.