close
Newest Post

This week in Spring: May 31st, 2011

Read more

This week in Spring: May 24th, 2011


What a week! Excitement is in the air as we near the S2G Forums here in Amsterdam on the 26th and then next week in London on the 31st of May. If you’re in Europe, be sure not to miss these exciting, jam-packed days with talks on all manner of topics including Spring, Grails, the cloud, big data and of course tooling.


  1. Mark Fisher and Ramnivas Laddad presented their hit webinar - “From Zero to Cloud in 60 Minutes” - on Cloud Foundry last week.
    Thank you all for attending and making it a success! If you missed it, you can still get the slides and watch the replay here. Note that there are, as usual, lots of other resources there once you’re done with the CloudFoundry webinar. Check out the other developer webinars (scroll down, click on the “Developers” tab), and check out the SpringSource Dev YouTube page.

  2. Juergen Hoeller, the Spring project lead, presented on the next generation of Spring – Spring 3.1 and beyond, at QCon London earlier this year. His talk and slides are available on InfoQ.com

  3. The video for the Getting Started with Spring Data Graph webinar is available, as well. This webinar introduces the Spring Data Graph project - a joint effort between the Spring and Neo4j engineering teams to bring first-class support for Neo4J to your Spring applications. If you want a more natural way to integrate the NOSQL data technologies in your existing architecture, simply want more speed, or want to see what you’re missing, then you should definitely check this webinar out.

  4. In a fantastic example of eating ones own dogfood, Mark Thomas - Tomcat committer and Apache Bug tracking infrastructure maintainer - explains how the Apache JIRA interface was being whelmed - not overwhelmed, but still running inefficiently - by search engines that hit specific JIRAs, but didn’t maintain a session cookie, triggering the creation of numerous sessions. Mark describes the creation of a custom Valve for Tomcat 7 (and SpringSource’s tcServer) that associates a single Tomcat session with each web crawler, greatly reducing their footprint.

  5. Spring Web Services 2.0.2 has been released. For more information, see the change log. Spring Web Services 1.5.1.0 has also been released. For the changes in this release, please see the changelog. Both releases include some worthy updates in of themselves, but, importantly, both also resolve a potential security issue. It is recommended that users upgrade as soon as possible.
  6. <LI> Google I/O, Google's developer conference, is an exciting time for enterprise Java developers, and of course, this also means Spring developers. One notable announcement was the <a href="http://vaadin.com/springroo">1.0 release of the Spring Roo plugin for Vaadin,</a> which is a widget-centric approach to web application development.  Vaadin's a very innovative way to build web applications today, and - of course - <a href="http://vaadin.com/wiki/-/wiki/Main/Spring%20Integration">it works well with Spring.</a> (NB: those instructions are old, but they should still work, and you can just use the Roo plugin, either way!)
    




  7. Leveraging the Spring HandlerMethodArgumentResolver interface
    is a fantastic blog for those looking towards the imminent Spring MVC 3.1, which will include a general refactoring of the internals of the MVC resolution mechanism. Your existing code will continue to work with no problems, of course, and you don’t need to understand the machinery to leverage Spring MVC. But, if you do want to extend the resolution mechanism, then it’s simpler now. This blog illustrates the point rather nicely by extending the processing pipeline in Spring 3.1.
Read more

SpringSource Tool Suite 2.7.0.M1 Released

Dear Spring Community,

I’m pleased to announce that we just released the first milestone build for the next release of the SpringSource Tool Suite (STS).

Appearing shortly after the 2.6.1 maintenance release, this milestone brings mostly new features for Groovy&Grails developers, including:


  • Groovy 1.8 support

  • Conditional breakpoints for Groovy

  • Search inside GSPs

  • Early access Gradle support

More details can be found in the New and Noteworthy for 2.7.0.M1 document. Detailed installation instructions are also available, please look at the installation from the milestone update sites.

Read more

This Week in Spring: May 10th, 2011

May’s well underway and all the preparations for the S2G Forums in Amsterdam and London are complete. These S2G Forums are the premiere place for people in Europe to get access to the best information related to the Spring community (at a minimum cost!). I hope we’ll see you in Amsterdam (May 26, 2011 - € 114 ) and / or London (May 31, 2011 - &#163 99)!



In the interim, those of you that want an even better picture of how the Spring framework plays on the nascent CloudFoundry open-source cloud PaaS project should be sure to attend a webinar - Spring from Zero to Cloud in 60 minutes for both North America and Europe in just 10 short days!

Read more

Spring Android 1.0.0.M3 Released

Dear Spring Community,

We are pleased to announce that the third 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.M3 release focuses on extending the use of Spring Social in native Android applications. This includes:

  • Support for Spring Social 1.0.0.M3 through the new Spring Android Auth module, which includes a SQLite datastore for persisting API connections. Spring Social is currently supported in Android version 2.3.1 (API Level 9) and higher.
  • Updated RestTemplate (client) support, now at the level of Spring Framework 3.1.0.M1.
Read more

Better DSL support in Groovy-Eclipse

The Groovy language is an excellent platform for creating domain specific languages (DSLs). A good DSL can make programs more concise and expressive as well as make programmers more productive. However, until now these DSLs were not directly supported by Groovy-Eclipse in the editor. When DSLs are used heavily, standard IDE features like content assist, search, hovers, and navigation lose their value. For a while now, it has been possible to write an Eclipse plugin to extend Groovy-Eclipse, but this is a heavy-weight approach that requires specific knowledge of the Eclipse APIs. Now that Groovy-Eclipse supports DSL descriptors (DSLDs), supporting custom DSLs in Groovy-Eclipse will become significantly easier.

Read more

SpringSource Tool Suite 2.6.1 Released

Dear Spring Community,

We’re pleased to announce the new release 2.6.1 of the SpringSource Tool Suite (STS).

The release brings you:

  • vFabric tc Server 2.5 packaged and supported
  • Bugfixes for tc Server instance creation

More details on new features and bug fixes can be found in the New and Noteworthy document. Detailed installation instructions are also available.

As always downloads are available from the STS download page.

Read more

This week in Spring: May 3rd, 2011

It’s May, already! Seems like just yesterday we were toasting the arrival of the new year…

As they say, time flies when you’re having fun! This year’s been a roller coaster - exciting news and events every day - too much to keep up with, certainly!

  1. Jon Brisbin has written up an epic post introducing the CloudFoundry project and many of the technologies that you can use on it.

    This was just put up today, and is now one of my favorite blogs introducing CloudFoundry; it’s so ambitious, just like CloudFoundry itself!

  2. Another masterpiece of a sample is the blog that Costin Leau wrote, Getting Started with Redis and Spring Cloud Foundry. This post is well worth reading whether you’re doing CloudFoundry, Spring Data, or both. A dynamic duo, indeed!

  3. <li>European community members can learn more about Spring, Spring Data and Cloud Foundry at the S2G Forum Series: <a href="http://www.springsource.com/events/s2gforum-5-26-2011-amsterdam">Amsterdam (May 26th)</a> and <a href="http://www.springsource.com/events/s2gforum-5-31-2011-london">London (May 31st)</a>. There will be tons of great sessions about Spring, Groovy and Grails as well as talks focused specifically on CloudFoundry, Tomcat and Gemfire so be sure to <a href="http://www.springsource.org/s2gforum2011">register for the event</a> closest to you. 
    
    </li>
    

  4. Spring Security 3.1.0.RC2 Released – the title sums it up. Check out the link for the changelog. For more on Spring Security, keep reading - there are a couple of very interesting posts about Spring Security a little further down!
  5. Spring Social 1.0.0.M3 Released. The new release continues the exciting evolution of the core concepts laid out in the earlier releases. Specifically, this new release enhances the APIs for some of the social APIs, extends the plugin mechanism, and provides a pre-packaged Spring MVC Controller that adds provider sign in capability to your application.

  6. On the CloudFoundry blog, Killian Murphy updates the community on the latest and greatest on in the CloudFoundry project. The activity’s been amazing, and the fact that - in the three weeks since CloudFoundry’s debut - people have submitted GitHub.com pull requests for JRuby, PHP and Erlang support in the CloudFoundry open-source PaaS is a testament to this. Amazing!

  7. Recently, SpringSource put up a survey about dm Server and Virgo usage. The results of that survey are available here.

  8. In this post - Single Spring Application Deployment for both Local and CloudFoundry.com Servers - David Salter introduces Spring 3.1’s profiles, and how to use them to deploy a single both locally and in the cloud. Check it out for a good step-by-step!

  9. Tobias Trelle introduces RabbitMQ and Spring, walking the developer through installation and setup.

  10. Rafal Borowiec introduces Spring Security 3.1’s enhanced security namespace configuration.
  11. Steffen Luypaert writes an interesting post on migrating from Spring Security 2 to Spring Security 3. It highlights the few specific steps - including a few “gotchas” that might strike very specific cases - required to ensure a smooth upgrade. Very cool!

  12. A perspective on the CloudFoundry PaaS. The thrust of it - that CloudFoundry reduces friction and enables developers - should resonate well with the numerous developers who’ve had a chance to work with it already. Check it out, and of course then follow up with a visit to CloudFoundry.com and CloudFoundry.org to try it out for yourself and learn more!

  13. People ask me frequently about the best way to learn Spring and how to get training to improve their Spring skills. Without exception, I refer them to the SpringSource training that is created by the project leads and engineers behind the Spring technologies. The trainers are also some of the most knowledgeable people at SpringSource - they have the macro, birds-eye view and the micro view of the entire technology stack from concepts to API to implementation. So, I’m pleased to remind you that SpringSource has just announced new certifications for trainings and the training schedule. See this overview of certification and this schedule post for more information.

    If you’re like me, and you’ve been using and advocating Spring and the Spring projects since the very beginning, then please understand that there’s very likely still something for you in this training. I was stunned by how much I learned!

Read more

Using MongoDB, Redis, Node.js, and Spring MVC in a single Cloud Foundry Application

Traditionally, applications have been defined by the principle technology they use. If you’re building a Spring MVC application, we call it a “Java app”. Since our application is primarily composed of Java components, we tend to stay in our own yards and not be terribly friendly with our neighbors until we’re forced to interact with them. We set up Java-based application servers and tend to think first of going to the Java language to solve a problem in our application whether that language is the best choice or not. It has usually just been too difficult to maintain multiple sets of runtime environments for our applications, so we stovepipe ourselves through sheer inertia.

Read more