JPoint 2019: Rafael Winterhalter The definite guide to Java agents
Комментарий Программного комитета: Расстановка точек над 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 lowlevel libraries such as ASM.
|
|