There are various options for compiling Groovy code and then either running it or using the Java objects it creates in Java code.