August Spring Dallas User Group Meeting: Spring for XML Haters by Craig Walls

Spring Dallas User Group Wednesday, August 18th, 2010
6:30 to 7:00 Pizza
7:00 Main Meeting
Abstract: - Over 6 years ago, Spring entered the enterprise Java scene, bringing a simpler development model rooted in dependency injection, the notion of assembling application components in a loosely-coupled way. With it, however, came a flood of XML configuration, required to declare how those components were to be assembled.

For a variety of reasons, XML has fallen out of favor with much of the development community. Now that there are other frameworks that offer dependency injection without all of the XML, some are suggesting that Spring’s heavy use of XML has it destined for the scrap heap.

They don’t know Spring.

Although XML-based Spring configuration is still available and still has a place in many Spring applications, it is no longer the only way to do dependency injection in Spring. The past few releases of Spring have brought us new ways of assembling our application objects, including annotation-driven options such as Spring’s @Autowired and JSR-330’s @Inject and Java-based configuration with Spring JavaConfig. There’s even a way to express Spring configuration in Groovy.

In this presentation, we’ll explore all of the ways to do bean wiring in Spring We’ll take a pragmatic view of each style, evaluating their strengths, weaknesses, and applicability to varying circumstances.

Bio: Craig Walls has been professionally developing software for over 15 years (and longer than that for the pure geekiness of it). He is a senior engineer with SpringSource and is the author of Modular Java (published by Pragmatic Bookshelf) and Spring in Action and XDoclet in Action (both published by Manning). He’s a zealous promoter of the Spring Framework, speaking frequently at local user groups and conferences and writing about Spring and OSGi on his blog. When he’s not slinging code, Craig spends as much time as he can with his wife, two daughters, 5 birds and 3 dogs.

MEETING LOCATION:
Improving Enterprises.
15950 Dallas Parkway
Suite 500
Dallas, TX 75248
Directions and information can be found on our meeting location page. http://www.springdallasug.org?page_id=72
The building doors lock at 7:00 and we will not have anyone to shuttle people around. Please be there before 7:00.

Spring Dallas User Group: http://www.springdallasug.org

Regards,
Brian Hurley
Secretary JavaMUG

Update: Here is the link to the code presented at the meeting xmlhaters.zip

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image