This is a major release that uplifts the OBS Java SDK from Java 11 to Java 17(compatible with 21/25). It introduces a fully modernized HTTP transport layer, refreshed dependencies and an updated test infrastructure. Java 8 and Java 11 are no longer supported in this release line — use the [3.x releases] (https://github.com/EMCECS/ecs-object-client-java/releases) for Java 8/11 compatibility.
Highlights:
- Upgraded Java source/target compatibility to Java 17; tested on JDK 17, JDK 21 and JDK 25
- Migrated HTTP transport from Jersey 1.19.4 (JAX-RS 1.x) to Jersey 2.47 (JAX-RS 2.x)
- Upgraded
smart-client-ecsto 4.0.0 (GA) - Upgraded Jackson from 2.12.x to 2.17.3
- Upgraded
commons-codecto 1.17.1,dom4jto 2.1.4,slf4j-apito 2.0.16,log4j-slf4j2-implto 2.24.3 - Migrated test framework from JUnit 4 to JUnit Jupiter 5.11.4; upgraded Mockito to 5.14.2
- Java 8 and Java 11 are no longer supported. Minimum required JDK is Java 17.
- Jersey 1.x APIs have been removed. Direct Jersey 1.x client code must be migrated to Jersey 2.x.
It is available via Maven Central:
<dependency>
<groupId>com.emc.ecs</groupId>
<artifactId>object-client</artifactId>
<version>4.0.0</version>
</dependency>For documentation on how to use this package, please refer to the wiki.
Please report any issues here.