CHAPTER 2From Java to Groovy
If you are reading this book, you probably have some experience working with Java. As I explained in the introduction, this book assumes an intermediate-level knowledge of Java. This is because I have noticed that most people learning Groovy have some Java background, and—impatient with the shortcomings and limitations of Java—have decided to give Groovy a try. They couldn't be more right!
This chapter focuses mainly on explaining the similarities and differences between Java and Groovy and how to integrate Groovy with Java. Thanks to the similarity between Groovy's syntax and Java's, the transition from Java to Groovy is a smooth one with an almost flat learning curve. As a matter of fact, Java developers can learn ...
Get Groovy and Grails Recipes now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.