1、JAF(java.activation)
JavaBeans Activiation Framework是独立的(可在Maven Central上获得),pom.xml中添加如下依赖项:
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<version>1.2.0</version>
</dependency>
2、CORBA(java.corba)
除非第三方接管CORBA API,ORB实现,CosNaming提供商等维护,否则将不会有独立版本的CORBA。第三方维护是可能的,因为Java SE平台支持CORBA的独立实现。相比之下,RMI-IIOP的API仅在Java SE中定义和实现。除非专门的JSR开始维护它,否则不会有RMI-IIOP的独立版本,或者Eclipse的管理工作由Eclipse Foundation接管(Java EE从JCP到Eclipse Foundation的管理过渡包括GlassFish及其CORBA和RMI-IIOP的实现)。
pom.xml中添加如下依赖项:
<dependency>
<groupId>com.sun.corba</groupId>
<artifactId>orb</artifactId>
<version>9.1</version>
</dependency>
3、JTA(java.transaction)
pom.xml中添加如下依赖项:
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>javax.transaction-api</artifactId>
<version>1.2</version>
</dependency>
4、JAXB(java.xml.bind)
pom.xml中添加如下依赖项:
<!-- Java 6 = JAXB version 2.0 -->
<!-- Java 7 = JAXB version 2.2.3 -->
<!-- Java 8 = JAXB version 2.2.8 -->
<!-- Java 9 = JAXB version 2.3.0 -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.8</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.2.8</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.2.8</version>
</dependency>
5、JAX-WS(java.xml.ws)
pom.xml中添加如下依赖项:
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>2.3.0</version>
<type>pom</type>
</dependency>
6、常用注释(java.xml.ws.annotation)
Java Commons Annotations(可在Maven Central上获得):
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.1</version>
</dependency>