Northern Wisconsin Software Symposium
August 3 - 5, 2007 - Green Bay, WI
Co-author of Spring in Action
Ryan Breidenbach has been developing software for over eight years with a current focus on enterprise Java applications and agile development. He is the co-author of Spring in Action. When he is not home spending time with his family, he can occasionally be found honing his skills at the poker tables.
In 2006, Spring 2.0 was released and Spring became ubiquitous in the enterprise Java space. So if you haven't taken a peek at Spring yet, what are you waiting for?!? If the answer is "This session," you have come to the right place. This session will familiarize you with the benefits Spring provides and why they have made the framework so successful. In addition, we will focus on the efforts that went into Spring 2.0 to make these benefits much more developer friendly. By the end of this session, you should have a grasp of how Spring 2.0 simplifies the utilization of Spring's core features such as bean wiring, AOP, and the simplification of using enterprise Java. If your head is not spinning too much.
In this session we will cover: - Brief history of Spring - Overview of Spring's core values and features - New Spring 2.0 features - Glimpse of upcoming Spring 2.1 features
Although Spring's rise to ubiquity was driven by its IoC and AOP services, it offers so much more. One of the most powerful of these services is Spring's MVC framework.
If you are familiar with other Java web frameworks such as Struts or WebWork, you will recognize that Spring MVC is a similar request-response web framework driven by a Front Controller, in this case the DispatcherServlet. But Spring also provides considerable functionality out of the box. One of the beauties of the Spring MVC is that, like the rest of Spring, all of its components are quite modular. This allows you to mix and match different implementations of the various MVC components as you see fit for you application.
In addition, Spring MVC provides rich capabilities for data binding. This allows you to transparently bind form parameters to your application objects without having to create any intermediate objects. Spring's validation features allow you to capture both binding and application errors. And with Spring 2.0's much improved JSP tag library, both creating forms and displaying validation errors is quite simple.
In this session we will cover: - A quick overview of Spring for first time Spring users - Configuring Spring's DispatcherServlet - Wiring other application beans to web application beans - Mapping requests to Spring Controllers - Spring's different Controller implementations, and when they should be used - Validation form parameters and binding them to application objects - Creating forms using Spring's custom JSP tags library