Migrate to Java EE 8

MSAL

Apply changes needed when migrating to Java EE 8, such as upgrading the Java Servlet dependency, replacing deprecated Servlet methods, and moving Bean Validation configuration from Apache BVal to Hibernate Validator. Includes the Java EE 7 migration.

org.openrewrite.java.migrate.javaee8
mod run . --recipe=org.openrewrite.java.migrate.javaee8

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Migrate to Java EE 7
  2. Update Java Servlet dependencies to 3.x
  3. Replace HttpServletRequestWrapper.isRequestedSessionIdFromUrl() with isRequestedSessionIdFromURL()
  4. Replace Apache BVal with Hibernate Validator in validation.xml