Тёмный

Rafael Winterhalter - The definite guide to Java agents 

JPoint, Joker и JUG ru
Подписаться 54 тыс.
Просмотров 4,8 тыс.
50% 1

Ближайшая конференция - Joker 2024, 9 октября (Online), 15-16 октября (Санкт-Петербург + трансляция).
Подробности и билеты: jrg.su/Ypf1HW
- -
. . . . Расстановка точек над i от автора ByteBuddy - популярной и очень удобной библиотеки для кодогенерации. Будет полезно и тем, кто ни разу не писал Java-агенты, и тем, кто уже замарал руки.
Java agents and their instrumentation API offer developers the most powerful toolset to interact with a Java application. Using this API, it becomes possible to alter the code of running applications, for example, to add monitoring or to inject security checks as it is done by many enterprise products for the Java ecosystem.
In this session, developers will, however, learn how to program agents using Byte Buddy, a high level code generation library that does not require any knowledge of Java bytecode. Doing so, developers will see how Java classes can be used as templates for implementing highly performant code changes that avoid the boilerplate of alternative solutions such as AspectJ or Javassist while still performing better than agents implemented in low-level libraries such as ASM.

Наука

Опубликовано:

 

27 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@BorisMilner
@BorisMilner 2 года назад
Very well explained - thank you!
@deepakpal3209
@deepakpal3209 3 года назад
can we call inst.addTransformer(new DurationTransformer());method multiple times.? how can we pass multiple className for public byte[] transform(ClassLoader loader, final String className, Class classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException method .?
Далее
Fast and Furious: New Zealand 🚗
00:29
Просмотров 12 млн
Java Bytecode Crash Course
47:42
Просмотров 55 тыс.
«GigaChat: наш опыт обучения LLM»
41:43
JVM Bytecode for Dummies (and the Rest of Us Too)
50:34
$1 vs $100,000 Slow Motion Camera!
0:44
Просмотров 27 млн
#samsung #retrophone #nostalgia #x100
0:14
Просмотров 10 млн
Новодельный ноутбук Pocket386
1:16:17