Introduction to Byteman

This tutorial introduces the Byteman framework which is part of the JBoss Ecosystem, showing how it can be used to increase your productivity. What is Byteman? Byteman is a tracing, debugging and testing tool which you can use in any Java application. You might wonder why do we need to learn another tool for tracing … Read more

Byteman advanced tutorial

Welcome to the advanced tutorial on Byteman, a Java bytecode manipulation tool!  Byteman is a powerful tool that allows you to inject code into your Java application at runtime. This can be useful for a wide range of tasks, including debugging, testing, and performance monitoring.

In this tutorial, we will cover some of the more advanced features of Byteman, such as how to intercept a JMS message received by an MDB so that we can perform some extra actions on it, without changing the actual MDB code.

Read more

Publish server metrics via JMX using a Byteman Helper

In this tutorial we will learn how to unleash the power of Byteman by registering an Helper class which can trace some server attributes and publish them via JMX. If you are new to Byteman I’d suggest reading the Base Documentation and the following tutorials we have published: Introduction to Byteman Byteman advanced tutorial Byteman administration So we … Read more

Byteman administration

In the first tutorial we have shown some basic rule examples. We have however not still shown how to load/unload dynamically new rules. This tutorial shows how to manage Byteman rules. Byteman does not require to be configured statically, you can as well inject rules and start the agent dynamically on a running server. Starting … Read more