Topic 20
■■■
Spring Projects:
Batch, Integration, and Roo
In previous chapters, we covered how the Spring Framework provides a solid framework with DI and
AOP to help you develop enterprise Java applications. We also covered a few other Spring projects (for
example, Spring Data JPA, Spring Security, Spring Web Flow, and so on) that can help further enhance
the capability of Spring-based applications in specific areas.
As a matter of fact, the massive adoption of the Spring Framework in both open source and
enterprise environments has created a huge development ecosystem, which has created a need for
extensions to the Spring Framework. Consequently, on top of the Spring Framework, a lot of other
Spring projects targeting more specific application aspects have been developed. For example, the
Spring Social project supports the integration of Spring-based applications with popular social networks
like Facebook and Twitter, while the Spring Mobile project aims to simplify the development of mobile
web applications. You can find a full list of projects maintained by the SpringSource team at
www.springsource.org/projects.
All Spring projects were designed with the same rationale, that is, to promote best practices in
application development (in other words, programming to interfaces, DI, AOP, and so on) and to
integrate seamlessly with the Spring Framework's ApplicationContext environment.
In this chapter, we will present a high-level discussion of a few popular Spring projects that can help
you develop Spring-based applications. Specifically, this chapter will cover the following topics:
Spring Batch: The Spring Batch project (http://static.springsource.org/spring-
·
batch) provides a comprehensive framework and standard skeleton for developing
batch jobs within Spring-powered applications. We will provide a high-level
overview of the project, as well as demonstrate its usage by developing a simple
contact-importing job.
Spring Integration: The Spring Integration project (www.springsource.org/spring-
·
integration) integrates Spring-based applications with other applications and data
sources. It provides a lightweight messaging-based platform for implementing
many typical enterprise integration patterns (EIPs). In this chapter, we will briefly
describe this project and demonstrate how the Spring Integration and Spring Batch
projects can join together to execute batch jobs with a simple EIP.
Spring Roo: The Spring Roo project (www.springsource.org/spring-roo) provides a
·
comprehensive tool that can help you build applications with simple commands.
It's extremely useful for building application prototypes, and the underlying Java
code generated by Spring Roo is fully customizable. In this chapter, we will give you
a taste of what Spring Roo is by using it to generate a simple contact application.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home