News and Announcements  

News and announcements

Spring Security OAuth 1.0.0.RC2 released

#spring #security #oauth 1.0.0.RC2 is released today http://bit.ly/xfE5PM. Download via github or Maven (SpringSource milestone repository).

Highlights:

* Better error responses from the framework endpoints
* Fixed some issues with validation and enhancement of token contents

Enjoy!

Video: Spring Roo—Not Just another RAD Tool!

Most of you probably know Spring Roo as the Java-based rapid application development tool that uses AspectJ and a command-line shell to build Spring applications. But underneath those slick commands that set up your application components lurks an even more powerful and extensible platform, one that you can use to build anything you want.

In this presentation, SpringSource's Josh Long and Spring Roo in Action authors Ken Rimple and Srini Penchikala introduce Spring Roo 1.2, and then go further, exposing Roo's powerful addon-based underbelly. They introduce Roo's OSGi bundle support, and introduce how add-ons can be used to generate code, install templates, respond to addition / removal of annotations, and expose both open-source and internal-company libraries for use by your developers. Finally, they wrap up by discussing the recently developed Tailor add-on, and will show how it can be used to completely customize your developers' shell environment.

Presenters: Ken Rimple, Srini Penchikala, and Josh Long

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

Video: What's New in RabbitMQ - June 2012 Edition

In the last year and a half, RabbitMQ has seen six major new releases. In this talk, we briefly review messaging, RabbitMQ and the AMQP protocol before covering some of the new features including easier plugin management, new plugins and extensions, publisher confirms, dead lettering, and a new high availability feature based on mirroring queues across nodes in a cluster. Presenter: Jerry Kuch, Staff Engineer, VMware

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

New Home for SpringSource University

SpringSource University has recently launched a new education website that will be hosted on VMware.com. Along with all the information on SpringSource / vFabric education you will find information about certification, class schedules, free class material and more. SpringSource has also released several new learning paths to assist students in becoming a professional developer, operator or administrator:

Spring Developer Path

Groovy & Grails Developer Path

vFabric Gemfire Developer Path

vFabric RabbitMQ Developer Path

vFabric System Administrator Learning Paths

tc Server/Tomcat Administrator Path

vFabric Hyperic Adminstrator Path

For more information visit the New vFabric Education Page

This Week in Spring, August 14th, 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. The SpringSource Tool Suite has been open sourced! And, two different versions of it are now available, supporting two different developers: the Spring developer, served by the Spring Tool Suite, and the Groovy and Grails developer, served by the Groovy/Grails Tool Suite. For more on this fantastic news, check out Tool Suites-lead Martin Lippert's blog.
  2. Spring Security lead Rob Winch announced the latest version of Spring Security, version 3.1.2, has been released.
  3. The ZeroTurnaround blog has a really cool little blog on rapid development with Spring and Hibernate. Of course, Zero Turnaround has a handy little software agent that lets you reload Java classes on the fly. So that's a huge gain in productivity right there. That, coupled with XML-free Spring 3.1 and Hibernate 4.1, and you have yourself a really awesome combination. To learn more, check out the blog! The example he illustrates are also well represented in this sample project on GitHub. The example even includes web.xml, even though it isn't required, just as was done in that blog post, specifically because it's more reliable on the buggy versions of JBoss 7 and Servlet 3 environments aren't ubiquitous, yet. This is a seriously cool blog post, be sure to read the followups!
  4. Joseph Kulandai has a nice, introductory blog post on the Spring ApplicationContext, including some tidbits about it that I'd long since forgotten! Very nicely done, Joseph!
  5. We talked about this before, but InfoQ's coverage is pretty awesome, too. IG Group Open-Sources RESTdoclet, which makes it dead simple to generate documentation for Spring-based RESTful services. REST, for better or for worse, does not have something like SOAP's WSDL, which enumerates the interface contract for clients connecting to SOAP-based web services. This technology fills that gap.
  6. Paxcel Labs has an interesting blog post on that attempts to demystify IoC (inversion of control) and how Spring supports the concept.
  7. The Hybris blog has been on a roll recently with their posts on consuming OAuth from the client perspective, but this post, in particular, introducing how to setup Spring Security OAuth is the one I've been waiting for! It's a very nice read, and I'm glad they've shared it with us, complete with working code and a blow-by-blow breakdown of the pieces. OAuth is complex, Spring Security OAuth (not yet GA!) makes it much simpler, but it's still nice to have guidance.
  8. Speaking of Spring Security, the Java Code Geeks have a blog post with a classic recipe (an oldie but a goodie): how to implement a UserDetails object backed by Hibernate entities (of your own design).
  9. Biju Kunjummen has a great blog post introducing some of the nuances of using Java-based configuration . Specifically, he reminds us to let Spring provide the lifecycle callbacks by routing things through @Bean methods, instead of instatiating the objects directly.
  10. If you use Spring.NET, and want to take advantage of AOP method interception, check out this post!
  11. Spring Data Neo4j lead Michael Hunger, fresh off his very cool Spring Data Neo4J webinar (find more great content like that on our YouTube channel!), has put together a followup blog with helpful resources like the location of the slides. Thanks, Michael!
  12. Partha Bhattacharjee continues his blog series introducing Spring Integration. This time, he talks about Spring Integration's gateways, which make request/reply semantic exchanges dead simple!
  13. Captain Debug has a wonderful post on using Spring 3.1's profiles to define environment-specific beans in XML.
  14. The Halycon code blog has a post on using Spring's sub-contexts to let you take advantage of Spring's property-placeholder resolution in import statements. Normally, these statements are not able to see the property placeholders of the current application context, but nested contexts can see the property placeholders of the parent contexts. Solution? Simply instantiate everything in a child context so that the import statement can use the parent context's properties! This trick's kind of sneaky! I like it. Remember, child contexts provide scoping - beans defined in one child can't see beans defined in another. This makes it very useful for things like Spring Batch Admin, which lets you upload and launch new Spring Batch jobs (which themselves are based on Spring configuration) on the fly.
  15. The Java Assist blog has a nice post on using Spring MVC bean validation in 3.0 or later. Cool!
  16. The Intelligrape blog has a quick post about using Grails' support for Spring beans, and exploiting Spring's lifecycle callbacks, particularly InitializingBean#afterPropertiesSet.
  17. The Middleware magic blog has a nice, complete post on configuring Spring to talk to a JBoss AS 7-managed JMS instance. The example is particularly involved because of all the work required to setup JBoss and to build up a client connection to it.

Spring Security 3.1.2 Released

We're pleased to an announce the GA release of Spring Security 3.1.2
The release is available from the Spring Community Downloads area and jars are available from Maven central repository. See the project website for more information.

Special thanks to Chris Beams for all his help and guidance with updating the Spring Security build to use the Spring release process.

Changelog | Download | Reference Manual | FAQ

This Week in Spring - August 7th, 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!
  2. The Cloud Foundry Integration for Eclipse Now Supports Tunneling to Services. This increases the parity betwen the Eclipse support (and the SpringSource Tool Suite support) and the vmc command-line client.
  3. The VMware has a very cool blog taking a look the roles Spring and RabbitMQ play in in the new project behind India's 1.2 Billion Person Biometric Database. Very cool!
  4. David Turanski has a nice post that introduces a finer point of the Spring Data repository implementations: its really elegant code-base!
  5. Jerry Kuch, a staff engineer at VMWare, did a very nice video on the new features in RabbitMQ
  6. Spring Security lead Rob Winch's amazing QCon New York talk on Spring Security is now available on InfoQ.com.
  7. Umar Ashfaq has put together a nice blog detailing how to authenticate ajax based requests using Spring Security. This blog then links to two other blogs, one on the server side implementation and another on the client side. The approach described uses standard Spring Security web integration, but modifies the responses to work well with an Ajax client.
  8. Umar Ashfaq also had a very nice post on using Spring Security's "remember me" feature.
  9. The Codeyard blog has an interesting - and long! - post on how to setup Spring and Hibernate to work together. The post uses Spring 3.0, and an older version of Hibernate.
  10. Partha Bhattacharjee has a nice post introducing JSR 303 bean validation with Spring.
  11. Partha Bhattacharjee also has another nice post introducing Spring Integration. Nice job!
  12. Markus Eisele has a post about using Spring Social to build the simplest possible Facebook application possible.
  13. Arnon Rotem-gal-oz has put together a nice look at RabbitMQ and AMQP.
  14. RabbitMQ 2.8.5 has been released! For the details, see the release notes.
  15. The SolidSoft blog has an interesting post on using a library called SpringMockito to mock beans in a Spring context. The library mocks beans for you and then makes it easy to inject them and reference them as you would the real deal. This could be very compelling especially used in conjunction with Spring 3.1's profiles feature, which lets you partition beans along environments. You might, for example, have a bean called development, production and test.
  16. Thymeleaf 2.0.11 has just been released and completes support for Spring WebFlow, now including AJAX-based <render> events (even without Tiles).

This Week in Spring - July 31, 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. WADL is a description format for RESTful web-services, in much the same way that WSDL describes SOAP-based web services' contracts. This excellent blog post, by Pankaj Bhatt, has an interesting approach to generating WADL descriptions for Spring MVC-based RESTful services.
  4. Roger Hughes is at it again, this time with part 2 of his look at Spring Social.
  5. Nicolas Frankel has a nice blog on method injection with Spring. Method injection is less useful with the introduction of Java configuration support, of course. Spring supports the injection of proxies of your beans that are recreated according to their scope on access in beans of larger scopes. In XML, this means using the <aop:scoped-proxy/> element in your bean definitions, or specifying the proxyMode attribute in the @Bean annotation on your Java configuration-based bean definitions.
  6. Gordon Dickens is back at it, this time with a nice post on the third part of his blog series introducing best practices for setting up Spring applications.
  7. Semika Koku Kaluge has an interesting post on how to use Spring's LocaleChangeInterceptor to set the Locale of internationalized messages through an HTTP request.
  8. The TomcatExpert has a blog on the release of Apache Tomcat 7.0.29.
  9. Then, TomcatExpert has a nice blog on migrating from Websphere to Weblogic to tcServer, which is the more operations-friendly version of Tomcat packaged as part of VMWare's vFabric.
  10. Finally, TomcatExpert has a nice post on setting up SSL in Apache Tomcat.

Spring Data REST 1.0.0.RC2 Released

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 download the source.

This Week in Spring - July 24th, 2012

Welcome to another installment of This Week in Spring. Can you guys believe we're staring down August already? Time sure has flown quickly! The good news is that we're near my favorite time of the year, SpringOne! This year's speaker and content lineup is going to be amazing, and it will be a unique opportunity to meet with the experts on your favorite technologies, Spring, Grails, Cloud Foundry, RabbitMQ, and much more. Register now to take advantage of early-bird rates...

What're you guys doing in 2 days, on July 26th? Want to learn more about Spring Data Neo4J? Then you should definitely check out the upcoming webinar on Spring Data Neo4j. While we're at it, I also wanted to invite you guys to come see Spring Roo in Action authors Ken Rimple, Srini Penchikala and I present a webinar on Spring Roo (called Spring Roo -- Not Just Another RAD Tool) on August 1, 2012 at 9:30 AM PDT.

Anyway, we've got a lot to cover, so let's get to it!

  1. Spring Data has hit stage one. 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.
  2. Spring Shell 1.0 M1 has just been released. 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.
  3. Tobias Flohre is at it again, this time with a fantastic post on Spring Dependency Injection Styles. Definitely worth a read!
  4. Are you using Google App Engine and the Google DataStore offering? Check out this blog outlining a simple integration with Spring.
  5. John Esposito has a nice blog on how to integrate Spring Data Neo4j with Scala. Definitely worth a read.
  6. Christian Posta has a nice post introducing Spring Integration
  7. Christian continues, this time with a post on using building routes backed by JMS with Spring Integration
  8. Koen Serneels has a quick post announcing his new book, Pro Spring MVC with Webflow. I haven't read it yet, but it looks interesting!
  9. Readers of this column will know about Thymeleaf, an HTML5-optimized template engine that works nicely with Spring MVC as a View implementation. The new version now features integration with Apache Tiles, so you can use Thymeleaf templates and manage them in Tiles layouts. Very cool!
 

Newsletter Subscription

Our monthly newsletter is packed full of techniques, tutorials, tips and tricks to get you on your way to Spring nirvana. View Archive


Upcoming Events

Upcoming Training

Syndicate content