J2EE is for applications that run on servers. J2SE is normally for developing desktop applications and J2ME run on small devices like cell phones.
Different editions of Java platform-
J2EE(Java Platform, Enterprise Edition):
- The Enterprise edition of Java has a superior usage of Java, like a growth of web services, networking, server-side scripting and further a variety of web-based applications.
- It is a community-driven edition, i.e. there are many of nonstop offerings from industry experts, Java developers, and other open source organizations. Apart from this, it uses numerous components of J2SE, as well as, holds features like Servlets, Java Message Services and more.
- There are also countless languages like .net and PHP, which can perform that task, however, what distinguishes it from other languages is the flexibility, compatibility and protection features, which are not that much major in other languages.
J2SE (Java Platform, Standard Edition):
- Moving on to this one, Also well-known as Core Java, this is the most basic and standard version of Java. It’s the purest appearance of Java, a basic establishment for all other editions.
- It consists of a large range of common purpose API’s (like java.lang, java.util) as well as many particular purpose APIs.
- J2SE is used to create applications for Desktop.
- In addition, it consists all the basics of Java the language, variables, operators, data types, Arrays, looping, Streams, Strings Java Database Connectivity(JDBC) and much more.
- This edition gave the well-known JVM of Java, the heart of Java development. Because of this, Java has a wide usage.
J2ME(Java Platform, Micro Edition):
- This used for the applications running on small devices, mobiles, and embedded systems.
- Limitations included partial processing power, battery drawback, small display etc.
- J2ME uses many libraries and API’s of J2SE, with, several of its own.
- The basic aim of this edition was to work on wireless devices, mobiles etc.
- Operating systems targeting Java ME have been implemented by DoCoMo in the form of DoJa, and by SavaJe as SavaJe OS.
Apart from these editions, there are other versions such as Java card, Personal Java, JavaFX etc.