Spring Data Key Value (Redis + Riak) 1.0.0.M2 Released

Releases | Costin Leau | February 10, 2011 | ...

Dear Spring Community,

I am pleased to announce the second milestone release of the Spring Data Key Value 1.0 project, with support for Redis and Riak, is now available!

Downloads | JavaDocs | Reference Documentation | Changelog

This release introduces several new features for both Redis and Riak, such as:

  • [Redis] Pubsub support (such as a MessageListenerContainer for message-driven POJOs)
  • [Redis] JSON and Spring Object/XML mapping serializers
  • [Redis] Full support for upcoming Redis 2.2
  • [Redis] Sorting and Pipelining functionality
  • [Riak] Asynchronous RiakTemplate
  • [Riak] Dedicated Groovy DSL for asynchronous Riak access

We look forward to your feedback on the forum or in the issue tracker.

Spring BlazeDS Integration 1.5.0.M2 Released

Releases | Jeremy Grelle | February 10, 2011 | ...

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.

One additional item to note is that the Flex Addon for Spring Roo is no longer part of the project distribution. Instead, version 1.0.0.M2 of the Flex Addon will be released separately in the coming weeks and will be available to Spring Roo 1.1.1 users through Roo's Addon Discovery mechanism. If you'd like to try out the nightly builds of the Flex Addon (which are necessary for compatibility with Roo 1.1 and above), I encourage you to reach out to the community for guidance.

As always, I encourage anyone interested to get involved by trying out the release and giving us feedback in the community forum and Jira, as we are fast approaching 1.5.0.RC1. We continually get great feedback from people having success with Spring BlazeDS Integration in their projects, and we look forward to hearing more about your experiences.


Jeremy Grelle
Spring Flex Lead

Getting started with Spring Data JPA

Engineering | Oliver Drotbohm | February 10, 2011 | ...

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…

Spring Android 1.0.0.M2 Released

Releases | Roy Clarkson | February 09, 2011 | ...

Dear Spring Community,

We are pleased to announce that the second milestone release of the Spring Android project is now available!

Spring Android supports usage of the Spring Framework in a Android environment. The 1.0.0.M2 release focuses on extending the use of RestTemplate in native Android applications:

  • We now use the HttpComponents HttpClient 4 by default for all REST calls, which is a native HTTP client on the Android platform. This replaces the use of the Commons HttpClient 3 from the first milestone.
  • We have added Object-to-XML marshaling support through the use of the Simple XML serialization library. Simple has a small footprint and is compatible with Android.
  • RSS and Atom Feeds are now supported through the Android Rome Feed Reader. Android Rome is a port of the popular Rome library that is compatible with Android.
  • Integration with the Jackson JSON Processor continues to provide first-class Object-to-JSON marshaling support.

Spring Android is available for download. If you are utilizing Maven with your Android project, simply add the following dependency:

<dependency>
    <groupId>org.springframework.android</groupId>
    <artifactId>spring-android-rest-template</artifactId>
    <version>1.0.0.M2</version>
</dependency>

<repository>
    <id>org.springframework.maven.milestone</id>
    <name>Spring Maven Milestone Repository</name>
    <url>http://maven.springframework.org/milestone</url>
</repository>

In addition to the reference guide, Roy Clarkson has authored two blog posts to help you get started developing Android applications:

A sample app with a README is available at github.com/SpringSource/spring-android-samples: git clone git://github.com/SpringSource/spring-android-samples.git

Work continues on the next Spring Android milestone, where we will we be integrating OAuth support for Android applications. If you're building native Android applications, we invite you to collaborate with us on the Spring Android project.

Spring Android and Maven (Part 2)

Engineering | Roy Clarkson | February 09, 2011 | ...

In Spring Android and Maven (Part 1), I described how to build an Android application from the command-line using Maven. In this post, I will show you how to build an Android application with Maven dependency management from the Eclipse IDE. The application will also showcase the latest features in Spring Android 1.0.0.M2, which was released this week.

Overview

The Maven Android Plugin lets you build your Android applications with Maven and benefit from dependency management. Google's Android Development Tools (ADT) plugin allows you to develop and build Android applications within the Eclipse IDE. To get Maven dependency management within Eclipse, the Maven Integration for Android Development Tools plugin is required, which integrates m2eclipse, the ADT Plugin, and the Maven Android Plugin

This week in Spring: February 8th, 2011

Engineering | Josh Long | February 08, 2011 | ...

This has been another exciting week in the Spring community. The community seems abuzz about the new Tomcat release, mobile clients, Spring Data and big data (e.g., Spring Gemfire, Redis, and of course the Spring Data projects.)

A reminder: Juergen Hoeller - lead of the core Spring framework and contributor to all of the sister Spring projects, in some fashion or another - is giving two identical webinars - one for North America and one for Europe - on the new features in Spring 3.1 in two days (February 10th)! Be sure to register for this free webinar on the next iteration of the most widely used Java framework!

This is turning out to be a record event, with incredible advance registration numbers. While there are no Spring 3.1 binaries (yet; stay tuned!), the code for the Spring project is always at your disposal, so - if you're as excited about all the new features as I am - you'll see this webinar and start playing with it long before it's…

Spring Mobile 1.0.0.M3 Released

