Spring LDAP 2.0.0.M1 Released

Releases | Rob Winch | November 01, 2013 | ...

I'm pleased to announce that Spring LDAP 2.0.0.M1 is now available from the SpringSource repository at http://repo.springsource.org. See here for a quick tutorial on resolving these artifacts via Maven.

What's New?

The release adds lots of new functionality! Some of the highlights can be found below:

  • Spring Data Repository and QueryDSL support is now included in Spring LDAP.
  • Fluent LDAP query support has been added.
  • A custom XML namespace is now provided to simplify configuration of Spring LDAP.
  • Spring LDAP core has been updated with Java 5 features such as generics and varargs.
  • The ODM (Object-Directory Mapping) functionality has been moved to core and there are new methods in LdapOperations/LdapTemplate that uses this automatic translation to/from ODM-annotated classes.

Spring Framework 4.0 RC1 available

Releases | Juergen Hoeller | November 01, 2013 | ...

Dear Spring community,

I'm pleased to announce the availability of our first Spring Framework 4.0 release candidate. This release completes our 4.0 feature set with several new features since M3:

  • full compatibility with recent OpenJDK 8 Developer Preview builds
  • first-class support for Groovy-based bean definitions (as known from Grails)
  • autowiring based on generic types (e.g. MyRepository<Customer>)
  • using Objenesis to create CGLIB proxy instances (allowing for constructor injection)
  • the introduction of a ScriptEvaluator mechanism (including JSR-223 support)
  • time zone resolution in Spring MVC (connected to JSR-310 and Joda-Time)
  • finer-grained configuration options for Spring MVC's @ControllerAdvice
  • the introduction of MvcUriComponentsBuilder (inspired by Spring HATEOAS)

Exception Handling in Spring MVC

Engineering | Paul Chapman | November 01, 2013 | ...

NOTE: Revised April 2018

Spring MVC provides several complimentary approaches to exception handling but, when teaching Spring MVC, I often find that my students are confused or not comfortable with them.

Today I'm going to show you the various options available. Our goal is to not handle exceptions explicitly in Controller methods where possible. They are a cross-cutting concern better handled separately in dedicated code.

There are three options: per exception, per controller or globally.

A demonstration application that shows the points discussed here can be found at http://github.com/paulc4/mvc-exceptions. See Sample Application

SpringOne2GX2013 Replay: Spring and Web Content Management

News | Chloe Jackson | October 31, 2013 | ...

Recorded at SpringOne2GX 2013 in Santa Clara, CA.

Speakers: Daniel Lipp and Tobias Mattsson, Magnolia

Want Spring seamlessly available inside a CMS? How about being able to integrate existing Spring apps into your CMS without rewriting a bunch of code? What about a robust CMS solution for Grails? Meet Magnolia, a mature open source CMS written in Java on the best of the Java stack (including Spring and Groovy.) This session will introduce Magnolia's Spring integration and give you a tour of its architecture, key features and use. Along the way, you'll also get insights into the development of Magnolia's Spring integration, an overview of Magnolia's key features (like workflows, innovative multi-channel support and a damn fine user experience that includes touch devices), and brief tutorials on solving some key content management challenges faced by Spring developers. There will also be a quick detour into Magnolia's Groovy shell and MagLev, a Grails plugin for Magnolia.

!{iframe width="420" height="315" src="//www.youtube.com/embed/-KDsQvmO6C0" frameborder="0" allowfullscreen}{/iframe}

 

 

Empowering your apps with Spring Boot's property support

Engineering | Greg L. Turnquist | October 30, 2013 | ...

Spring Boot is continuing to gather steam. Last month I wrote Contributing to Spring Boot with a pull request. I peeled back the layers of Spring Boot to demonstrate it's incredible autoconfiguration features and CLI support.

In this post, I want to dig into Spring Boot's amazing support for properties. Properties are something that are small, not highly visible, yet can quickly strengthen your application in very practical ways. In this post, I'll walk through how I added property support to the Spring JMS support I coded in the previous blog post.

What are properties?

Properties are…

This Week in Spring - October 29th, 2013

Engineering | Josh Long | October 29, 2013 | ...

Welcome back to another installment of This Week in Spring!

If you're in the Bay Area, I hope you'll join me at 875 Howard St. in San Francisco at the Pivotal offices on the 5th floor at 5:30 both today and tomorrow. I'll be giving one talk each evening - one on building RESTful services with Spring, and the other a sort of abbreviated look at the latest and greatest in the Spring.IO platform. Also, the SpringOne2GX 2013 keynotes from day 1 and day 2 are now up for your enjoyment. Make sure to check out the Day 1 keynote around 1:13:40 to hear Pivotal Labs - hardcore Ruby developers, talk about their experience with Spring and Spring Boot.

