Java vs. J2EE

Difference between Java and J2EE

Java

Java is a programming language and a platform that is being used extensively to develop and run software applications. It comes in different versions like:

  • Java Standard Edition (Java SE) This is the plain version of Java with which any software application can be implemented. It a large library of code including numerous reusable software functions. Java EE and Java ME described below are built on top of Java SE.
  • Java Enterprise Edition (Java EE)or J2EE
  • Java Micro Edition (Java ME) This is a reduced version of Java SE and it consists of an associated software library that addresses the unique needs of Java applications that should run on limited capability devices like mobile phones and PDAs.

When we simply say “Java”, we mostly mean Java Standard Edition.

It is not mandatory to use specific architectures in implementing applications in Java SE. It is the plain version of Java and your application can be implemented in any preferred way.

J2EE

J2EE is the first version of Java Enterprise Edition.  This version of java is built on Java SE. It contains additional code libraries and development tools that are useful in business applications development. J2EE describes an overall architecture that your business application should maintain. Java EE also includes best practices and guidelines that you may follow while addressing the unique requirements of business applications.