The Maven Dependency Dance with Spring Android, Spring Social and Spring Security

Engineering | Josh Long | September 17, 2013 | ...

Roy Clarkson (@royclarkson) and I gave a talk at SpringOne2GX 2013 in which we talked about building REST services with an eye towards consuming those services on mobile platforms like Android and iOS. This talk demonstrates the progressive evolution of an application using Spring MVC, Spring HATEOAS, Spring Data REST, Spring Security, Spring Security OAuth, and Spring Android. The code's benefited from a lot of help from Rob Winch,

Layout of the Code

The code for the talk is on my GitHub account (github.com/joshlong/the-spring-rest-stack). Importantly, the code lives in the code directory. Beneath that there are two choices: web (where you'll find the rest, hateoas, hateoas-data, and oauth, social modules) and client (where you can load the Android module and the iOS module). The modules in the web folder in respective order, demonstrate the evolution of a simple REST service which incorporates hypermedia, Spring Data repositories and OAuth security. The social

Spring Tool Suite and Groovy/Grails Tool Suite 3.4.0.M1 released

Releases | Martin Lippert | September 12, 2013 | ...

Dear Spring community,

I am happy to announce the first milestone release 3.4.0.M1 of the Spring Tool Suite (STS) and the Groovy/Grails Tool Suite (GGTS).

Highlights from this milestone build include:

  • import new Getting Started guides directly into the IDE
  • new wizard to start with Spring Boot directly from within the IDE
  • automatic detection for JavaConfig classes
  • basic support for Groovy in Spring IDE
  • updated to Eclipse Kepler SR1 (RC1)
  • updated to Grails 2.2.4
  • updated to tc Server 2.9.3

Both tool suites ship on top of the latest Eclipse Kepler SR1 RC builds.

The 3.4.0. release is scheduled for early October 2013 - shortly after the Eclipse Kepler SR1 release.

To download the distributions, please go visit:

Detailed new and noteworthy notes can be found here: STS/GGTS 3.4.0.M1 New & Noteworthy.

Enjoy!

Spring Data Couchbase 1.0 M1 and Spring Data Solr 1.0 GA released

Releases | Oliver Drotbohm | September 12, 2013 | ...

Hot on the heals of the Spring Data Babbage GA release I am happy to announce the availability of two community driven Spring Data modules, namely the first milestone of Spring Data Couchbase lead by Michael Nitschinger and the 1.0 GA of Spring Data Solr lead by Christoph Strobl.

The first milestone release of the Couchbase module contains lots of features that allow you to build content driven and scalable applications on top of Couchbase and spring-data very quickly. This release features support for templates, repositories, Java and XML-style configuration. Entities are automatically converted into JSON documents, which can be queried from Couchbase and exported through scalable map/reduce views. In addition to that, the release contains support for @Cacheable

Spring Data Redis 1.1 Released

Releases | Jennifer Hickey | September 11, 2013 | ...

Dear Spring Community,

I am pleased to announce the SpringOne 2013 release of Spring Data Redis 1.1! This release provides support for Redis 2.6 commands and features, including an abstraction for running Redis scripts from your Spring application.

Other highlights include:

  • Significant enhancements to pipelining functionality
  • Data type conversion and deserialization of Redis transaction results
  • Modified API for adding or removing multiple List, Set, and Hash elements in one call

Run this Jira Query for a complete list of changes.

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

This Week in Spring - September 10, 2013 - SpringOne2GX 2013 Edition

Engineering | Josh Long | September 10, 2013 | ...

Welcome to This Week in Spring, SpringOne2GX 2013 edition!

We're now in day 2 of the SpringOne2GX 2013 conference in Santa Clara, CA! Yesterday's keynote saw a lot of new exciting new announcements and introductions and I'll discuss some of those here, and then have subsequent coverage for the balance of the week.

Here, of course, is your abridged look at all that's glitters in the Spring community and (hurrayy!!) at SpringOne2GX 2013! With no exaggeration, this is the most exciting SpringOne2GX to date.

Some of the amazing Spring project leads at SpringOne2GX 2012

One of the things I most like about SpringOne2GX is the access it affords attendees to the brains behind the awesome. After tonight's keynote dinner a few of the project leads lingered a few minutes and took this impromptu photo for me. Spring core lead Juergen Hoeller is front-center, in the blue shirt. For what it's worth, Juergen doesn't actually tweet (the account is a placeholder!), which makes the opportunity to chat with him at SpringOne even more amazing! Going counter-clockwise, starting after Juergen, you then have Spring Security lead Rob Winch, Spring Mobile and Spring Android

Introducing the Spring YARN framework for developing Apache Hadoop YARN applications

Releases | Janne Valkealahti | September 10, 2013 | ...

We're super excited to let the cat out of the bag and release support for writing YARN based applications as part of the Spring for Apache Hadoop 2.0 M1 release. In this blog post I’ll introduce you to YARN, what you can do with it, and how Spring simplifies the development of YARN based applications.

If you have been following the Hadoop community over the past year or two, you’ve probably seen a lot of discussions around YARN and the next version of Hadoop's MapReduce called MapReduce v2. YARN (Yet Another Resource Negotiator) is a component of the MapReduce project created to overcome some…

Spring Data Babbage release train goes GA

Releases | Oliver Drotbohm | September 10, 2013 | ...

Dear Spring community, just in time for SpringOne 2013, we are happy to announce the availability of the GA version of the Spring Data release train code named Babbage. The release concludes the development of a pile of new features and improvements for the Spring Data Core, JPA, MongoDB and Neo4j modules and will serve as foundation for upcoming releases of a bunch of community modules. Here are the most important features of the release.

General upgrades / Spring Data Commons:

  • Spring 4 and JDK 8 compatibility improvements in Spring Data Core to leak into all modules
  • Extended Pageable/Page APIs
  • Advanced web and hypermedia integration for Spring MVC
  • Support for count…By in derived query method names of repositories
  • Upgrade to Querydsl 3.x timeline
  • Improved CDI extensions for all modules

This Week in Spring - Sept 3rd, 2013

Engineering | Josh Long | September 02, 2013 | ...

Welcome to This Week in Spring! SpringOne is almost upon us! It kicks off this weekend with the Cloud Foundry Platform event and continues on until next Thursday. I, personally, am very excited (and a bit nervous!) about this year's show. It's going to be so epic. Yesterday may have been a holiday here in the US (I hope you all enjoyed a wonderful holiday!), but most of us on the Spring team were working fast and furiously in preparation for SpringOne2GX!

My Road to SpringOne2GX 2013 the SpringOne2GX 2013 agenda looks soo good! I'm into a lot of different things like the open web (REST-powered architectures), big data, the cloud, and security and - at SpringOne - there's no reason I can't get my fill of each topic! Here are just some of the talks that I would love to see when I'm there.

  • Tackling Big Data Complexity with Spring with Mark Fisher and Mark Pollack. Does this one need any introduction? Spring XD leads Mark Pollack (Spring core contributor, Spring AMQP co-founder, Spring.NET founder, Spring Data and Spring Data for Hadoop lead) and Mark Fisher (Spring core contributor, Spring Integration founder, Spring AMQP co-founder) will introduce Spring XD, the most powerful way to build big data-centric applications today.
  • Build Your Very Own Private Cloud Foundry with the amazing Matt Stine. Matt's going to introduce how to setup your own on-premises Cloud Foundry instance using BOSH. Matt's a great speaker, a fantastic technologist, and I can't wait to see this talk.
  • Distributed rules engines and CEP with John Davies. John's the CEO of C24, and has got some incredible enterprise integration war-stories. The man's an epic speaker, too.
  • RabbitMQ is the new King with Jan Machacek and RabbitMQ Developer Advocate Alvaro Videla. Jan's a longtime Spring-guru and distributed systems guy, and Alvaro's the Pivotal RabbitMQ developer advocate (in the same way that I'm the Pivotal Spring developer advocate…). They're both sensational and I expect this one will be a wonderful talk.
  • Your Data, Your Search, Elasticsearch with Costin Leau. Costin worked on, among many things, the original Spring Cache integration with Spring core, Spring Data GemFire, Spring Data itself, the OSGi support in Spring DM server (years ago), and a lot more. He's now working with Elasticsearch, and I can't wait to hear his perspective. Costin's really good at taking complex topics and distilling their essences.

I have four presentations (with amazing co-presenters!) this year. Andy Piper and I will present on building Spring and Cloud Foundry-powered applications. Roy Clarkson and I will present on using Spring and REST to connect applications, Kevin Nilson and I will present on using Spring and profiles to build applications that adapt and Phil Webb and I will present on how to improve your Java configuration muscle memory.

I look forward to seeing you guys at SpringOne2GX! Ping me on Twitter (@starbuxman) if you're around and let's talk Spring!

And now, on to this Week's Roundup! Hopefully, this will sate your appetites until SpringOne2GX! :)

  1. Spring Scala lead Arjen Poutsma has just released Spring Scala 1.0.0.RC1. The new release is the first release candidate in the release cycle, towards a 1.0 release, so definitely check it out!
  2. Join our friends from Pivotal Labs as David Frank shows you How to Get Agile with Pivotal Tracker, on September 5th.
  3. Join Phil Webb as he dives into the one of the newest, hottest projects in Spring - Spring Boot on September 26th.
  4. Jan Stenberg put together a nice post on Russ Miles' Life Preserver pattern as used with Spring. The post is a little light on code, but you can check out the original presentation to get the details!
  5. The JavaBeat blog has a really detailed post on how to use Spring's @Tranactional annotation.
  6. Eugen Dvorkin has a nice post on how to use Storm, Groovy, a CEP engine and Spring together. This is really cool, although there's not a lot of code. I also wonder if this could've been done in a simpler way using Spring XD, though.
  7. Spring web-ninja Arjen Poutsma, and author of the original RestTemplate, has been hard at work on an asynchronous RestTemplate to be included in Spring 4. Looking awesome.
  8. Luis Miguel Gracia Luis has put together a nice post that introduces some of the great new stuff coming for Spring developers since the Spring team became part of Pivotal, including Spring XD, Spring Boot, Spring Loaded and Spring REST Shell. The post is Spanish language, but Google Translate does a fairly good job.
  9. Rajkumar Singh has put together a nice post - Apache Hadoop and Spring Data : Configuring mapreduce Job - that introduces Spring for Apache Hadoop. Great post!
  10. The Bluesoft blog has the second post in a series on using Angular.js with Spring MVC to build a login dialog. This is getting good…
  11. The Technicalpractical blog has a post, Display Model As JSON or XML using Spring. The post does a fine job introducing how to put together a JSON view using Spring MVC 2.5-era APIs, but I hope you'll check out some more recent introductions to building JSON-centric REST services with Spring. Here's a (much) simpler example.

Spring Security 3.2.0.RC1 Released

Releases | Rob Winch | August 31, 2013 | ...

Spring Security 3.2.0.RC1 is now available from the SpringSource repository at http://repo.springsource.org. See here for a quick tutorial on resolving these artifacts via Maven.

This release includes tons of updates and fixes. The highlights include:

  • Polishing of Spring Security Java Configuration
    • Uses content negotiation to determine how to prompt user for authentication when multiple authentication mechanisms (i.e. HTTP Basic and Form login) enabled
    • AbstractSecurityWebApplicationInitializer allows registering Java Configuration directly
    • A number of bugs fixed
  • CSRF protection and automatic integration with Spring Web MVC jsp tags
  • Automatic cache control support
  • Defence against Clickjacking attacks
  • HTTP Strict Transport Security support to reduce Man in the Middle attacks
  • Samples include pom.xml so they can be imported as Maven projects
  • MediaTypeRequestMatcher for matching on requests with content negotiation
  • Over ten java configuration samples have been integrated into the samples directory
  • Three new guides that walk users through samples and provide detailed instructions on how to do specific tasks. More of these guides will follow in coming releases
  • Refer to Spring Security 3.2.0.RC1 preview for more details about this release.

    SpringOne2GX

    To learn about all the new features within Spring Security 3.2 attend my Getting Started with Spring Security 3.2 presentation at SpringOne2GX September 9-12, 2013. If you haven't already gotten your tickets, do so now before its too late!

    Changelog | Download | Reference Manual | Guides | FAQ

    Webinar Replay: Spring with Cucumber for Automation (08/2013)

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

    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.

    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