With the release of IBM Host Access Transformation Services (HATS) v10, the platform has made a leap into the modern era of Java 17 and Jakarta EE. For teams moving from HATS v9.7, this version represents more than just a standard upgrade.
While the HATS Migration Wizard automates much of the migration process, teams upgrading from HATS v9.7 should carefully plan the transition from JDK 8 to JDK 17.
1. Key Platform Changes
HATS v10 introduces several enhancements across development, security, and framework support:
- IDE Support: Integration with RAD v10 and RSA v10.
- Security Enhancements: Native support for z/OS SAF Keyrings (for Telnet and Web Express Logon) and OIDC (OpenID Connect) authentication.
- Framework Updates: Support for Struts 6.8.0 and migration toward Jakarta EE (using the Eclipse Transformer tool).
- JSF Support Removal: Support for creating Java Server Faces (JSF) pages has been discontinued in HATS v10.
2. JSF Support Removal
The removal of JSF support aligns HATS with modern web development standards and reduces overall product complexity.
- Impact: Previously generated JSF files continue to function. However, the Create JSF Web Pages option is no longer available from the Integration Object context menu.
- Recommended Action: Applications that rely on JSF should be migrated to standard web transformations to maintain compatibility with HATS v10 and future releases.
3. Java Runtime Flexibility: 8 vs. 17
HATS v10 provides flexibility for adopting newer Java runtimes.
- Maintain Stability with Java 8: Migrated HATS v9.7 projects continue to run with Java 8 by default, allowing teams to validate application behavior without changing the runtime environment.
- Optional Modernization: Organizations can choose to migrate to Java 17 when they are ready to take advantage of the performance, security, and support improvements provided by the newer JDK.
4. Upgrading from JDK 8 to JDK 17
When migrating to Java 17, ensure the following project settings are aligned:
A. Update the JRE Build Path
-
- Right-click the project and select Build Path -> Configure Build Path.
- In the Libraries tab, select JRE System Library [JavaSE-1.8] and click Edit.
- Change the Execution environment to JavaSE-17 (jdk) and click Finish.
B. Update Project Facets
-
- Navigate to Properties -> Project Facets.
- Change the Java version from 1.8 to 17.
- Click Apply and Close.
C. Verify Compiler Settings
-
- Navigate to Properties -> Java Compiler.
- Set the Compiler compliance level to 17.
- Click Apply and Close.
5. Review Custom Java Code
The Migration Wizard updates HATS artifacts but does not modify custom Java code. Java 17 no longer includes several APIs that were available in JDK 8, such as javax.xml.bind (JAXB) and Internal sun.misc.* classes.
Resolution: If custom Integration Objects or business logic fail to compile after migration, add the required external libraries to the project's WEB-INF/lib directory.
6. Security Enhancements
After successfully migrating to Java 17, consider leveraging the new security capabilities available in HATS v10:
- Z MFA OIDC Credential Mapper: A new zMFAClient object enables custom implementations that support Single Sign-On (SSO) with Multi-Factor Authentication.
- SAF Keyring Support: SAF-managed keyrings provide a more secure and manageable alternative to traditional JKS files for TLS certificate management in z/OS environments.
Muthukumar Thanabalan,
HATS Developer
⚡️IBM z17 is here! Powered by the new IBM Telum II processor, IBM z17 makes more possible, empowering organizations to drive innovation and do more with their data while processing sixty percent more transactions per day than IBM z16. See what sets IBM z17 apart here.
