Skip to main content

Supported technologies for Java (Kotlin, Scala) agent

Java

Technology

Supported versions

Notes

Java runtime

  • IBM 8

  • Oracle 8. *Versions 11+ follow our OpenJDK support.

  • OpenJDK 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21

OpenJDK support is designed to work with all publicly available builds within the current version support shown here. Popular varieties like Azul and Amazon Corretto fall into this category of supported JDKs.

Not supported:

JDK preview features

Java runtime for Legacy Java agent

Use with Java agent 3.x only

  • IBM 6, 7

  • Oracle 6, 7

  • OpenJDK 6, 7

See also

Application servers

  • GlassFish 4

  • Grizzly 2.3.20 and later

  • JBoss EAP 6.X and 7.X

  • Jetty 7, 8, 9, 10, 11

  • Karaf 3.0.X

  • Netty 4.X

  • Play 2.4

  • Resin 4

  • Tomcat 5, 6, 7, 8, 9,10

  • Vert.X 3.1.0, 4.X

  • WebLogic 10, 11g, 12c, 14

  • WebSphere* 8.5, 9.0

  • WebSphere Liberty 22

  • WildFly 10, 11, 14, 18, 23-27

* Contrast offers limited support for zSeries and AIX environments. Customers using WebSphere on SPARC Solaris require version 8.5.5.11.

Route coverage support:

  • GlassFish 4

  • Jetty 11.0, 10.0. 9.4, 8.1, and 7.6

  • Resin 4.0

  • Tomcat 5, 6,7, 8, 9, and 10

  • WebLogic 12, 14

  • WebSphere 8.5 and 9.0

  • Wildfly 10, 11, 14, 18, 23-27

Optimizers

Proguard

Proguard includes Java bytecode optimization features which break basic assumptions that runtime agents like Contrast rely on. Proguard users that want to protect their applications with Contrast need to avoid these optimizations by using Proguard's -dontoptimize configuration option.

Databases

  • DB2

  • DynamoDB

  • MySQL

  • Oracle

  • PostgreSQL

  • SQL Server

  • SQLite JDBC drivers

Message services

  • Message services: JMS 2.0

  • IBM MQ 9.x

  • Spring JMS 2.x

  • Agent version: Java 4.7.0 and later

  • Contrast version: 3.9.9 and later

  • Kafka Queues and Streaming

  • Agent version: Java 5.0.0 and later

Other Java technologies

  • ADF JSF

  • Apache POI, fileupload, HttpComponents

  • Axis (RPC), XMLRPC, RMI, Apache CXF, JMS (javax.jms)

  • Direct Web Remoting (DWR)

  • DropWizard

  • Freemarker

  • Glowroot*

  • GSON, Kryo, minidev, org.json

  • Google Web Toolkit (GWT)

  • Hibernate

  • http4k (4.6.0.0 and 4.17 for Contrast Assess)

  • J2SE

  • JDBC, JDBI, MongoDB

  • JSF (MyFaces, RichFaces, Sun)

  • java.nio, java.beans

  • Java EE/J2EE, Servlet/JSP

  • Jersey

  • MyBatis

  • OWASP ESAPI, AntiSamy, Coverity

  • Quarkus RESTeasy

  • Seam

  • Spring, Spring Boot, Spring AOP

  • Spring WebFlux 5 and 6

  • Struts, Struts 2

  • Wicket

  • XStream, Jackson (JSON/XML)

  • Xerces, JAXB, nu.xom

*If you are using Glowroot, the Contrast Java Agent jar should be included and loaded prior to the Glowroot jar.

Route coverage support:

  • http4k-core 4.17

  • http4k-core 4.6

  • Jersey server 2.25, 2.28, 2.36, 2.6

  • Quarkus RESTeasy 2.15

  • Spring Web MVC 4.2. 5.3, and 6.0

  • Spring WebFlux 5 and 6

  • Struts 2

Kotlin

Technology

Supported versions

Contrast agent

3.9.1.25108 and later

Java Run Time

JDK 8 and up

Kotlin version

1.5.X

Scala

Technology

Supported versions

Contrast agent

3.8.11.23624 and later

Java Run Time

JDK 8 and up

Scala version

2.12, 2.13

Play version

2.6, 2.7, 2.8

Akka HTTP

10.2.4

WebSphere configuration

If you are using WebSphere as an application server, refer to the information in Configure the Java agent for Websphere before you deploy the agent.