Jakarta 8
Jakarta 8 是 java ee 向 jakarta 转变的分水岭。
同时存在 Jakarta 8 的部分。 https://jakarta.ee/specifications/platform/8/
同时存在 Java EE 8 的部分。实际上放弃发展,连官方的 Java EE 8 对应的 apidoc 都没了。 https://www.oracle.com/cn/java/technologies/java-ee-glance.html
Java EE 8 Specification | Jakarta EE 8 Specification |
---|---|
Java™ Platform, Enterprise Edition 8 | Jakarta™ EE Platform 8 |
Enterprise JavaBeans™ 3.2 | Jakarta™ Enterprise Beans 3.2 |
Common Annotations for the Java Platform 1.3 | Jakarta™ Annotations 1.3 |
Java™ Servlet 4.0 | Jakarta™ Servlet 4.0 |
Java API for WebSocket 1.1 | Jakarta™ WebSocket 1.1 |
JavaServer Faces 2.3 | Jakarta™ Server Faces 2.3 |
JavaServer Pages™ 2.3 | Jakarta™ Server Pages 2.3 |
Standard Tag Library for JavaServer Pages 1.2 | Jakarta™ Standard Tag Library 1.2 |
Expression Language 3.0 | Jakarta™ Expression Language 3.0 |
Debugging Support for Other Languages 1.0 | Jakarta™ Debugging Support for Other Languages 1.0 |
Java™ Message Service 2.0 | Jakarta™ Messaging 2.0 |
Java™ Transaction API 1.2 | Jakarta™ Transaction 1.3 |
JavaMail™ API 1.6 | Jakarta™ Mail 1.6 |
Java EE™ Connector Architecture 1.7 | Jakarta™ Connectors 1.7 |
Web Services for Java EE 1.4 | Jakarta™ Enterprise Web Services 1.4 |
Java™ API for XML-based RPC 1.1 | Jakarta™ XML RPC 1.1 |
Java™ API for XML Registries 1.0 | Jakarta™ XML Registries 1.0 |
Java™ API for RESTful Web Services 2.1 | Jakarta™ RESTful Web Services 2.1 |
Java API for JSON Processing 1.1 | Jakarta™ JSON Processing 1.1 |
Java API for JSON Binding 1.0 | Jakarta™ JSON Binding 1.0 |
Java™ Platform, Enterprise Edition Management 1.1 | Jakarta™ Management 1.1 |
Java™ Platform, Enterprise Edition Deployment 1.2 | Jakarta™ Deployment 1.7 |
Java™ Authorization Service Provider Contract for Containers 1.5 | Jakarta™ Authorization 1.5 |
Java™ Authentication Service Provider Interface for Containers 1.1 | Jakarta™ Authentication 1.1 |
Java™ EE Security API 1.0 | Jakarta™ Security 1.0 |
Java Persistence 2.2 | Jakarta™ Persistence 2.2 |
Bean Validation 2.0 | Jakarta™ Bean Validation 2.0 |
Managed Beans 1.0 | Jakarta™ Managed Beans 1.0 |
Interceptors 1.2 rev A | Jakarta™ Interceptors 1.2 |
Contexts and Dependency Injection for the Java EE Platform 2.0 | Jakarta™ Contexts and Dependency Injection 2.0 |
Dependency Injection for Java 1.0 | Jakarta™ Dependency Injection 1.0 |
Concurrency Utilities for Java EE 1.0 | Jakarta™ Concurrency 1.1 |
Batch Applications for the Java Platform 1.0 rev A | Jakarta™ Batch 1.0 |
Java EE 8 新增或更新了以下规范
JSR | 描述 | 老规范 |
---|---|---|
JSR 366 | Java EE 8 平台 | JSR-342 Java EE 7 |
JSR 365 | 上下文和依赖注入 (CDI) 2.0 | JSR-346 cdi 1.1 |
JSR 367 | Java API for JSON Binding (JSON-B) | |
JSR 369 | Java Servlet 4.0 | JSR-340 servlet 3.1 |
JSR 370 | Java API for RESTful Web Services (JAX-RS) 2.1 | JSR-339 rs 2.0 |
JSR 372 | JavaServer Faces (JSF) 2.3 | JSR-344 jsf 2.2 |
JSR 374 | Java API for JSON Processing (JSON-P) 1.1 | JSR-353 json-p |
JSR 375 | Java EE Security API 1.0 | |
JSR 380 | Bean Validation 2.0 | JSR-349 validation 1.1 |
JSR 250 | Common Annotations 1.3 | JSR-250 annotation 1.2 |
JSR 338 | Java Persistence 2.2 | JSR-331 jpa 2.1 |
JSR 356 | Java API for WebSocket 1.1 | JSR-356 websocket |
JSR 919 | JavaMail 1.6 | JSR-919 javamail 1.5 |
1. 有用的 api
api | 说明 |
---|---|
Jakarta™ WebSocket 1.1 | websocket |
Jakarta™ Servlet 4.0 | web开发必选 |
Jakarta™ Expression Language 3.0 | el表达式,日常用得不多 |
Jakarta™ Bean Validation 2.0 | 数据校验 |
Jakarta™ Persistence 2.2 | jpa国内用得不多 |
Jakarta™ Annotations 1.3 | 常用注解 |
Jakarta™ Messaging 2.0 | jms异步消息 |
Jakarta™ Transaction 1.3 | 事务 |
Jakarta™ Mail 1.6 | 收发邮件 |
Jakarta™ JSON Binding 1.0 | json与对象转换 |