Finally, we wrap it up with some miscellaneous recipes that show how to extend Spring Roo via add-ons, incorporate security, create cloud-ready applications, remove Spring Roo from your enterprise application, and so on. Spring Roo commands that are used to incorporate e-mail/messaging features into an enterprise application are demonstrated next. Subsequently, we focus on using Spring-BlazeDS, GWT, JSON, and so on. Following this, the book shows you how Spring Roo simplifies creating the web layer of an enterprise application using Spring Web MVC, Spring Web Flow, and how to create selenium tests for controller objects. You are introduced to the various roo commands to create JPA entities, create relationships between JPA entities, create integration tests using Spring TestContext framework, and so on. Then you learn how Spring Roo simplifies creating the persistence layer of an enterprise application using JPA.
Initially, you make a quick start with using Spring Roo through some simple recipes. In a step-by-step by fashion, each recipe shows how a particular activity is performed, what Spring Roo does when a command is executed, and why it is important in the context of the application being developed. As the book progresses, readers are introduced to more sophisticated features supported by Spring Roo in the context of a Flight Booking application. The book starts off with basic recipes to make readers comfortable with using Spring Roo tool. It introduces readers to developing enterprise applications for the real world using Spring Roo tool. Spring Roo 1.1 Cookbook brings together a collection of recipes that demonstrate how the Spring Roo developer tool simplifies rapidly developing enterprise applications using standard technologies/frameworks such as JPA, GWT, Spring, Flex, Spring Web Flow, Spring Security, and so on. The bottom line is that if you're using Spring, then you must consider using Spring Roo for increased productivity. Spring Roo takes care of creating maven-enabled projects, enterprise application architecture based on your choice of technologies, unit/integration tests based on your choice of testing framework, and so on.
You can download the examples (consisting of 74 sample projects) described in this book from the following GitHub project: https: ///getting-started-with-spring/3rdEdition Chapter 1 - Introduction to Spring Framework Chapter 2 - Spring Framework basics Chapter 3 - Configuring beans Chapter 4 - Dependency injection Chapter 5 - Customizing beans and bean definitions Chapter 6 - Annotation-driven development with Spring Chapter 7 - Java-based container configuration (New) Chapter 8 - Database interaction using Spring Chapter 9 - Spring Data (New) Chapter 10 - Messaging, emailing, asynchronous method execution, and caching using Spring Chapter 11 - Aspect-oriented programming Chapter 12 - Spring Web MVC basics Chapter 13 - Validation and data binding in Spring Web MVC Chapter 14 - Developing RESTful web services using Spring Web MVC Chapter 15 - More Spring Web MVC - internationalization, file upload and asynchronous request processing Chapter 16 - Securing applications using Spring Security You can post your questions and feedback on the following Google group: https: // Roo is an easy-to-use productivity tool for rapidly developing Java enterprise applications using well-recognized frameworks such as Spring, Hibernate, AspectJ, Spring Web Flow, Spring Security, GWT, and so on. The examples that accompany this book are based on Spring 4.3 and Java 8.
The book also includes some new information on bean definition profiles, importing application context XML files, lazy autowiring, creating custom qualifier annotations, JSR 349 annotations, spring-messaging module, Java 8’s Optional type, and more.
The existing chapters have been revised to include information on Java-based configuration. Getting started with Spring Framework, Third Edition has been updated to reflect changes in Spring 4.3 and also includes new chapters on Java-based configuration and Spring Data (covers Spring Data JPA and Spring Data MongoDB projects). This book is meant for Java developers with little or no knowledge of Spring Framework. Getting started with Spring Framework is a hands-on guide to begin developing applications using Spring Framework.