一表看清JavaEE与Java SE的区别

本文详细介绍了Java技术生态,包括Java SE、Java EE、Java ME和JavaFX等平台的架构和功能,阐述了各平台之间的关系及应用场景,为开发者提供全面的Java技术栈视角。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Java生态框架如下表所示(表单元从左到右的包含关系,上下之间平行无关):

JavaJava Language
Java PlatformJVM
JDK
Java EE Java MEJavaFX
Java SE
Java技术=Java语言+java平台
Java平台=JVM+JDK
Java SE=JDK根基
Java EE,JavaSE,JavaFX 是Java SE的扩展
官网原文:

oricle java ee6

官网原文:

Differences between Java EE and Java SE
Java technology is both a programming language and a platform. The Java programming language is a high-level object-oriented language that has a particular syntax and style. A Java platform is a particular environment in which Java programming language applications run.

There are several Java platforms. Many developers, even long-time Java programming language developers, do not understand how the different platforms relate to each other.


The Java Programming Language Platforms
There are four platforms of the Java programming language:


Java Platform, Standard Edition (Java SE)


Java Platform, Enterprise Edition (Java EE)


Java Platform, Micro Edition (Java ME)


JavaFX


All Java platforms consist of a Java Virtual Machine (VM) and an application programming interface (API). The Java Virtual Machine is a program, for a particular hardware and software platform, that runs Java technology applications. An API is a collection of software components that you can use to create other software components or applications. Each Java platform provides a virtual machine and an API, and this allows applications written for that platform to run on any compatible system with all the advantages of the Java programming language: platform-independence, power, stability, ease-of-development, and security.


Java SE
When most people think of the Java programming language, they think of the Java SE API. Java SE’s API provides the core functionality of the Java programming language. It defines everything from the basic types and objects of the Java programming language to high-level classes that are used for networking, security, database access, graphical user interface (GUI) development, and XML parsing.


In addition to the core API, the Java SE platform consists of a virtual machine, development tools, deployment technologies, and other class libraries and toolkits commonly used in Java technology applications.


Java EE
The Java EE platform is built on top of the Java SE platform. The Java EE platform provides an API and runtime environment for developing and running large-scale, multi-tiered, scalable, reliable, and secure network applications.


Java ME
The Java ME platform provides an API and a small-footprint virtual machine for running Java programming language applications on small devices, like mobile phones. The API is a subset of the Java SE API, along with special class libraries useful for small device application development. Java ME applications are often clients of Java EE platform services.


JavaFX
JavaFX is a platform for creating rich internet applications using a lightweight user-interface API. JavaFX applications use hardware-accelerated graphics and media engines to take advantage of higher-performance clients and a modern look-and-feel as well as high-level APIs for connecting to networked data sources. JavaFX applications may be clients of Java EE platform services.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值