This Week in Spring - August 7th, 2012

Engineering | Josh Long | August 07, 2012 | ...

Welcome to another installment of This Week in Spring! As usual, we've got a lot to cover, so let's get to it!

  1. I did a brief review of Manning's new book, Spring Roo in Action. Check it, and the book, out!
    </li>
      <LI> The <a href = "http://bit.ly/QWSrml">Cloud Foundry Integration for Eclipse Now Supports Tunneling to Services</a>. This increases the parity betwen the Eclipse support (and the SpringSource Tool Suite support)  and the <CODE>vmc</CODE> command-line client.  </LI>
    	
    
    	<LI> The VMware has a very cool blog taking a look the roles Spring and RabbitMQ play in 
    		 <a href = "http://blogs.vmware.com/vfabric/2012/07/spring-and-rabbitmq-behind-indias-12-billion-person-biometric-database-1.html">in the new project behind India's 1.2 Billion Person Biometric Database</a>. <EM>Very</EM> cool…

The Most Amazing Java Type Declaration Ever

Engineering | David Turanski | August 03, 2012 | ...

I'd like to think I'm pretty comfortable with Java and generics but I recently came across this bit of Java code and it stopped me in my tracks :

public abstract class AnnotationBasedPersistentProperty<P extends PersistentProperty<P>> extends AbstractPersistentProperty<P> {..}

This class is internal to the Spring Data framework's Repository Support which removes the need to write boilerplate code when implementing a data access layer and also provides a common programming model for mapping domain objects and managing data access to any type of persistent store.  Spring Data's  current repository implementations include relational databases (JPA), Gemfire,MongoDBNeo4.

Fortunately, if you use Spring Data in your Java…

This Week in Spring - July 31, 2012

Engineering | Josh Long | August 01, 2012 | ...

Welcome to another installation of This Week in Spring!

This week I'm in Bangalore, India with other members of the SpringSource and Cloud Foundry teams talking to major system integrators about Spring and Cloud Foundry. The uptake's amazing, and the feedback is even better.

In related news, the Cloud Foundry Open Tour is coming to India next month! If you want to hear thought leaders and experts and learn about cloud computing, platform-as-a-service, architecture and Spring, then be sure to register now for either the Bangalore or Pune events. I look forward to seeing you there!

  1. Jonathan Brisbin has announced the latest release of Spring Data Rest, version 1.0.0.RC2, which features JSONPE support, and better integration with Spring MVC applications, as well as even more configuration hooks so you can exert even more control over the behavior of the framework.
  2. Dr. David Syer has announced the 1.0.0.RC1 release of Spring Security OAuth. Spring Security OAuth is a module that works with Spring Security and lets you expose OAuth-secured RESTful resources.

    The new release features lots of new extension points in the Authorization Server features, a Whitelabel UI for better out-of-box experience, and improved support for expressions in security filters. Check it out!

  3. <LI> WADL is a description format for RESTful web-services,  in much the same way that  WSDL describes SOAP-based web services' contracts. This excellent…

Spring Data REST 1.0.0.RC2 Released

Releases | Jon Brisbin | July 31, 2012 | ...

I'm pleased to announce the release of Spring Data REST 1.0.0.RC2! Beyond a number of bug fixes, this release adds support for JSONPE (JSONP with error handling), the ability to turn off CRUD methods with the @RestResource annotation, and is now built and tested against the Servlet 3.0 API (though it is not yet 3.0 specific, so will still work fine in Servlet 2.5 containers).

New functionality includes:

  • JSONPE - Simply add a URL parameter to have the results wrapped in a call to the Javascript function you specify. Also handles server errors by translating an error to HTTP 200 and passing the original status code as the first parameter of your error handler.
  • Turn off CRUD methods - The exporter now respects @RestResource annotations on CRUD methods. Just override the method from CrudRepository you want to turn off and annotate it with @RestResource(exported = false).
  • Better integration with existing Spring MVC applications - Simplified the internal Spring MVC configuration to make it even easier to integrate with your existing Spring MVC application. Simply including the RepositoryRestMvcConfiguration bean into your own configuration should Just Work.

New or updated documentation includes:

Starter Web Application | Wiki | Release Notes

To learn more about the project, visit the Spring Data REST homepage, or visit the Github repository to…

Spring Data release train approaches stage one

Releases | Oliver Drotbohm | July 24, 2012 | ...

I'd like to announce the availablity of new milestone and bugfix releases of Spring Data Commons (1.3.2.RELEASE, 1.4.0.M1), JPA (1.1.1.RELEASE, 1.2.0.M1) and MongoDB (1.0.3.RELEASE, 1.1.0.M2). The releases mark the very first step to a common release train that will reach the next major release mid August and include Spring Data Commons, JPA, MongoDB, Neo4J and Gemfire. The release train is an effort to simultaneously release all store modules that support the repository abstraction and thus have a common set of functionality to provide. Beyond that this will make sure the released stores interoperate with each other seamlessly.

This first milestone release includes support for JavaConfig based repository configuration by introducing @EnableJpaRepositories, @EnableMongoRepository etc. Beyond that we of course have a ton of bug fixes and improvements. For details follow the links below.

We'll have release candidates for the next major versions out there in early August, followed by the GA versions briefly after that. For more detailled information on the release train please have a look at the wiki page in Spring Data Commons.

The bugfix versions are available from the SpringSource release repository and will be synced to Maven central in a bit, the milestones from our milestone repository. Looking forward to your feedback in the forums or the bug tracker.

This Week in Spring - July 17th, 2012

Engineering | Josh Long | July 18, 2012 | ...

Welcome to another installment of This Week in Spring! This week, the SpringSource and Cloud Foundry teams are OSCON talking about open source enterprise and cloud computing with anybody and everybody. If you're in the region, be sure to check out the SpringSource and Cloud Foundry booth in the exhibition hall!

  1. The Spring Data team is working on a book with O'Reilly on Spring Data. If you want to preview and feedback, now's your chance!
  2. Are you using Spring Data Commons support for repositories? How would you feel about support for Java-centric configuration? Check out the new support for Java-configuration in Spring Data!
  3. <LI> The Java Beginner's tutorial blog has a quick post on  <a href = "http://javabeginnerstutorial.com/spring-framework-tutorial/configure-hsqldb-java-spring/">how to use the embedded database namespace that debuted in Spring 3.0</A>. The <a href = "http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/htmlsingle/spring-framework-reference.html#jdbc-embedded-database-support">namespace</A> is great if you want to setup H2, HSQL and Derby instances quickly and then specify initialization <CODE>.SQL</CODE> statements or scripts to run to initialize the database to a…

Spring Shell 1.0 M1 released

Releases | Costin Leau | July 18, 2012 | ...

Dear Spring Community,

I am pleased to announce the first milestone release of Spring Shell project! Spring Shell is an interactive shell that can be easily extended with commands using a Spring based programming model, extracted from the Spring Roo project.

Downloads | JavaDocs | Reference Documentation | Changelog

For more information about Spring Shell please see the home page.

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

Video: Managing and Monitoring Spring Integration Applications

News | Adam Fitzgerald | July 17, 2012 | ...

This video discusses the options for managing and monitoring applications that use Spring Integration. Topics covered include:

  • using the Spring Integration plugin for Spring Insight to get a real-time view of your applications and its performance
  • using the Integration MBean Exporter and the MBeans it registers for analyzing messaging endpoints and channels
  • exporting the Integration MBean Exporter itself as an MBean, to gain access to its attributes and operations
  • using the <control-bus /> to start and stop endpoints
  • enabling and using Message History
  • previewing the orderly shutdown mechanisms being built into Spring Integration 2.2

Be sure to thumbs up the presentation if you find it useful and subscribe to the SpringSourceDev channel to see other recordings and screencasts.

This Week in Spring - July 10th, 2012

Engineering | Josh Long | July 11, 2012 | ...

Welcome back to another installment of This Week in Spring. This week, I'm at JAX in San Francisco. We're having a good time, and happily answering questions from community members. As usual, though, we've got a lot to cover, so let's get on with the show.

  1. Martin Lippert has announced the latest versions of SpringSource Tool Suite and the Groovy and Grails Tool Suites.
  2. Chris Beams has announced that Spring 3.1.2 has been released!
    	</LI>
    <LI> Rob Winch has announced that <A href = "http://www.springsource.org/node/3588">Spring Security 3.1.1 has been released!  	</A>
    </LI>
    	 
     <LI>  Costin Leau has announced that <A href = "http://www.springsource.org/node/3588">Spring GemFire 1.1.2 has been released!  	</A>
    	</LI>
    
     <LI>   The Tech Annotation page has a great post on using some of  <a href = "http://techannotation.wordpress.com/2012/07/05/remoting-spring-rmi-and-http/">Spring's remoting technologies, RMI and HTTP invoker, to expose objects  to remote clients</A>.  </LI> 
    
    
    <Li>  
    	Chris Haddad  has   put together a…

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