JSR-250规范之@Resource注解
Java实现依赖注入的注解方式:
- @Autowired 来自 org.springframework:spring-beans
- @Resource 来自 JDK,Java平台公共注解 JSR-250 规范
Java EE 8 Technologies
原文:Learn more about the technologies that comprise the Java EE 8 platform using the specifications, and then apply them with the Java EE 8 SDK .
译文:了解更多关于Java EE 8平台的技术使用规范,以及在 Java EE 8 SDK 中应用它们。
Java EE 8 Technologies | |||
Technologies | JSR | Download | Web Profile |
Java EE Platform | |||
Java Platform, Enterprise Edition 8 (Java EE 8) | JSR 366 | Download spec | |
Web Application Technologies | |||
Java API for WebSocket 1.1 | JSR 356 | Download spec | √ |
Java API for JSON Binding 1.0 | JSR 367 | Download spec | √ |
Java API for JSON Processing 1.1 | JSR 374 | Download spec | √ |
Java Servlet 4.0 | JSR 369 | Download spec | √ |
JavaServer Faces 2.3 | JSR 372 | Download spec | √ |
Expression Language 3.0 | JSR 341 | Download spec | √ |
JavaServer Pages 2.3 | JSR 245 | Download spec | √ |
Standard Tag Library for JavaServer Pages (JSTL) 1.2 | JSR 52 | Download spec | √ |
Enterprise Application Technologies | |||
Batch Applications for the Java Platform 1.0 | JSR 352 | Download spec | |
Concurrency Utilities for Java EE 1.0 | JSR 236 | Download spec | |
Contexts and Dependency Injection for Java 2.0 | JSR 365 | Download spec | √ |
Dependency Injection for Java 1.0 | JSR 330 | Download spec | √ |
Bean Validation 2.0 | JSR 380 | Download spec | √ |
Enterprise JavaBeans 3.2 | JSR 345 | Download spec | √ |
Interceptors 1.2 | JSR 318 | Download spec | √ |
Java EE Connector Architecture 1.7 | JSR 322 | Download spec | |
Java Persistence 2.2 | JSR 338 | Download spec | √ |
Common Annotations for the Java Platform 1.3 | JSR 250 | Download spec | √ |
Java Message Service API 2.0 | JSR 343 | Download spec | |
Java Transaction API (JTA) 1.2 | JSR 907 | Download spec | √ |
JavaMail 1.6 | JSR 919 | Download spec | |
Web Services Technologies | |||
Java API for RESTful Web Services (JAX-RS) 2.1 | JSR 370 | Download spec | √ |
Implementing Enterprise Web Services 1.3 | JSR 109 | Download spec | |
Web Services Metadata for the Java Platform 2.1 | JSR 181 | Download spec | |
Java API for XML-Based RPC (JAX-RPC) 1.1 (Optional) | JSR 101 | Download spec | |
Java API for XML Registries (JAXR) 1.0 (Optional) | JSR 93 | Download spec | |
Management and Security Technologies | |||
Java EE Security API 1.0 | JSR 375 | Download spec | √ |
Java Authentication Service Provider Interface for Containers 1.1 | JSR 196 | Download spec | √ |
Java Authorization Contract for Containers 1.5 | JSR 115 | Download spec | |
Java EE Application Deployment 1.2 (Optional) | JSR 88 | Download spec | |
J2EE Management 1.1 | JSR 77 | Download spec | |
Debugging Support for Other Languages 1.0 | JSR 45 | Download spec | √ |
Java EE-related Specs in Java SE | |||
Java Management Extensions (JMX) 2.0 | JSR 3 | Download spec | |
SOAP with Attachments API for Java (SAAJ) Specification 1.3 | JSR 67 | Download spec | |
Streaming API for XML (StAX) 1.0 | JSR 173 | Download spec | |
Java API for XML Processing (JAXP) 1.6 | JSR 206 | Download spec | |
Java Database Connectivity 4.0 | JSR 221 | Download spec | |
Java Architecture for XML Binding (JAXB) 2.2 | JSR 222 | Download spec | |
Java API for XML-Based Web Services (JAX-WS) 2.2 | JSR 224 | Download spec | |
JavaBeans Activation Framework (JAF) 1.1 | JSR 925 | Download spec |
附录:
- Common Annotations for the Java Platform 1.3
- @Autowired和@Resource到底有什么区别 - CSDN博客