Tagged articles
10 articles
Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Sep 8, 2025 · Backend Development

How to Debug SpringBoot Live Without Restart: A Zero‑Impact Injection Tool

This article explains the pain points of traditional Java backend debugging, compares existing solutions, and presents a SpringBoot zero‑impact online debug injector built with ByteBuddy, Java Instrumentation, and a lightweight Tailwind/Alpine.js UI that enables instant, precise, and secure method‑level debugging in production.

Backend DevelopmentBytecode ManipulationJava Agent
0 likes · 19 min read
How to Debug SpringBoot Live Without Restart: A Zero‑Impact Injection Tool
Code Ape Tech Column
Code Ape Tech Column
Oct 14, 2024 · Backend Development

Understanding Java Agent: Premain and Agentmain Modes with Instrumentation

This article explains the concept of Java Agent, compares it with AOP, and provides step‑by‑step implementations of both premain and agentmain modes, including Maven packaging, VM attachment, class transformation, redefinition, retransformation, and a Javassist example for method timing.

AgentmainBytecode ManipulationInstrumentation
0 likes · 17 min read
Understanding Java Agent: Premain and Agentmain Modes with Instrumentation
Cognitive Technology Team
Cognitive Technology Team
May 23, 2024 · Backend Development

Modifying Bytecode Before Class Loading in Spring Cloud Using Javassist

This article demonstrates how to use Spring's ApplicationContextInitializer together with Javassist to intercept class loading in a Spring Cloud environment, modify the bytecode of org.apache.commons.lang3.RandomStringUtils, and record method calls, handling parent‑child container initialization nuances.

ApplicationContextInitializerBytecode ManipulationJava
0 likes · 5 min read
Modifying Bytecode Before Class Loading in Spring Cloud Using Javassist
政采云技术
政采云技术
Dec 26, 2023 · Backend Development

Understanding Java Bytecode and Using ASM for Bytecode Manipulation

This article explains how Java achieves "write once, run anywhere" through platform‑independent bytecode, describes the .class file structure, introduces tools for viewing bytecode, and provides detailed guidance on using the ASM library’s Core and Tree APIs for bytecode enhancement, including practical code demos and application scenarios.

ASMBytecode ManipulationInstrumentation
0 likes · 16 min read
Understanding Java Bytecode and Using ASM for Bytecode Manipulation
JD Cloud Developers
JD Cloud Developers
Nov 22, 2023 · Backend Development

Mastering ASM: Generate, Transform, and Analyze Java Bytecode with Real Code Samples

This comprehensive guide explains what ASM is, its core and tree APIs, common use cases such as Spring AOP and JDK lambda support, and provides step‑by‑step code examples for generating interfaces and classes, modifying bytecode, adding timers, printing parameters, handling control structures, and using handy tools for inspection.

ASMBytecode ManipulationClassVisitor
0 likes · 42 min read
Mastering ASM: Generate, Transform, and Analyze Java Bytecode with Real Code Samples
Su San Talks Tech
Su San Talks Tech
May 4, 2023 · Backend Development

Unlock JVM Power: Master Java Agent Premain & Agentmain for Runtime Instrumentation

This tutorial explains Java Agent technology, compares it with AOP, and provides step‑by‑step implementations of Premain and Agentmain modes, covering agent packaging, manifest configuration, instrumentation APIs, class transformation, redefinition, retransformation, and integration with Javassist for dynamic bytecode manipulation.

AgentmainBytecode ManipulationInstrumentation
0 likes · 21 min read
Unlock JVM Power: Master Java Agent Premain & Agentmain for Runtime Instrumentation
Youzan Coder
Youzan Coder
Mar 14, 2022 · Information Security

Android Privacy Protection: Privacy API and Permission HOOK Implementation Practice

To meet new Chinese privacy regulations, the article presents an mPaaS‑based solution that uses compile‑time Java HOOKs to replace privacy‑sensitive API calls and dangerous permission requests, automatically detecting and logging violations during build and runtime, and providing backend alerts and management tools for compliance.

ASMAndroidBytecode Manipulation
0 likes · 14 min read
Android Privacy Protection: Privacy API and Permission HOOK Implementation Practice