This example looks at the issues surrounding a mixed Java/Groovy application.
The legacy version of our application
Suppose you have an initial application written in Java. It deals with packages sent through the post. It has the following
Postpack class (you would typically need some additional fields but we have simplified our domain to keep the example simple):
Now suppose you also have a sort helper class
ZipSorter as follows:
Finally, you have a main application as follows: