The Spring Blog

Engineering
Releases
News and Events

GORM for MongoDB: New Milestone, Richer Experience

Last year we introduced support for MongoDB in GORM (along with many other GORM implementations) and it has been extremely well received by the community. We have had a ton of feedback, and today we are pleased to announce a new release (Milestone 2) which addresses some of the feedback we have received.

Embedded Document Support

The number one requested feature was nested document support and in this release we have improved that significantly. Now you can embed other domains using the standard embedded mapping in GORM:

Read more...

Spring Data Document - MongoDB Support 1.0.0.M1 Released

Dear Spring Community,

I am pleased to announce that the very first milestone release of the Spring Data Document 1.0 project with MongoDB support is now available!

The primary goal of the Spring Data project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services.

The MongoDB module provides integration with the MongoDB document database.

Downloads | JavaDocs | Reference Documentation | Changelog

Read more...

Spring 3.1 M1: Unified Property Management

In the first two posts of this series, I described the bean definition profiles feature, and how it relates to the Environment abstraction new in Spring 3.1 M1. Today we’ll take a look at a second aspect of the Environment – how it helps simplify the concern of configuration property management.

Understanding property sources

Spring’s Environment abstraction provides search operations over a configurable hierarchy of property sources. To explain fully, consider the following:


ApplicationContext ctx = new GenericApplicationContext(); Environment env = ctx.getEnvironment(); boolean containsFoo = env.containsProperty("foo"); System.out.println("Does my environment contain the 'foo' property? " + containsFoo);
Read more...

Spring 3.1 M1: Introducing @Profile

Introduction

In my earlier post announcing Spring 3.1 M1, I discussed the new bean definition profiles feature as applied when using Spring <beans/> XML to configure the container. Today we’ll introduce the new @Profile annotation and see how this same feature can be applied when using @Configuration classes instead of XML. Along the way we’ll cover some best practices for designing @Configuration classes.

Recall @Configuration

For those unfamiliar with @Configuration classes, you can think of them as a pure-Java equivalent to Spring <beans/> XML files. We’ve blogged about this featureset before, and the reference documentation covers it well. You may want to revisit those resources if you need an introduction or a refresher.

Read more...

SpringOne 2GX 2010 Tech Talk: Configuration Enhancements in Spring 3.1

SpringOne 2GX 2010 Tech Talk: Configuration Enhancements in Spring 3.1
release of Spring 3.1 InfoQ SpringOne 2GX 2010 Configuration Enhancements in Spring 3.1 Chris Beams

Also last week Juergen Hoeller gave a webinar on the Spring 3.1 milestone release. In case you can were not able to attend in person, a full recording of the webinar has now been posted so you can get all of the details from the source!

Also don't forget to read Chris's recent blog post about Bean Definition Profiles. This is the first in a short series that will be covering the details of the new release.

Read more...

Spring Framework 3.1 M1 released

The first milestone release of Spring 3.1 has just been published [1], and this article kicks off a series of posts where I and other team members will walk through each of the major features. Even in the first milestone there’s already a lot to talk about!

  • Bean definition profiles
  • Unified property management through Spring's new Environment abstraction
  • Enhancements to Java-based configuration with @Feature methods
  • Expanded MVC namespace support and a Java-based configuration equivalent
  • Streaming support and new interception model for the RestTemplate API
  • Comprehensive caching support
  • New c: XML namespace for concise configuration of constructor injection
Read more...

Spring 3.1.0 M1 Released

The first milestone of Spring 3.1 is now available from our http://maven.springframework.org/milestone Maven repository or for direct download from our community download page. This release includes new features such as:


  • Bean definition profiles

  • Enhancements to Java-based container configuration

  • Caching abstraction

  • new c: XML namespace

  • Improvements to Spring MVC


SpringSource Blog


Download | Documentation | Javadoc API | Change Log | JIRA


Don’t forget that Spring users can ask questions in the community forum and identify issues in JIRA as well.

Read more...

Getting started with Spring Data JPA

As we have just released the first milestone of the Spring Data JPA project I’d like to give you a quick introduction into its features. As you probably know, the Spring framework provides support to build a JPA based data access layer. So what does Spring Data JPA add to this base support? To answer that question I’d like to start with the data access components for a sample domain implemented using plain JPA + Spring and point out areas that leave room for improvement. After we’ve done that I will refactor the implementations to use the Spring Data JPA features to address these problem areas. The sample project as well as a step by step guide of the refactoring steps can be found on Github.

Read more...

Spring BlazeDS Integration 1.5.0.M2 Released

Dear Spring Community,

I'm pleased to announce that the 1.5.0.M2 milestone release of Spring BlazeDS Integration, the open source solution for building Spring-powered RIAs with Adobe Flex, is now available.

Download | Reference Documentation | JavaDocs | Changelog

Highlights of the significant new features and enhancements in this release include:

  • Support for reading and writing AMF content with RESTful Spring MVC @Controllers. This serves as a nice alternative to the direct RPC approach of the Remoting Service, reducing duplication of effort in applications that need to support multiple client types. (See the updated Test Drive for usage examples.)

  • A major refactoring of the Spring Security 3 support, resulting in easier integration of Flex apps with various Spring Security features such as Remember Me, Session Fixation Protection, and Concurrent Session Control.

  • Further evolution of the Hibernate serialization support introduced in 1.5.0.M1, including the option to use direct field mapping instead of property-based mapping.

  • Easier customization and namespace-supported configuration of framework-provided services such as the LoginCommand and MessageInterceptors.

  • Upgraded compatibility with Spring Integration 2.0.x

  • A complete revision of the Maven-based Test Drive samples, including an update across the board to use Flex 4, and a brand new sample to demonstrate the RESTful programming model.
Read more...