Java EE 7 behavior changes
If you previously incorporated Java Platform, Enterprise Edition (Java EE) 6 features in your Liberty environment, you might encounter behavior changes when you move to a Java EE 7 feature.
You can choose between the Java EE 6 and Java EE 7 feature implementations for each server instance, with consideration for behavior changes. If the required behavior is contained in the Java EE 7 feature only, you must use the Java EE 7 feature. If an existing application would be adversely affected by behavior changes in the Java EE 7 feature, using the Java EE 6 feature preserves the existing behavior for that application. You must ensure that the Java EE implementation that you choose is compatible with other Java EE features in your server; for more information, see Supported Java EE 6 and 7 feature combinations.
Technology | Java EE 6 feature | Java EE 7 feature | Behavior changes |
---|---|---|---|
Bean Validation | beanvalidation-1.0 |
beanValidation-1.1 |
No behavior changes. |
Contexts and Dependency Injection for Java (CDI) | cdi-1.0 |
cdi-1.2 |
See Contexts and Dependency Injection behavior changes between releases. |
Enterprise JavaBeans (EJB) | ejbLite-3.1 |
ejbLite-3.2 |
No behavior changes. |
Expression Language (EL) | Included as part of jsp-2.2 |
el-3.0 |
See Expression Language 3.0 feature functions. |
Java API for RESTful Web Services (JAX-RS) | jaxrs-1.1 |
jaxrs-2.0 |
See JAX-RS 2.0 behavior changes. |
Java EE Connector Architecture (JCA) | jca-1.6 |
jca-1.7 |
No behavior changes. |
Java Message Service (JMS) | jms-1.1 |
jms-2.0 |
No behavior changes. |
wasJmsClient-1.1 |
wasJmsClient-2.0 |
See JMS messaging (wasJmsClient-2.0) behavior changes. | |
wmqJmsClient-1.1 |
wmqJmsClient-2.0 |
See SupportMQExtensions property. | |
Java Persistence API (JPA) | jpa-2.0 |
jpa-2.1 |
See Java Persistence API 2.1 behavior changes. |
Java Servlet | servlet-3.0 |
servlet-3.1 |
See Servlet 3.1 behavior changes. |
Java Transaction API (JTA) | transaction-1.1 (protected feature) |
transaction-1.2 (protected feature) |
No behavior changes. |
JavaServer Faces (JSF) | jsf-2.0 |
jsf-2.2 |
See Configuring Liberty for JavaServer Faces 2.2. |
JavaServer Pages (JSP) | jsp-2.2 |
jsp-2.3 |
No behavior changes. |
Message Driven Beans (MDB) | mdb-3.1 |
mdb-3.2 |
No behavior changes. |