Jakarta 10

要求 Java 11 及以上版本

奇怪的是,Jakarta 10 总体 html 中对应的规范版本号,与单独规范中的版本号是不一致的,比如 servlet 6.0 写的是对应 Jakarta 10,但是总体规范中写的 servlet 5.0。

1. Java SE 包含的企业级api

api 说明
Java IDL Java 11 中已删除,Jakarta 也未包含
JDBC
RMI-JRMP
javax.rmi.PortableRemoteObject Java 11 中已删除,Jakarta 也未包含
JNDI
JAXP
StAX
JAAS
JMX
JAX-WS Java 11 中已删除,Jakarta 中为可选api
JAXB Java 11 中已删除,Jakarta 中为可选api
JAF Java 11 中已删除,Jakarta 中为必选api
SAAJ Java 11 中已删除,Jakarta 中为可选api
Common Annotations Java 11 中已删除,Jakarta 中为必选api

2. 必选 Jakarta api

Jakarta 10 Jakarta 9
Activation 2.1 Activation 2.0
Annotations 2.1 Common Annotations 2.0
Authentication 3.0 Authentication 2.0
Authorization 2.1 Authorization 2.0
Batch 2.1 Batch 2.0
Bean Validation 3.0
Concurrency 3.0 Concurrency 2.0
Connectors 2.1 Connectors 2.0
Contexts and Dependency Injection 4.0 Contexts and Dependency Injection 3.0
Dependency Injection 2.0
Debugging Support for Other Languages 2.0 Server Pages Debugging 2.0
Enterprise Beans 4.0
Enterprise Web Services 2.0
Expression Language 5.0 Expression Language 4.0
Faces 4.0 Server Faces 3.0
Interceptors 2.1 Interceptors 2.0
JSON Binding 3.0 JSON Binding 2.0
JSON Processing 2.1 JSON Processing 2.0
Mail 2.1 Mail 2.0
(Deprecated) Managed Beans 2.0
Messaging 3.1 Messaging 3.0
Persistence 3.1 Persistence 3.0
RESTful Web Services 3.1 RESTful Web Services 3.0
Security 3.0 Security API 2.0
Server Pages 3.1 Server Pages 3.0
Servlet 6.0 Servlet 5.0
SOAP with Attachments 3.0 SOAP with Attachments 2.0
Standard Tag Library 3.0 Standard Tag Library 2.0
Transactions 2.0
(Moved to Enterprise Web Services) Web Services Metadata 3.0
WebSocket 2.1 WebSocket 2.0
XML Binding 4.0 XML Binding 3.0
XML Web Services 4.0 XML Web Services 3.0

3. 已删除 api

Jakarta EE Technology
Entity Beans, both Container and Bean Managed Persistence (Jakarta Enterprise Beans 4.0, Optional Features, Chapters 3 - 7)
Embeddable EJB Container (Jakarta Enterprise Beans, Core Features 4.0, Chapter 17)

4. 有用的 api

api 说明
WebSocket 2.0 websocket
Servlet 5.0 web开发必选
Expression Language 4.0 el表达式,日常用得不多
Bean Validation 3.0 数据校验
Persistence 3.0 jpa国内用得不多
Common Annotations 2.0 常用注解
Messaging 3.0 jms异步消息
Transactions 2.0 事务
Mail 2.0 收发邮件
JSON Binding 2.0 json与对象转换
Activation 2.0 mail用来支持附件

results matching ""

    No results matching ""