Contents


foreword
preface
acknowledgments
about this book
about the authors
about the cover illustration

Part 1 Starting Spring apps rapidly with Roo

Chapter 1 What is Spring Roo?
Configuration is a burden
Enter Spring Roo
Roo by example—the Pizza Shop
Roo application architecture models
Summary
Resources
Chapter 2 Getting started with Roo
Working with the Roo shell
How Roo manages your projects
I want my IDE!
Refactoring, Roo ITDs‚ and leaving Roo
Summary
Resources

Part 2 Databases and entities

Chapter 3 Database persistence with entities
Your business objects and persistence
Working with entities
Validating Courses with Bean Validation
Searching with finders
Leaving Active Record—JPA repositories
Code samples
Summary
Resources
Chapter 4 Relationships, JPA, and advanced persistence
Object relations: it’s all relative
A sample Course Manager database
Course Manager relationships
Reverse engineering your database
Adding a service layer
Using JPA directly
NoSQL databases with MongoDB
Summary
Resources

Part 3 Web development

Chapter 5 Rapid web applications with Roo
The Spring MVC web framework
Roo Spring MVC quick-start
Web scaffolding for entities
Accessing other Spring beans
Summary
Resources
Chapter 6 Advanced web applications
Customizing Roo CRUD views
Advanced customization
View layouts, theming, and localization
Summary
Resources
Chapter 7 RIA and other web frameworks
JavaScript and Ajax
Google Web Toolkit
Using JavaServer Faces
Other Roo UI frameworks
Summary
Resources
Chapter 8 Configuring security
Installing Spring Security
Securing a sample application
Testing security setup
Adding security event logging
Summary
Resources

Part 4 Integration

Chapter 9 Testing your application
Roo testing philosophy
Stubbed unit tests
Unit tests using mock objects
Testing in-container with Roo
Web testing with Selenium
Improving your testing
Summary
Resources
Chapter 10 Enterprise services—email and messaging
Roo integration with enterprise services
Defining the sample Course Manager use cases
Setting up JMS in the Course Manager
Adding email support for course registration
Asynchronous messaging for registration confirmation
Monitoring messaging activity
Summary
Resources
Chapter 11 Roo add-ons
Extending Roo with add-ons
How add-ons work
Working with published Roo add-ons
Enough OSGi to be dangerous
Types of Roo add-ons
Roo wrapper add-ons
Adding a language to Roo with i18n
A simple add-on: jQuery UI
Summary
Resources
Chapter 12 Advanced add-ons and deployment
Advanced add-ons
To create an advanced add-on, you need Coffee(Script)
Key add-on beans and services
Publishing your add-ons
Deploying to an OBR
Submitting your add-on
Summary

Part 5 Roo in the cloud

Chapter 13 Cloud computing
What is cloud computing?
Cloud Foundry
Roo add-on for Cloud Foundry
Deploying the Course Manager application to the cloud
Managing cloud services
Application monitoring in the cloud
The road ahead
Summary
Resources
Chapter 14 Workflow applications using Spring Integration
Workflow applications
Using the Spring Integration framework
Adding Spring Integration to your Roo application
Spring Integration add-on for Roo
Course registration workflow components
Summary
Resources

 
index