As usual, we've got a lot to cover, so let's get to it!

  1. For everybody who is looking to quickly increase their Spring knowledge Spring Education is offering a nice end of the year discount on all Spring Training classes in November and December. Please use the following referral code during the registration process: springtime.
  2. At the Strata Conference + Hadoop World 2013, Pivotal announced that Spring for Apache Hadoop / Spring XD has been certified with Pivotal HD, Cloudera's CDH, and Hortonworks HDP products.
  3. Speaking of Spring XD - a new getting started guide on how to use Spring XD to monitor Twitter is now available - check it out!
  4. If you want to learn about Spring for Hadoop and Spring XD, check out the replay of the webinar, What You Can Do With Hadoop: Building Big Data Applications with Hadoop & Spring.
  5. Still Spring and Hadoop hungry? The SpringOne 2GX 2013 Day 2 Keynote Replay is now available -- hear Mark Pollack, Mark Fisher, Michael Minella and Graeme Rocher in their epic keynote ranging from Spring IO, Groovy/Grails, Spring and Hadoop, Big Data, Spring Batch and Integration.
  6. Join Juergen Hoeller for a Spring Webinar Replay: Modern Component Design with Spring from a very recent webinar!
  7. Catch up on the latest in Websockets with Rossen Stoyanchev in a webinar replay: Building WebSocket Browser Applications with Spring
  8. Spring MVC and web CMS users should check out this session from Campbell-Ewald and Magnolia on Bringing Spring Apps to the Web at the US Navy, brought to you by the Spring Team and Magnolia.
  9. On November 19th, I'll join C24 CEO John Davies for a talk, Dynamic Routing at 1 Million Per Second with Spring Integration where we'll discuss how to scale processing with C24's excellent integration technology and Spring Integration
  10. Join me on November 21st for a webinar introducing the latest and greatest coming out of the Spring family as part of Pivotal
  11. Our friend Petri Kainulainen is back at it again, this time with a post on how to add Spring MVC web application registration and login with the Spring Social and Spring Social Security modules.
  12. Nicolas Frankel has put together an interesting post: Dependency Injection and Rich Domain Objects are Compatible.
  13. Dan Woods is back and he's put together a post on creating a backend processor (service tier) with Spring Integration and RabbitMQ
  14. Spring Data ninja Oliver Gierke has announced that the Spring Data Babbage release train SR1 has been released. The release bundles a bunch of important enhancements and bug fixes and is a recommended upgrade. You can find all issues fixed in this release in our JIRA. This release train is named for Charles Babbage, who was a mathematician, philosopher, inventor and mechanical engineer, who is best remembered now for originating the concept of a programmable computer.

Webinar Replay: Bringing Spring Apps to the Web at the US Navy

News | Chloe Jackson | October 29, 2013 | ...

The US Navy needed a new content management system, but didn't want to re-implement their existing applications or abandon their investment in Spring and Grails.

What they needed was a CMS that let developers use their existing Spring skills to easily bring the Navy's applications to the web.

Campbell-Ewald, the Navy's digital agency, found that the best solution was Magnolia, an enterprise open source Java CMS that offers a unique Spring integration called Blossom.

In this recorded webinar, Campbell-Ewald Solutions Architect Matt Dertinger provides an overview of the requirements, challenges, tools and solutions for the project.

After this, Magnolia Senior Software Engineer Tobias Mattsson shows how Blossom lets developers extend Magnolia CMS and integrate existing Spring applications by writing ordinary Spring code. Learn more about Magnolia CMS and Blossom, including information on upcoming webinars and Blossom presentations. Also, check out Magnolia's latest Spring Tech Brief on Adding Enterprise Content Management to Spring with Blossom.

!{iframe width="420" height="315" src="//www.youtube.com/embed/y_v_pV-4Vqo" frameborder="0" allowfullscreen}{/iframe}

Webinar Replay: What You Can Do With Hadoop: Building Big Data Applications with Hadoop & Spring

News | Chloe Jackson | October 29, 2013 | ...

Speakers: Nikesh Shah, Mark Fisher, James Williams

At Pivotal we are bringing 2 open source projects together -- Hadoop and the very rapid and widely used Spring Java application development framework to help Big Data Applications. While Hadoop is proving to be the defacto foundation for storing and processing data, real-world scenarios require much more. Millions of developers are already using Spring to create high performing, easily testable, reusable code without any lock-in. Adding Spring into the Hadoop equation we take out the complexity of building big data applications. In this month's webinar we will explore how Spring XD (Xtreme Data) is addressing Big Data Application needs such as: High throughput distributed data ingestion into HDFS from a variety of input sources. Real-time analytics at ingestion time, e.g. gathering metrics and counting values. Hadoop workflow management via batch jobs. High throughput data export, e.g. from HDFS to a RDBMS or NoSQL database. This is a can't miss presentation for anyone wanting to understand design, configuration and deployment of Hadoop-powered applications.

!{iframe width="420" height="315" src="//www.youtube.com/embed/41sIhawjHE0" frameborder="0" allowfullscreen}{/iframe}

Webinar Replay: Modern Component Design with Spring

News | Chloe Jackson | October 29, 2013 | ...

Speaker: Juergen Hoeller

In recent years, the Spring Framework focuses on flexible and powerful Java-based configuration. This talk presents Spring as an annotation-oriented application framework, illustrating the rich set of features that Spring has to offer for modern component design. General component model trends will be discussed along with selected Spring feature highlights, such as standardized annotations for dependency injection, stereotypes, and declarative services such as validation and scheduling.

!{iframe width="420" height="315" src="//www.youtube.com/embed/iUT0YL34Seg" frameborder="0" allowfullscreen}{/iframe}

Spring Data Release Train Babbage - SR1 released

News | Oliver Drotbohm | October 25, 2013 | ...

The Spring Data team has just released the first service release for the Babbage release train. It includes the following modules:

The release bundles a bunch of important enhancements and bug fixes and is a recommended upgrade. You can find all issues fixed in this release in our JIRA.

The next step will be a first milestone of the Codd release train with a few great new features, especially for the MongoDB module. More details about that here

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all