Spring Dallas User Group Wednesday Nov 20 2013
TOPIC: Spring Profiles and the Spring Expression Language
6:30 to 7:00 Pizza
7:00 Main Meeting
Abstract: Spring offers a wealth of configuration options that just work with simplicity and elegance. Still, there are those cases where standard bean configuration is just not enough. This talk will discuss two slightly more advanced configuration options available in Spring.
First, in a short topic, we’ll discuss Spring Profiles. First introduced in Spring 3.1 and improved in 3.2, Spring Profiles offer a simple way to optionally include beans in the Spring context. In this topic, I’ll cover:
- Specifying the profile a bean belongs to
- Specifying the profile(s) in effect when the Spring context is loaded
The second medium length topic will cover the Spring Expression Language (SpEL). First introduced in Spring 3.0, SpEL provides a powerful mechanism for truly dynamic bean configuration. However, it’s really a general purpose expression language that can be used to query and manipulate an object graph at runtime. In this topic, I’ll cover:
- How to configure your app to use SpEL
- Literal, boolean, class and regular expressions
- Accessing properties, arrays, lists, maps
- Referencing beans in SpEL
- User defined functions
- And more!
Finally, time permitting, we’ll also take a look at Spring 4.0′s upcoming @Conditional annotation for conditionally including a bean in the Spring context. The presentation is intended for Spring developers who would like to stretch their Spring wings a bit beyond basic bean configuration.
Biography: Jack Frosch is a seasoned software developer / architect and entrepreneur, currently supporting IBM on an insurance administration project. He has been developing with Spring since about 2003, Groovy and Grails for about five years, and Java for 17 years. (Has it really been that long?!) He started doing object-oriented programming in 1988 with C++, but he’s gotten a lot smarter about how to do OOP since then. A zealous Agile development proponent, Jack is a Certified ScrumMaster and TDD evangelist. Over the years, he has formed and led multiple developer and special interest groups. He is currently co-lead of the DFW Groovy/Grails User Group.
SPONSOR: Improving Enterprises
16633 Dallas Parkway
Addison, TX 75001MAP: http://www.improvingenterprises.com/contact/
Directions and information can be found on our meeting location page.http://www.springdallasug.org?page_id=72
Spring Dallas User Group: http://www.springdallasug.orgRegards,