Taming Java Agents

By Anton Arhipov

Elevator Pitch

This session covers the topic of Java Agents. In this hands on, code heavy session we’ll cover tips, tricks and best practices for creating a Java agent.

Description

This session covers the topic of Java Agents. Once an aspect of Java development, which was considered too low level or too hardcore for the average developer to know about. However, since nowadays every self-respecting tool or framework imposes one upon you, it has become an integral part of an average Java developers life.

The main use case for using a Java agent is to manipulate application bytecode on the fly. In this hands on, code heavy session we’ll cover tips, tricks and best practices for creating a Java agent, as well as how to enhance your application with Javassist/ByteBuddy, a friendly bytecode manipulation library.

Even if you don’t have prior Java agent experience, after this session you will leave with enough knowledge to create and use Java agents and be dangerous :)

Notes

Live coding oriented session, demonstrating the use of Java agents