JAVA2 platform J2SE, java-ee, j2me the difference between the three major versions

Source: Internet
Author: User

Turn from: http://developer.51cto.com/art/201009/228387.htm


The JAVA2 platform includes the Standard Edition (J2SE), Enterprise (Java) and miniature (J2ME) Three versions, here to describe the three versions of the difference and contact, I hope to help you learn.

This article gives you a brief introduction to J2SE, the difference between Java EE and J2ME, most programming languages have a preselected class library to support a variety of specific functions, in Java, class libraries are provided in the form of packages (package), and different versions of Java provide different packages to target specific applications.

The difference between J2SE, Java and J2ME

Most programming languages have a preselected class library to support a variety of specific functions, in Java, class libraries are provided in the form of packages (package), and different versions of Java provide different packages to target specific applications.

The JAVA2 platform includes a Standard Edition (J2SE), an Enterprise (Java) and a miniature version (J2ME) three versions:

J2SE is the standard version of JAVA2, mainly for desktop application software programming;

J2ME is mainly used in embedded system development, such as mobile phone and PDA programming;

Java EE is the Enterprise version of JAVA2, mainly for the development of distributed network programs, such as E-commerce website and ERP system.

Standardedition (Standard Edition) J2SE contains classes that form the core of the Java language.

For example: database connection, interface definition, input/output, network programming

The EnterpriseEdition (Enterprise Edition) Java EE contains classes in J2SE, and also includes classes for developing enterprise-class applications.

For example: EJB, servlet, JSP, XML, transaction control

Microedition (miniature version) J2ME contains a classification of J2SE for consumer electronics software development.

For example: pager, smart card, cell phone, PDA, set-top box

Their scope is: J2SE included in the Java EE, J2ME contains j2se core classes, but some new proprietary classes added

Applications, the scope of the API coverage is different.

Generally speaking, you can understand this:

J2SE is the foundation;
Compress a little, add some cldc and so on aspect characteristic is J2ME;
Expand a little, and then add some EJB and other features of enterprise applications is the Java EE.

To add a bit more appropriately, it should be JAVA2 enterprise development of technical specifications, not just more than the standard version of some classes.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.