Appendix. Working with the sample code
This appendix explains how this book’s sample code is organized and how to configure it. These are areas where we had to come up with some kind of sensible scheme to support the needs of the book, and that scheme may not be completely transparent at first glance.
As regards the IDE, we used the Spring Tool Suite for the development of this book, which is essentially a branded version of Eclipse with additional support for Spring-based development. You can of course use your preferred IDE. Although we can’t speak to the details of what you’ll need when using standard Eclipse, IntelliJ IDEA, NetBeans, or other IDEs, in general you’ll need the following:
- Maven support
- Git support, if you plan to use Git to work with the code
Spring-specific support (such as bean-dependency graphs, Spring AOP, configuration files, custom configuration views for Spring Integration, Spring Web Flow, and so on) isn’t strictly required, but you’ll find it very helpful. The major Java IDEs all have Spring-specific support, either built in or as a plug-in. Consult your IDE documentation for details.
In terms of your broader system environment, you’ll need to install Maven, and Git if you want to use it.
The book’s code is organized as a set of Git repositories managed at GitHub. The projects are all Maven projects conforming to Maven’s conventions around internal project structure.