Releases | Keith Donald | February 04, 2011 | ...

Dear Spring Community,

We are pleased to announce that the third milestone release of the Spring Mobile project is now available!

Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications. The 1.0.0.M3 release ships a general facility for user site preference management that can be used independently or in conjunction with the mobile site switcher. See the changelog and reference manual for all the info.

Download the release distribution or pull the artifacts from Maven using the following:

    <repository>
        <id>org.springframework.maven.milestone</id>
        <name>Spring Maven Milestone Repository</name>
        <url>http://maven.springframework.org/milestone</url>
    </repository>
&lt;dependency&gt;
    &lt;groupId&gt;org.springframework.mobile&lt;/groupId&gt;
    &lt;artifactId&gt;spring-mobile-device&lt;/artifactId&gt;
    &lt;version&gt;1.0.0.M3&lt;/version&gt;
&lt;/dependency&gt;

Get sample apps over at github.com/SpringSource/spring-mobile-samples | git clone git://github.com/SpringSource/spring-mobile-samples.git

This release marks our third iteration with early adopters in the community using Spring Mobile in their own applications. If you are building a mobile web app, we encourage you try out 1.0.0.M3 and collaborate with us on the next iteration of the project.

This week in Spring: February 1st, 2011

Engineering | Josh Long | February 02, 2011 | ...

This week's been a fascinating rush of developments in the community. Depending on where you look, the excitement is behind the newer, more cutting edge stuff like Spring Data, Gemfire, and Virgo, or it's behind the wonderful refinements to technologies like Tomcat and SpringSource Tool Suite. Either way, there's a lot to take in this week, so let's get started!

  1. SpringSource Tool Suite 2.6.0.M1 has been released. This new version features improved content-assist and quick fixes, new wizards and views for Spring MVC @RequestMapping-based applications. It also features improved content-assist performance for Groovy, and improved syntax highlighting for Groovy.
  2. Spring Data Graph - Neo4j Support 1.0.0.M2 Released. The new release has many new features, including improved indexing support - full, named index support for nodes and relationships, removal of node and relationship entities, strict type checking on entity instantiation from framework methods (according to type strategy), support for dynamic projection to arbitrary graph entities, and new updated support for Neo4j 1.2.
  3. Shekhar Gulati has posted an introduction to Spring Roo (part 1, building from source) on IBM's DeveloperWorks.
  4. Mark Thomas, a senior contributor to the Tomcat project, has written about preventing Cross-Site Scripting attacks in Tomcat 7
  5. The VMWare vFabric GemFire team has just put together a video demonstrating how to setup the GemFire's Hibernate Cache Module. The video demonstrates how to configure the module in Maven and then demonstrates its use in a Spring-DAO based implementation. Finally, the use of Spring Insight to monitor the application's performance is demonstrated. Cool video for an even cooler technology!
  6. Sebastian Pietrowski has published a good introduction to Spring Data Redis.
  7. Shekhar Gulati contributed another great post - also on Spring Data and Redis. Spring Data is the umbrella name for a slew of technologies designed to support more specialized data persistence needs. A large part of this is the deep support for many of the NoSQL data stores available today, as well as more specialized support for JDBC-based persistence.
  8. The Java Code Geeks have written up a good post on Aspect Oriented Programming with Spring AOP
  9. Jose Delgado wrote up a good post on how to configure an application to handle two databases in Spring Roo.
  10. Sivaprasadreddy Katamreddy is at it again, this time on applying Inversion of Control and Dependency Injection to method design
  11. Glyn Normington tweets that the Eclipse Virgo kernel is now running successfully for the first time on a directed graph of regions implemented using OSGi 4.3 framework hooks. Congratulations! Eclipse Virgo is the name of the new-and-improved version of what was formerly the SpringSource dm Server.
  12. David Dossot retweeted an interesting post that explores

    the Activiti BPMN 2 engine using Spring from earlier last month.

  13. With all the exciting news of Tomcat 6 and 7, it's easy to forget that Tomcat 5 is still being updated and supported. Tomcat 5.5.32 has also just been released!

Spring GemFire 1.0.0 Released for Java and .NET

Releases | Costin Leau | February 02, 2011 | ...

Dear Spring Community,

We are pleased to announce that the first GA release of the Spring GemFire 1.0 project is now available for both Java and .NET! The Spring GemFire project aims to make it easier to build Spring-powered highly scalable applications using GemFire as distributed data management platform.

Download it now: Spring GemFire for Java | Spring GemFire for .NET

This release features:

  • Declarative dependency injection style configurations for the GemFire infrastructure (such as Cache, Region, Interest, etc)
  • Extensive namespace support for configuring all the major GemFire components: cache, replicated, partitioned and client regions and many more
  • Exception translation to Spring's portable DataAccess exception hierarchy
  • Template and callback support for easy native API access
  • Transaction management support
  • Spring-backed wiring for GemFire managed objects
  • Auto-generation of non-reflection based Instantiators
  • Native support for GemFire 6.5 (besides 6.0)
  • Declarative Caching Advice (for .NET)

Through Spring GemFire, Spring users should feel right at home when interacting with GemFire while developers familiar with GemFire will see the benefits and flexibility of the Spring container, its…

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

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

Learn more

Get support

Tanzu Spring 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