GroovyClassLoading Mechanism
问题 I'm really newbie to groovy scripting but following some tutorial I tried to dynamically load some groovy class within my java code using parseClass() method of GroovyClassLoader . I wrote some snippet and it worked fine for me. The problem is that I don't clearly understand what groovy engine is doing beyond my view and how those scripts are compiled? Does a new class gets creted and loaded into jvm? Or does my application uses some cached sources? Here is the class I'm trying to parse: