close
Newest Post

SpringSource Tool Suites 3.0.0.M2 released

Read more

Spring project infrastructure updates

Introduction

Over the last year a number of significant changes have been made to the infrastructure and processes we use to keep the Spring family of projects running smoothly. You may have seen individual announcements about some of these as they happened, while others may have slipped under your radar. I’ll recap these changes below. When put together they portray a bigger picture.



GitHub project hosting


announcement SpringSource organization at GitHub

There are benefits for project committers and Spring users alike following the move to Git and GitHub. GitHub has an excellent UI for code browsing, history of changes, and commit comments. And with the amazing number of open source projects already hosted at GitHub, this means that you’re using one well-understood UI and that you already know how to browse source control, examine recent changes and so on. But GitHub’s real power is in the way it encourages and supports community contribution. This point is discussed further in the “contribution process” section below.

Read more

Spring Data Redis 1.0.1 Released

Dear Spring Community,

I am pleased to announce the GA release of Spring Data Redis 1.0.1 project!

Downloads | JavaDocs | Reference Documentation | Changelog

Spring Data Redis 1.0.1 is more then a maintenance release introducing several new features such as:


  • Support for a new (4th) Redis driver SRP

  • Redis native execution (RedisConnection#execute)

  • Improved pipeline execution tracking potential errors and bulk results consistently across all drivers

For more information about Spring Data Redis please see the home page for a live sample and webinar.

Read more

This Week in Spring - June 26th, 2012

<P> What a week! So much to talk about and scarcely enough minutes in the day to manage.   
Without any further ado, let's get on to it!    </P> 
    <LI> <a href ="http://www.springsource.org/node/3578">Jonathan Brisbin has announced the availability of Spring Data REST 1.0.0.RC1 </A>. Spring Data REST  helps you provide a RESTful interface for your JPA-based repositories.   </LI>
    <LI>  <a href  = "http://www.springsource.org/node/3576">Oliver Gierke has announced Spring Data MongoDB 1.0.2.GA</A>.  The new release  has plenty of bugfixes and improvements, so check <a href = "http://static.springsource.org/spring-data/data-mongodb/docs/1.0.2.RELEASE/changelog.txt">the changelog for more</A>. </LI>
    <LI> Wonder  what happened to the RabbitMQ webinar that was briefly on the SpringSource <a href ="http://www.springsource.org/news-events">events calendar</A>?  It was rescheduled (slight schedule mishap), <a href = "http://www.springsource.org/node/3577">but it's back</A>  and you should definitely  mark your calendars with the updated dates. It figures to be an amazing event.  </LI>
    <LI>  Our pal <a href = "http://www.linkedin.com/in/gordondickens">Gordon Dickens - a world class trainer and engineer</A> - 
         has been <EM>very</EM> busy recently. 
    
         If you haven't been following his blog recently, you missed an 
          <a href ="http://gordondickens.com/wordpress/2012/06/12/springsource_tool_suite_faq/"> introduction to the SpringSource Tool Suite  -  including its composition and value-added features,  and  answers some common questions</A>.
    
            Besides the great post <a href= "http://gordondickens.com/wordpress/2012/06/12/spring-3-1-constructor-namespace">on Spring 3.1's constructor namespace  that we saw earlier this month</A>, 
            he also had a great post on converting  
            <a href = "http://gordondickens.com/wordpress/2012/06/13/gemini-blueprint-converting-from-spring-osgi/">
           from Spring OSGi projects to the Eclipse Gemini Blueprint namespaces for bundles</A>.   Nice job, as usual, Gordon!
    
            </LI>
    
           <Li>
           Andy Chan has a nice  post <a href = "http://www.iceycake.com/2012/06/microsoft-active-directory-ms-ad-authentication-with-java-spring-security-3-1-0/">introducing how to use Spring Security 3.1.0 to talk to Microsoft Active Directory for authentication</A>.
         Nice job, Andy!   </LI>
    

  1. Ben O’ Day has put together a wonderful post on using Spring AOP to implement
    basic performance monitoring.
  2. <LI> The Keyhole Software blog has a couple of very interesting blogs introducing <A href = "http://www.springsource.org/spring-batch">Spring Batch</A>: the first introduces <a href  = "http://keyholesoftware.wordpress.com/2012/06/22/introducing-spring-batch/">the high level concepts</A> and <a href = "http://keyholesoftware.wordpress.com/2012/06/25/getting-started-with-spring-batch-part-two/">the second introduces some actual code.</A> Definitely worth a read.  </LI>
    

  3. The Stardog blog (merely uttering that is fun..) has a

      a very cool example introducing how the  <a href = "http://linkedjava.blogspot.com/2012/06/stardog-and-spring-framework-example.html">Stardog RDF database server could work with Spring by way of an example: the Stardog Petstore</A>! <EM>So</EM> cool...
     </LI>
    

  4. Andriy Redko  has a nice post <a href = "http://aredko.blogspot.com/2012/06/using-redis-with-spring.html">on using Redis with Spring Data Redis</A>.
      </LI> 
    

  5. Ken Rimple, co-author of Manning’s Spring Roo in Action, has put together a nice post on using Spring Roo and Spring Webflow.
  6.      <LI>
    
           Michal Letynski has a nice post on using 
           <a href = "http://java.dzone.com/articles/spring-31-valid-requestbody">
           Spring 3.1's support for the <CODE>@Valid</CODE> annotation on <CODE>@RequestBody</CODE> controller method arguments</A>.
    
             </LI>
    

  7. I suspect we probably covered some of these before, but just to be sure, I wanted to point everybody to this series of blogs introducing the concepts of AOP, and how they’re implemented in practice using the raw JDK, Spring’s AOP and AspectJ, which Spring has fantastic support for. For the other blogs, simply scroll to the bottom of the page and you’ll find links.


  8. Madhusudhan Konda, author of O’Reilly’s Just Spring and Just Spring Integration, has a new book - this one, called Just Spring Data Access, which introduces the nitty gritty of the core data-access technologies in the Spring framework (it does not, however, introduce the Spring Data technologies). While I haven’t read it (though I’ll be sure to read it eventually and possibly write a book review!), it looks interesting.

  9. Arnon Rotem-gal-oz has written a good over-coffee introduction to AMQP and RabbitMQ terminology (if not their application. For that, you might check out this blog introducing the Spring support for JMS and AMQP ).
  10.      <LI>
    

    The VoltDB blog has a pretty nice writeup of how to implement repositories with Spring and VoltDB to build high throughput web applications.

           Another great post from the VoltDB blog talks about using the Spring Converter API with VoltDB's Data Objects.  The idea is a bit unusual, but pretty slick when you think about it: <a href = "http://voltdb.com/company/blog/using-spring-converter-api-voltdb-data-objects">let Spring's generic <EM>converter</EM> registry handle converting Volt's notion of record sets (objects of type <CODE>VoltTable</CODE>) into regular, domain-specific objects</A>. You codify the recipe once - as a Spring <CODE>Converter</CODE>, and then simply reuse it later.  
              In other data-access strategies, this same effect is achieved using, for example, the <CODE>RowMapper</CODE> callback interface, which lets you codify and reuse the recipe for converting a JDBC <CODE>ResultSet</CODE> into a domain-specific object.
    
         Finally, all of these blogs come to a head in this <a href = "http://voltdb.com/company/blog/686k-tps-spring-framework-web-app-and-voltdb">blog introducing the performance tests done against the previous application</A>.  </LI>
    

Read more

Spring Data REST 1.0.0.RC1 Released

I’m pleased to announce the release of Spring Data REST 1.0.0.RC1! Beyond a number of bug fixes, this release adds support for paging and sorting and makes it easier to integrate Spring Data REST into an existing Spring MVC application.

New functionality includes:

  • Paging - Add URL parameters like "page=2" and "limit=20" to control the paging of large result sets.
  • Sorting - Add URL parameters like "sort=name" to control the sorting of result sets.
  • Integrate with existing Spring MVC applications - Now you can easily integrate Spring Data REST into an existing Spring MVC application by simply including a JavaConfig bean into your own configuration.
Read more

Spring Data MongoDB 1.0.2 GA released

Dear Spring community, I’d like to announce the availability of Spring Data MongoDB 1.0.2. It’s a bug fix release containing 20 bugfixes and improvements.

Downloads | JavaDocs | Reference Documentation | Changelog

The release is available from our Maven repository and from Maven Central as well. To learn more about the project, visit the Spring Data MongoDB Page. Looking forward to your feedback on the forum or in the issue tracker.

Read more

This Week in Spring - June 19th, 2012

<P> This week the I'm at QCon New York talking to people about Spring, Cloud Foundry,  vFabric, and  much more. Attendees at QCon conferences always keep things interesting with great questions and ideas.  

As usual, though, the internet has given us a lot of great content to look at this last week, so let’s dive right into the roundup!

</P> 
  1. If you missed Gary Russell's excellent webinar introducing managing and monitoring of Spring Integration applications, don't worry, the video is on the SpringSource YouTube channel.
  2. Details of the new release of Spring for Apache Hadoop 1.0.0.M2 are available. For information on the project itself, check out this in-depth blog of the highlights by Spring for Apache Hadoop contributor, Costin Leau.
  3. James Bayer has a great post introducing how to setup Apache Tomcat 7 as a server on Cloud Foundry using the recently announced standalone process support.
  4. Aljona Murygina has a great post on using Spring's asynchronous execution and scheduling support.
  5. The Codecentric blog has a nice post on using Spring technoloies to create your own RSS reader! Definitely worth a read!
  6. InfoQ has a nice post on the recently announced Spring Android 1.0 release.
  7. If you missed Spring Data contributor and ninja Oliver Gierke's talk at Øredev on Spring Data, Data Access 2.0, then be sure to check out the recording!
  8. The Cake Solutions blog has an interesting post on getting around a possible hangup of using Spring's AOP load time weaving with Specs2 tests.
  9. The Craftsman Spy framework has an interesting post on logging with JDBC using their logging JDBC driver classes and Spring. This driver lets you insert yourself between the actual JDBC driver and the API calls made to the JDBC driver where you can get visibility into the arguments and operations made against the driver. Very cool!
  10. The RabbitMQ blog has a post on using STOMP with RabbitMQ to build Websockets-based applications. Very cool stuff!
  11. VMWare's recent vFabric release, 5.1, has updated the version of the RabbitMQ messaging broker included in the suite to 2.8.1.
Read more

Spring for Apache Hadoop 1.0.0 M2 Released

Dear Spring Community,
I am pleased to announce the release of Spring for Apache Hadoop 1.0 M2:

Downloads | JavaDocs | Reference Documentation | Changelog

The Spring for Apache Hadoop features include support for:


  • DAO support (Template & Callbacks) for HBase

  • Cascading Taps for Spring & Spring Integration

  • Support for Hadoop Security

  • Enhanced Map/Reduce support

  • Two New Samples (hbase-crud and pig-scripting)

For more information on this release of Spring for Apache Hadoop, see this blog entry or the reference documentation.

Read more

Highlights of Spring for Apache Hadoop 1.0.0 M2

I am happy to announce that the second milestone (1.0.0.M2) of Spring for Apache Hadoop project is available. In this blog post, I would like to quickly highlight the major new features in M2.

HBase DAO support

One of the most versatile and powerful feature in Spring Framework is the Data Access Object (or DAO) support. With Spring for Hadoop 1.0.0 M2, the same functionality was added for HBase. Users of the popular template and callback pattern should feel right at home as the framework handles the table lookup, resource cleanup and exception conversion, letting the developer focus on what really matters. See the API and reference docs for more information. By the way, we also included a new sample in the distribution, hbase-crud, to help you get started right away.

Read more

This Week in Spring - June 12th, 2012

Welcome back to another installment of This Week in Spring. We’ve got a lot to cover this week, so let’s get to it!


  1. Gordon Dickens is at it again, this time with a great look at Spring 3.1’s constructor namespace, which provides the logical counterpart to the p: namespace element.
  2. Matt Vickery’s at it again! He’s got an interesting post on how to use the C24 iO product with Spring.

  3. The Vaadin blog has an interesting post on serialization with the Vaadin web framework and Spring.
  4. The Java Code Geeks has a blog post on using the RESTEasy REST framework with Spring-based services. While I would recommend the Spring REST support in Spring MVC over this approach, it’s at least interesting to have the recipe if you ever need to use it.

  5. The Java Code Geeks blog has another post on building Spring-based JPA services that sit behind a RESTful CXF backend. This is another one of those situations where, while it’s useful to know how to do in case you need to, you’re better off using Spring MVC’s REST support. It’s easier, and integrates more naturally with the component model.
  6. The Banging My Head Against a Wall blog has a great post on Upgrading from Spring 2.5 to 3.1.
    This blog shows that the migration is dead simple, if you haven’t already made the jump, and he’s got insight into one particular little gotcha you might hit to make the migration that much smoother.

  7. The TeamExtension blog has a quick post introducing how to get started with Spring Mobile 1.0. They recommend stock Eclipse with the m2e support, but of course, if you use the SpringSource Tool Suite, you won’t have to set anything up.

  8. Are you a .NET developer looking for a solid dependency injection framework like Spring? Have you heard about Spring.NET, the dependency injection framework from the same people behind SpringSource?
    Blogger Łukasz Budnik has an interesting post about Spring.NET’s superiority over other alternatives in the space (Microsoft’s Unity and Ninject).
Read more