This Week in Spring - Aug 6th, 2013

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

Welcome back to another installment of This Week in Spring. On August 1, I celebrated my third year at SpringSource. I continue to enjoy the ride of my life and a huge part of that is my interaction with you, the most amazing community ever. Thanks for that, folks.

Have you booked your tickets for SpringOne2GX? This year's show is a special one. In my work as the Spring Developer Advocate, I speak at many conferences all around the world. Ask any developer with a pulse, and they'll confirm that big data (and Hadoop), reactive web applications, REST, mobile application development, and cloud computing are sizzling hot topics today. Pivotal, and Spring, support today's developers, and SpringOne2GX's agenda represents in my estimation the perfect blend of content for today's developers. Check out the agenda. We've just recently added talks on big data, and REST service security with OAuth. This will be our first show under Pivotal, and it's the only place where you can talk to the developers working on the technologies you care about both at SpringSource and in the community. As you know, we've just announced our Cloud Foundry conference, Platform, and SpringOne2GX full pass ticket holders may register for that show - which is at the same venue as SpringOne2GX just two days earlier - for free! If I had to pay for just one show a year, this would be that show. Hurry the early bird rate expires this friday!

  1. Major news: Phil Webb and Dr. David Syer have just announced Spring Boot, which simplifies Spring application development. Spring Boot provides an opinionated layer on top of Spring and in so doing makes it dead simple to get an application up and running with a minimum of fuss. Seriously, this stuff will blow your mind. Do not read any further until you've read this short and sweet post! Give it a go and be sure to let us know about your experiences!
  2. Spring Framework 3.2.4 maintenance release is now available, with an important security fix for SpringOXM..
  3. Spring Data Redis-lead and ninja Jennifer Hickey just announced the availability of two Spring Data releases. Spring Data Redis 1.1, M2, featuring a lot of new features, including enhanced data pipelining, Redis 2.6 scripting, and more. Spring Data Redis 1.0.6 is also available, and features bug fixes and smaller improvements.
  4. Spring Mobile and Android lead Roy Clarkson just announced Spring Mobile 1.1.0.RC1, which features improvements to device detection and view resolution in Spring Mobile. Roy also announced a new cut of the stable line of Spring Mobile, 1.0.2, which features similar improvements, some backported.
  5. Spring Data ninja Oliver Gierke has just announced that the final release candidate for Spring Data Babbage is now available. This release is named for Charles Babbage. This release features support for the MongoDB Aggregation Framework and improved the execution of polymorphic queries, support to use SpEL expressions in manually defined queries with JPA, improved handling of entities using @IdClass, a countBy(..) method for Neo4j repositories, and much more.
  6. The replay for the webinars Functional Programming without Lamba and Spring with Cucumber for Automation are now available online. Be sure to check them out!
  7. A few weeks ago, our friend Johnathan Mark Smith put together a video introducing how to use Spring Data MongoDB and Java configuration. Check it out! And, if you're doing awesome videos, feel free to share. I'd love to post them on This Week in Spring, too!
  8. I smiled when I saw a tweet by the Reactor project lead Jonathan Brisbin in which he says, "Processor throughput: 90M ops/sec on a laptop. 1 thread + @LMAX Disruptor. Not #fastdata, #uberfastdata" and then links to a test case in the code. Needless to say, Reactor is going to shake things up big time! (And, of course, we'll have more content on Reactor at SpringOne2GX.
  9. The latest release of Tomcat, Apache Tomcat 8.0.0-RC1 (alpha), is now available! There are a lot of new features. Notably, Tomcat 8 will be the first Tomcat to support JSR 356, web sockets. This is the perfect compliment to Spring 4's recently announced web socket support.
  10. Mohan Srihari Kantipudi has put together a nice post on Spring's basic REST capabilities
  11. I liked Gregor Riegler's post on Spring Loaded, the best kept secret in open source. Spring Loaded is a Java agent that lets you reload code as you're working on it (no need to redeploy!). This is a very cool post and I hope you'll consider using Spring Loaded, too.

Spring Mobile 1.0.2 Released

Releases | Roy Clarkson | August 06, 2013 | ...

Dear Spring Community,

We are happy to announce the release of Spring Mobile 1.0.2! Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications. This release includes the following:

  • Firefox OS now detected as mobile device
  • Kindle devices are now detected as tablets
  • Kindle Fire devices are detected as tablet if they are in Silk Desktop mode or Android WebView, and as mobile when in Silk Mobile mode
  • Additional bug fixes and improvements

See the changelog and reference manual for more information.

To retrieve the software, download the release distribution, or add the maven artifacts to your project. Sample apps are available to help you get started. If you are building a mobile web app, we encourage you try Spring Mobile 1.0.2 and collaborate with us on the next iteration of the project.

Spring Mobile 1.1.0.RC1 Released

Releases | Roy Clarkson | August 06, 2013 | ...

Dear Spring Community,

We are happy to announce the release of Spring Mobile 1.1.0.RC1! Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications. This release includes the following:

  • Firefox OS now detected as mobile device
  • Corrected an issue with redirects and forwards when using LiteDeviceDelegatingViewResolver
  • Additional bug fixes and improvements

See the changelog and reference manual for more information.

To retrieve the software, download the release distribution, or add the maven artifacts to your project. Sample apps are available to help you get started. If you are building a mobile web app, we encourage you try Spring Mobile 1.1.0.RC1 and collaborate with us on the next iteration of the project.

Spring Data Redis 1.1 M2 and 1.0.6 Released

Releases | Jennifer Hickey | August 06, 2013 | ...

Dear Spring Community,

I am pleased to announce the second milestone release of Spring Data Redis 1.1!

Downloads | JavaDocs | Reference Documentation | Changelog

Highlights include:

  • Significant enhancements to pipelining functionality
  • Data type conversion and deserialization of Redis transaction results
  • High level support for Redis 2.6 scripting through RedisTemplate
  • Modified API for adding or removing multiple List, Set, and Hash elements in one call
  • Support for using RedisTemplate without serialization

There is also a new GA release, Spring Data Redis 1.0.6!

Downloads | JavaDocs | Reference Documentation | Changelog

Spring Data Redis 1.0.6 is a maintenance release containing a few bug fixes and minor enhancements. See the Changelog for more information.

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

We look forward to your feedback on the forum or in the issue tracker. We hope to see you at the upcoming SpringOne conference in Santa Clara, CA. Checkout the schedule

Spring Boot – Simplifying Spring for Everyone

Engineering | Phil Webb | August 06, 2013 | ...

(This blog post was written jointly by Phil Webb and Dave Syer).

We are pleased to announce the first milestone release of a new project called Spring Boot.

Spring Boot aims to make it easy to create Spring-powered, production-grade applications and services with minimum fuss. It takes an opinionated view of the Spring platform so that new and existing users can quickly get to the bits they need. You can use it to create stand-alone Java applications that can be started using 'java -jar' or more traditional WAR deployments. We also provide a command line tool that runs 'spring scripts'.

The…

Spring Data Babbage RC1 released

Releases | Oliver Drotbohm | August 05, 2013 | ...

I am pleased to announce the first and final release candidate of the Babbage episode of the Spring Data release train. I consists of the following modules:

The release forms a significant milestone towards the GA releases expected around SpringOne this year. We added support for the MongoDB Aggregation Framework and improved the execution of polymorphic queries. On the JPA side of things we introduced support to use SpEL expressions in manually defined queries, improved the handling of entities using @IdClass and now allow to define the Date binding for repository query parameters using @TemporalType. The Neo4j module added support for countBy(…) queries and type safe query execution for repositories. You can find a more detailed list of features at the wiki page summarizing the Babbage content.

This release is the perfect time to play with the new features and report back your experiences before we turn it to a GA release in a few weeks. We'd be happy to hear your opinions in the forums or in the bug tracker in case you run into any issues.

If you want to learn more about Spring Data or the Spring eco-system in general, the upcoming SpringOne conference in Santa Clara, CA is the perfect time and place to be. Checkout the schedule and register!

Webinar Replay: Spring with Cucumber for Automation

News | Pieter Humphrey | August 04, 2013 | ...
Speaker: Hemant Joshi

Learn how Spring and Cucumber integrate to make test automation easier. Cucumber is a framework for Behavior-Driven-Development (BDD), a refinement of TDD (Test-Driven-Development). Its intent is to enable developers to write high-level use cases in plain text that can be verified by non-technical stakeholders, and turn them into executable tests, written in a language called Gherkin. Using Spring, Cucumber, WebDriver2, Hemant Joshi will show you how to use Spring & Cucumber to do BDD with elegance and joy.


About the speaker

Hemant Joshi

Hemant currently works at Visa Europe on automation framework technical arhcitect. Spring, Cucumber, Java for Visa worldwide.





Webinar Replay: Functional Programming without Lambdas

News | Pieter Humphrey | August 01, 2013 | ...

Speakers: Mattias Severson & Johan Haleby, Jayway Inc You've probably heard the buzz about functional programming and you may have glanced at the new Lambda features in Java 8. What is less known is that it's actually possible to leverage some of the functional-style techniques even in older Java versions. This means that you can program in a functional style, even if your organization has not updated to Java 8. In this session, you'll learn about real-world experiences with functional frameworks such as LamdaJ, Functional Java and Guava. What should you consider before adopting them? How do they compare against one another? If you are stuck with a legacy Java version and want to be prepared for the functional future of Java 8, make sure to attend this session.


About the speakers

Mattias Severson

Mattias Severson, Jayway, Inc

With a background in the hardware and embedded area, Mattias has shifted his focus to Java and the enterprise domain. He is a clean code proponent who appreciates Test Driven Development and Agile methodologies. Mattias has experience from many different environments, including everything between big server solutions for multinational companies down to flashing LEDs by using small micro controllers. He is curious, open-minded and believes in continuous improvement on all levels.

Johan Haleby, Jayway, Inc

Johan Haleby is a Swedish developer, speaker, and writer with a profound interest in software engineering and testability in particular. He has founded and contributed to numerous open source projects such as PowerMock, REST Assured and Awaitility and has spoken at several conferences and user groups such as Öredev and Devoxx.

      </div>
    </div>
    <div></div>
    <div>        </div>
    <div>
      <br />
    </div>
  </div>
</div>

This Week in Spring - July 30, 2013

Engineering | Josh Long | July 31, 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. Don't forget that SpringOne 2GX 2013 early bird expires August 9th, so hurry to secure the discounted rate!

  1. Spring framework committer Rossen Stoyanchev has a great post on Spring Framework 4.0 M2's support for WebSocket Messaging Architectures.
  2. Spring Shell lead Dr. Mark Pollack has announced that Spring Shell 1.0.1.M1 has just been released.
  3. Spring Batch 2.2.1.RELEASE is now available. This release is mostly bug fixes and documentation improvements.
  4. I don't know if you've been following along, but we're starting to really flesh out the SpringOne2GX 2013 schedule! I'm looking forward to both seeing, and presenting, at many different talks this year. One talk I'd like to see is Thymeleaf: improving your Spring view layer with natural templates. I expect this year will be a very exciting year for a number of reasons, and I hope you'll share the experience with us.
  5. We've added some more SpringOne talks recently:
  6. Our pal Tobias Flohre has put together a nice post comparing how the JSR 352 API compares to the Spring Batch. Spring Batch 3.0 will be fully JSR 352 API compliant this fall by SpringOne, but was the inspiration for the JSR in the first place -- Spring Batch 1.0 was released in 2008 and has been gathering steam ever since.
  7. Want to learn more about Spring Scala? Watch Spring Scala lead talk about it at ScalaDays New York.
  8. As I mentioned last week, you'd do well to also follow This Week in Cloud Foundry, which has a lot of great content following last week's large announcement of a partnership between Pivotal and IBM.
  9. The Reactor project lead by John Brisbin has just announced support for a @EnableReactor annotation for Spring Java configuration.
  10. ..Speaking of Thymeleaf (the open source, Spring MVC, HTML5 and Tiles-friendly view and templating engine), version 2.1 will have parameterizable fragments. Do you want to test them? Try the 2.1.0-SNAPSHOT version when specifying your Maven repository-compatible coordinates.
  11. Our friend Johnathan Mark Smith is at it again, this time with a video on using Spring Data MongoDB. Definitely worth a look.
  12. Check out a webinar next month taming coupling & cohesive problems with modularity and Spring with Param Rengaiah.

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe