Skip to Main Content
Core Java, Vol. II-Advanced Features, 12th Edition
book

Core Java, Vol. II-Advanced Features, 12th Edition

by Cay S. Horstmann
April 2022
Intermediate to advanced content levelIntermediate to advanced
944 pages
28h 7m
English
Pearson
Content preview from Core Java, Vol. II-Advanced Features, 12th Edition

Chapter 8. Scripting, Compiling, and Annotation Processing

In this chapter

This chapter introduces three techniques for processing code. The scripting API lets you invoke code in a scripting language such as JavaScript or Groovy. You can use the compiler API when you want to compile Java code inside your application. Annotation processors operate on Java source or class files that contain annotations. As you will see, there are many applications for annotation processing, ranging from simple diagnostics to “bytecode engineering”—the insertion of bytecodes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Fundamentals

Java Fundamentals

Matt Thornfield

Publisher Resources

ISBN: 9780137870899