Runtime code generation for the JVM

A session at javaBin Oslo | JUG meeting

While Java's strict type system is a great help for avoiding programming errors, it makes it difficult for framework developers to access and extend their users’ unknown type hierarchies. At the same time, the framework users often do not want the framework types to intrude their application code, a concept known as working with POJOs, plain old Java objects. To overcome this, many of today’s frameworks make use of code generation. This way, a framework can create new Java classes at runtime when the user types first become visible to the framework. This session gives an overview of runtime code generation on the Java platform and introduces Byte Buddy, a novel library which comes with an easy DSL for creating compiled Java classes.

About the speaker

This person is speaking at this event.
Rafael Winterhalter

software consultant who likes static types

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Date Thu 25th September 2014

Short URL


Official event site


View the schedule


See something wrong?

Report an issue with this session