Groovy has been around a while but I still don't know how it integrates with java .
I understand that it uses a jvm to run.
I'm still a little confused as to what Groovy actually is. Is it a compiler ?
Can it be integrated into an existing java project and then compiled using the the java (JDK) compiler or do you have to create a new project in Groovy and import your previous Java project/files ?
For instance, in another post you mentioned that you can create your tests in Groovy for an existing Java project.
Unless I could integrate it into my IDE where my java project is,it would be simpler to just use JUnit .
Groovy is a separate language with its own compiler. The compiler generates bytecodes that run on the JVM. If you are an Eclipse user, there is a Groovy plugin (just google for it) that you can add. Then, when you create a Groovy project, you can add both Groovy and Java files to the project and everything will compile together. If you have an existing Java project, you can convert it to a Groovy project in your IDE and add tests written in Groovy, whether they are JUnit or something else, like Spock.