This Week in Spring - Feb 19th, 2013

Engineering | Josh Long | February 19, 2013 | ...

Welcome back to another installment of This Week in Spring! This week I'm in Atlanta, GA with a few other SpringSource colleagues talking to developers at the DevNexus Java conference and - tomorrow - speaking at the Atlanta Spring User Group. This show is bigger and better than ever this year! I love the energy and community here.

If you're in Atlanta, GA, drop by the eHire labs (see the link above for the address) tomorrow night for the Spring User Group and we'll talk about REST, Spring MVC, Spring for Android, Spring Mobile, and more! I look forward to seeing you.

As usual, though, we've got a lot to cover, so let's get to it!

  1. The Spring Data release train "Arora" is now avialable, a synchronized, tested release of all Spring Data sub projects - check it out now!
  2. Craig Walls has announced that Spring Social 1.1.0.M2 has been released ! The new release incorporates tighter integration with Spring Security and a slew of new features.
  3. Jeremy Grelle has announced When.js 1.8.0 which is cujojs's lightweight Promises/A implementation.
  4. <LI>  Gary Russell <a href  = "http://www.springsource.org/node/3813">has announced Spring Integration 3.0.0 M1</a>. 
     There are no major new features in this first milestone, it is mainly refactoring, removing deprecations, etc. Browse the documentation 'what's new' and the release notes for more information.
    
    		 
    
  5. Register now to talk with Sam Brannan and Rossen Stoyanchev on Feb 21st in the Webinar: Testing Web Applications with Spring 3.2
  6. New replays from SpringOne2012 - talks from the Data and Integration track talks starting to hit YouTube. Check out Gary Russell's Monitoring and Managing Spring Integration Part 2, and Hadoop / Big Data enthusiasts shouldn't miss Costin's talk How to build Big Data Pipelines for Hadoop using OSS.
  7. As a bonus session this week, we've also released Spring Data REST: Easily export JPA entities directly to the web.
  8. Krishna's blog has a nice post on using CAS (single signon using Jasig) with Spring Security.
  9. Sergei Sizov has put together a nice post on using Spring Security and HTTP Basic authentication.
  10. The Lucky Ryan blog has a very nice post introducing HDIV - which can be used to prevent cross site request forgery (CSRF), remove the ability to alter non-editable data (hidden fields, params…) and even has options to limit characters globally across form fields - and explaining how to use HDIV with Spring MVC.
  11. Your remoting layer (the layer that's exposed over the network) might simply surface the domain model objects from your services layer. Often, however, the object sent across the wire is a slightly different version of the data used by the service. Perhaps fields are omitted because they contain too much data. Perhaps extra fields are added to communicate metadata about the service itself. Perhaps you simply want to flatten two different types into a single object for ease-of-transport. Whatever the reason, the common pattern (or anti-pattern) to handling this is a DTO (data transfer object). We had these before with EJBs and DCOM and CORBA. Now we have them with REST. If you find you have to have DTOs, the jtransfo library introduced in this post seems like it might be helpful in reducing the tedious adapters from DTO to domain object. The post explains how to use JTransfo to automatically handle adapting domain objects to DTOs.
  12. The Fahd.blog blog has a nice introduction to Spring Batch's RetryTemplate. This is a very powerful component of Spring Batch that doesn't get enough love, so I am glad to see this post!
  13. The Learn and Shine blog has a nice post introducing how to use Spring MVC to render XSLT views.
  14. The Java Ninja Chronicles By Norris Shelton, Jr blog has a very concise post on how he took the first steps in using Spring's Java configuration style to make short work of loading properties from an exotic source.

This Week in Spring - Feb 12th, 2013

Engineering | Josh Long | February 12, 2013 | ...

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

  1. Dave Syer is taking his SpringOne2GX talk to an online audience on Feb 14th, 2013 Webinar - When and Why Would I Use OAuth2?
  2. Dream team Sam Brannen (Swiftmind) & Rossen Stoyanchev (SpringSource) join forces on Feb 21st, 2013 for a Webinar: Testing Web Applications with Spring 3.2
  3. New SpringOne2GX 2012 talks released to YouTube in HD! Ten Great Reasons to Virtualize Your Java Apps, and What's New in CloudFoundry.
  4. Our pal Boris Lam is back, this time with two posts on how to use Spring Data MongoDB and JSF together.
  5. The PluralSight blog has a video introduction to Spring MVC interceptors. This video is an excerpt from a full-fledged video course.
    </LI>
    <LI>  Cool demonstration: <A href="http://www.youtube.com/watch?v=LTxd0PGDaMI&list=UU7yfnfvEUlXUIfm8rGLwZdA&index=1">Spring Insight plugins for Spring Integration and RabbitMQ</a>. 
    
  6. The syntx blog has a nice post on how to add HTTP Basic authentication using Spring Security to Spring MVC-secured resources.
  7. Krishna's Blog has a nice post introducing unit-testing the Spring Security layer with the InMemoryDaoImpl.
  8. <LI>  You know, I was looking for something like this just the other day!  <EM>Mark's Blog </EM> has a nice post on the <A href="http://markchensblog.blogspot.com/2013/02/how-spring-mvc-works.html"> workflow of the various objects in servicing an incoming HTTP request in Spring MVC</a>.  Is this stuff you could easily figure out by sticking a breakpoint in a controller and just looking at the call stack…

This Week in Spring - Feb 5th, 2013

Engineering | Josh Long | February 06, 2013 | ...

Welcome back to another installment of This Week in Spring --

There's some great video content is available online this week, so be sure to check the content out. Also, you asked and we are delivering - we now maintain an single index page for all SpringOne2GX recordings along with the link to the InfoQ page for their recordings of the event. On with the roundup!

  1. Rossen Stoyanchev has announced the 2.4M1 and 2.3.2 releases of Spring Web Flow.
  2. Dream team Sam Brannen (Swiftmind) & Rossen Stoyanchev (SpringSource) join forces on Feb 21st, 2013 for a Webinar: Testing Web Applications with Spring 3.2
  3. Dave Syer is taking his SpringOne2GX talk to an online audience on Feb 14th, 2013 When and Why Would I Use OAuth2?
  4. Jeremy Grelle's talk from SpringOne2GX 2012 introducing practical patterns for asynchronous, push-enabled applications is now available online.
  5. Craig Walls' presentation from SpringOne2GX 2012 Introducing Spring Social is now available on YouTube in HD.
  6. Craig Walls' Javascript - focused talk from SpringOne2GX 2012 Client Side UI Smackdown, is now available on YouTube in HD.
  7. Over on InfoQ China (where the content is in Chinese...), blogger Ding Xuefeng has done a marvelous job shining a light on some of the various Spring sub-projects, including Spring Data, Spring Batch, Spring Integration. Definitely worth a read!
  8. The slides from Spring framework committer Sam Brannen's talk on Spring Framework 3.2 are available, and make for a fascinating read.
  9. This blog explains how to lookup and use a JavaMail Session as configured in Tomcat's JNDI from a Spring application.
  10. The softtech blog has a code-heavy post introducing how to create a one-to-many relationship using Spring Data JPA.
  11. <LI>The <EM>Guident</EM> blog has a nice <a href="http://blog.guident.com/2013/01/spring-into-apache-hadoop/">post introducing  Spring Data Hadoop's support for HBase.</a> </LI>
    
    <LI> The <EM>Dinesh on Java</EM> blog has a nice post on  <A href="http://www.dineshonjava.com/2013/01/spring-data…

This Week in Spring - January 29th, 2013

Engineering | Josh Long | January 29, 2013 | ...

Welcome back to another installation of This Week in Spring ! I've been visiting developers and companies in India, China, and Japan. It's been an exciting time to see what these emerging and powerful countries are doing with open source and with Spring, in particular! Of course, stay tuned to the SpringSource blog in the coming weeks some very cool examples and details!

In the meantime, as usual, we've got quite a bit of news to cover this week, including more news on the Spring 4 roadmap announcement from last week. If you want to get the absolute latest, check out the Spring 3.2 GA webinar replay on YouTube, where Spring Framework 4.0 is covered a bit toward the end. Let's get to it!

  1. Charles Humble at InfoQ's done a nice interview with Juergen Hoeller and write up of the Spring 4 announcement .
  2. The Spring Integration 2.2.1 and 2.1.5 maintenance releases are now generally available.
  3. 		<LI>Spring HATEOAS 0.4 was <a href="http://www.springsource.org/node/3796">released</a>, adding Jackson and HAL support.</LI>
    
  4. Two new SpringOne 2GX 2012 Replays have been released to our YouTube Channel: Tooling for the Javascript Era, An Introduction to Broadleaf Commerce
  5. We've launched a page to centralize all the SpringOne2GX 2012 recordings, check it out!
  6. Chris Beams, Gunnar Hillert, and Rossen Stoyanchev were recorded in well-received presentation Introducing WebSockets at SpringOne2GX 2012, now online on InfoQ!
  7. Blogger Ilias Tsagklis from the Java Code Geeks blog also has a nice post on the Spring 4.0 roadmap announcement.
  8. Chris Beams has announced that Spring 3.1.4 has been released!
  9. Marty Pitt has created a very nice extension - he's calling it BakeHouse- for Spring web applications that preprocesses web artifacts for consumption in your web application at application startup. There are various kinds of pre processing possible: This is a very cool extension, Marty! It's like what I always wanted things like JAWR to be! The thing I most like about it, though? The fluid use of Spring Java @Configuration classes! Really slick and productive!
  10. The Japanese portal Public Key has a nice writeup of the announced roadmap for Spring 4.0
  11. The Just Enough Architecture blog has a nice post on using ActiveMQ, Spring Integration and MongoDB together - cool! I might've used Spring Batch's flat file reading support instead of a custom one out of the box, though, overall, this is an awesome post!
  12. Blogger madhav has a nice look at the code to support table and class inheritance using Spring Data JPA. That said, it's really hard to read as the code is not indented at all!
  13. Noushin Bashir has put together a nice post on how to configure ActiveMQ with SSL and then connect to it from Spring.
  14. 	<LI>  Allard Buijze over at Trifork has announced <a href= "http://blog.trifork.nl/2013/01/22/axon-framework-2-0-released/"> version 2.0 of…

Groovy 2.1 released

Engineering | Guillaume Laforge | January 25, 2013 | ...

The Groovy team is pleased to announce the release of Groovy 2.1.0.

With over 1.7 million downloads in 2012, a strong ecosystem of successful projects like Grails, Gradle, Spock or Griffon built on Groovy, the Groovy programming language continues its development and adoption, refines existing features and evolves new ones.

In this new release, Groovy 2.1:

  • offers full support for the JDK 7 “invoke dynamic” bytecode instruction and API,
  • goes beyond conventional static type checking capabilities with a special annotation to assist with documentation and type safety of Domain-Specific Languages and adds static type checker extensions,
  • provides additional compilation customization options,
  • features a meta-annotation facility for combining annotations elegantly,
  • and provides various other enhancements and minor improvements.

Please read all the details about the new features and improvements in the Groovy 2.1 release notes document.

You can download Groovy 2.1.0 from the Download area, and have a look at the JIRA tickets we worked on.

The Groovy team is looking…

Simple templates for the Scripted Editor

Engineering | Andrew Eisenberg | January 23, 2013 | ...

We recently released 0.3 of the Scripted Editor, and we are making fast progress towards our next release. One of the major goals of Scripted Editor 0.4 is extensibility and part of the extensibility story is a simple, extensible templating mechanism (the other part is a powerful plugin model, which will be described in a future blog post). In this post, I will introduce custom code completions and templates for the Scripted editor.

Sublime Text is an excellent, general purpose editor. It is highly configurable and many users of Scripted also use Sublime. Because of this, we want to make extensions to Sublime compatible with Scripted where it makes sense. One of these areas is sublime-completions files. These files specify lists of completions for a given content type (typically mapped to file…

This week in Spring - 22 January, 2013

Engineering | Josh Long | January 21, 2013 | ...

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

    		  <LI> The future is now and it has a name and version - <EM>Spring 4.0</EM>. <a href="http://blog.springsource.org/2013/01/16/next-stop-spring-framework-4-0/">Juergen Hoeller outlined the proposed next iteration of Spring, Spring Framework 4.0</a>!  </LI>	
    		
        <li>If you missed the live webinar of the Spring Framework 3.2 GA release, <a href="http://www.youtube.com/watch?v=fb5YG2W1srA">check out the replay</a>, which also has a brief discussion Spring Framework 4.0.</li>
        <li> Costin Leau has announced that <a href="http://www.springsource.org/node/3787">Spring for Apache Hadoop 1.…

This Week in Spring - January 15th, 2012

Engineering | Josh Long | January 16, 2013 | ...
 Welcome to another installment of <EM>This Week in Spring</EM>! Can you believe we're already halfway through January?  We've got a <EM>lot</EM> to cover, so let's press on!  In particular, there's a <EM>lot</EM> of great video content to keep you occupied for hours this week. Enjoy! 
 </P> 
 <OL>

<li>Join Scott Andrews as he discusses the role of Javascript in an exciting webinar on  January 24, 2013: <a href="http://www.springsource.org/node/3767" title="Webinar: Architecture of a Modern Web App"> Architecture of a Modern Web App</a>.</li>
<LI>Join Brian Cavalier and John Hann as they…

Next Stop: Spring Framework 4.0

Engineering | Juergen Hoeller | January 16, 2013 | ...

Dear Spring community,

I'm happy to announce that the next iteration of the core framework will be Spring Framework 4.0!

The current 3.2 generation is a natural conclusion of the 3.x line, with Java-based configuration and REST having been recent focus areas next to Java SE 7 and Servlet 3.0 support.

For Spring Framework 4.0, our focus is on emerging enterprise themes in 2013 and beyond:

  • First-class support for Java SE 8 based Spring applications: language features such as lambda expressions; APIs such as JSR-310 Date and Time
  • Configuring and implementing Spring-style applications using Groovy 2: Groovy-based bean definitions; Groovy as the language of choice for an entire app
  • Support for key Java EE 7 technologies: including JMS 2.0, JPA 2.1, Bean Validation 1.1, Servlet 3.1, and JCache
  • Enabling WebSocket-style application architectures: support for JSR-356 compliant runtimes and related technologies
  • Fine-grained eventing and messaging within the application: building on our existing application event and message listener mechanisms
  • Pruning and dependency upgrades: removing deprecated features; raising minimum dependencies to Java 6+ etc

Building on the momentum and the preparation work behind Spring Framework 3.2, we intend to have yet another one-year iteration and reach 4.0 GA by the end of 2013.

We'll be tracking OpenJDK 8's schedule…

This Week in Spring - January 8th, 2013

Engineering | Josh Long | January 08, 2013 | ...

Welcome back to another installment of This Week in Spring. As usual, we've got a lot to look at, so, without further ado...

  1. GigaOM has a nice roundup of some of the exciting and important tools in the big-data ecosystem right now. There are many different tools serving different segments of the use cases,
    <a href="http://gigaom.com/2012/12/18/a-programmers-guide-to-big-data-12-tools-to-know/">and of course Spring Data is mentioned in there</a>, too!
     
    </LI>
     <LI>
    	 The <EM> ODBMS Industry Watch</em> blog 
    		and professor Roberto V. Zicari  
    		has a nice  interview 
    		
    		 <a href ="http://www.odbms.org/blog/2013/01/the-spring-data-project-interview-with-david-turanski">with Spring ninja David Turanski on Spring Data</a>. Definitely a good read!
    
    	
    	 </LI>	 
    
    
     <LI…

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