The Spring Blog

Engineering
Releases
News and Events

Yet Another Flavour of GORM: MongoDB

Our crusade to make GORM ubiquitous across NoSQL stores hit another milestones today as we are pleased to announce GORM for MongoDB.

MongoDB is a document database that bridges the gap between key-value stores (which are fast and highly scalable) and traditional RDBMS systems (which provide rich queries and deep functionality).

Like the Redis and Gemfire plugins, GORM for MongoDB has full support for CRUD operations:

def person = new Person(name:"Fred", age: 45)
person.save()

person = Person.get(person.id)
assert person != null

person.delete()

assert Person.get(person.id) == null
Read more...

SpringSource Tool Suite 2.5.1 released

Dear Spring Community

I’m pleased to announce that we just released SpringSource Tool Suite (STS) 2.5.1.RELEASE.

Some highlights from the new release:

  • New features to make Spring Roo 1.1.0.RELEASE even more powerful
  • Support for tc Server 2.1 incl. Spring Insight
  • Grails projects can now be deployed directly to tc Server from within STS; just drag the app onto the server and make sure to fire up the new Spring Insight to profile your application
  • Enhancements for debugging Groovy code
  • JDT weaving is enabled by default
Read more...

Hyperic 4.5 Released

After many months of development, I am proud to announce the release of Hyperic 4.5. In this release, we migrated Hyperic from an EJB application running on JBoss to a Spring web application running on Tomcat. The detailed migration steps are covered in my Case Study on Migrating Hyperic from EJB to Spring, originally presented at the recent SpringOne 2GX. In this post, I would like to highlight a few of my favorite things about the conversion.

Improved testability


After the conversion, we were able to take advantage of Spring’s integration testing support to test our new service layer of converted EJBs as well as their underlying DAOs. By simply adding a few annotations, we were able to bootstrap our entire application context in less than 30 seconds and run each test method in a dedicated transaction that was automatically rolled back at the end of the test. This support proved very valuable in allowing us to quickly increase our test coverage by 18% and 12% in our open source and enterprise codebases respectively.

Read more...

Green Beans: Putting the Spring in Your Step (and Application)

The Spring framework emerged as a de-facto standard in 2003 and has been helping people build bigger, better applications with cleaner code ever since. In this post, we will discuss the options available to you for configuring an application using the Spring component model. We will grow a simple application from the simplest form and rework it to take advantage of some of the many simplifying features in the Spring framework that have made it, and continue to make it, the de-facto standard for applications today.

Read more...

Spring Python 1.2.0.RC1 is released!

After many months of work, Spring Python’s first 1.2 release is available.

The project has migrated its documentation to Sphinx, the same tool used for documenting the Python language itself. You can visit the project site and view it in HTML or download an epub version for viewing on a smart phone or tablet device.

This version of Spring Python transitions to Python 2.6, dropping support for 2.4 and 2.5. This means the team is gearing up to utilize many of the newer features of Python, which also paves the way to transition towards Python 3.x at some time in the future.

Read more...

Spring Social 1.0.0 Milestone 1 is Now Available

Dear Spring Community,

We are pleased to announce that the first milestone release of Spring Social 1.0 is now available!

Spring Social enables development of social-ready applications, linking your application's users to the social networks where they hang out. What's more the capabilities of Spring Social are illustrated by the Greenhouse reference application.

Spring Social 1.0.0-M1 contains the following core features:

  • Social templates for interaction with Twitter, Facebook, LinkedIn, TripIt, and Greenhouse
  • An OAuth-enabled connection factory for signing RestTemplate requests with OAuth authentication details
  • A web argument resolver for extracting Facebook user ID and access token information in a Spring MVC controller
Read more...

Socializing Spring Applications

Increasingly, web surfers are using the internet to connect with friends, family, and colleagues using social networking sites. Conversations that once took place over email are now taking place in short messages written on someone's Facebook wall or in a brief tweet on Twitter. Connections once made with a handshake are now created using LinkedIn. And when a face-to-face meetings are desired, travel details can be shared using TripIt.

Just as people are using these social networking sites to interact with each other, businesses are also finding ways to inject themselves into the social graph so that they can connect in a more personal way with their customers and also make their web sites an extension of their customers' social experiences.

Read more...

Spring ActionScript 1.1 Released

Dear community,

We’re pleased to announce that Spring ActionScript 1.1 is now available.

Download | API Documentation | HTML Docs | Changelog

Besides a series of bugfixes, this release adds the following new features and enhancements:

  • Component Scanning & Context XML Namespace
  • Test Framework
  • PostConstruct, PreDestroy and Inject Metadata

Details about the release are include in the Spring ActionScript blog. Community members can always ask questions in the community forum and identify issues in JIRA as well.

Read more...

Spring Integration 2.0 Release Candidate 1

We are pleased to announce the first release candidate of Spring Integration 2.0!
Download | Reference Manual | JavaDoc

I thought I would take the opportunity to provide a general “what’s new?” guide. There are actually too many new features and improvements to cover them all in a single post, but I will focus on some of the highlights. We will be posting more blogs as we get closer to the 2.0 GA release. For now, this post is roughly based on a session that Oleg and I presented last week at SpringOne. That presentation was mostly demo-driven, and the code is available in our Git repository.

Read more...