12. The Spring Framework
• Best practices
• Proven Solutions
• OpenSource
• Continuously growing
13. Spring Ecosystem
Spring MVC Spring
WebFlow
Spring Dynamic Spring ROO
Modules
Spring Web
Spring Security Services
Spring
Framework
Spring
Spring Batch Integration
Spring Data
Spring Social
Spring Android And many more...
14. In a Nutshell
• IoC container
• Lightweight
• Comprehensive coverage of AOP
• TDD
• Modular
15. Where?
• Junit system Test
• Java EE web application
• Java EE enterprise application
• Standalone Java application
16. What?
Spring Framework provides comprehensive
infrastructure support for developing Java
applications.
−Spring deals with the plumbing
−So you can focus on solving the domain problem.
17. And that means...
You can build applications from “plain old Java
objects” (POJOs) and to apply enterprise services
non-invasively to POJOs.
19. Inversion of Control (IoC)
“Is a programming technique, in which object coupling
is bound at run time by an assembler object and is
typically not known at compile time using static
analysis.”
44. Spring Web Integration
• Spring provides support in the Web layer
− Spring MVC, Spring WebFlow, …
• However, you are free to use Spring with any Java
web framework
− Struts,Tapestry, JSF, WebWork, Wicket, ...
50. Quick Start
1. Deploy a Dispatcher Servlet
2. Implement a request Handler (Controller)
3. Implement the View
4. Register the Controller
5. Deploy and Test
56. … and much more
• Stateless converter for binding and formatting
• Support for JSR-303 declarative validation
• I18n
• Themes
• Content Negotiation
• Support for RESTful web services
• WebFlow
58. Conclusions
• Developing software is a craft.
• We need tools to help us in the process.
−Good practices
−Frameworks
• It depends on you to choose the right one for your needs.
• Spring is just one of them.