Skip to content

Migrations

Philip Helger edited this page Aug 25, 2024 · 22 revisions

This page contains everything necessary related to migrating phase4 versions

Upgrade from 2.x to 3.x

  • The phase4-profile-bpc was removed in favour of phase4-profile-dbnalliance
  • All deprecated methods marked for removal have been removed
  • Here are the main coding related changes
    • Made method IAS4CryptoFactory.getKeyPasswordPerAlias(String) non-default
    • Moved classes IAS4IncomingSecurityConfiguration and AS4IncomingSecurityConfiguration to package com.helger.phase4.incoming.crypto
    • Renamed method IPModeResolver.getPModeOfID to findPMode

Upgrade from 1.x to 2.x

The major change in v2.x is the new software baseline.

  • It requires at least Java 11 for building and execution
  • It was updated to the JakartaEE 9 specifications
    • Uses Servlet Specification 5.0.x
    • All the namespaces javax.servlet where changed to jakarta.servlet
    • Uses Eclipse Angus instead of Jakarta Mail
  • The minimum requirements for application servers are
    • Tomcat 10.0.x or Tomcat 10.1.x
    • Jetty 11.x

All other potentially breaking changes are listed in News and noteworthy.