The Spring Blog

Engineering
Releases
News and Events

Spring XD 1.1 RC1 released

On behalf of the Spring XD team, I am very pleased to announce that the Spring XD 1.1 Release Candidate is now available for download.

The 1.1 RC1 release includes several new features as well as bug fixes.

One theme in the 1.1 release is around Stream processing. The 1.1 M2 version introduced support for Reactor’s Stream API in processing modules. The 1.1 RC1 release adds support for stream processing using RxJava’s Observable API and Spark Streaming alongside the existing Spark job support. By providing a range of options, you can pick the functional programming model that best suits the task at hand.

Read more...

Spring Data Evans SR 2 and Dijkstra SR 5 released

On behalf of the Spring Data team I’d like to announce the availability of the second service release for Spring Data release train Evans as well as the fifth - and final one - of Spring Data Dijkstra.

The releases ship 191 tickets fixed, some of them quite significant bugfix and performance improvements and thus the releases recommended upgrades within the trains. The Dijkstra service release is planned to be the last one for that train. Users are recommended to upgrade to Evans as bug fixes will only be ported to that branch going forward.

Read more...

The API Gateway Pattern: Angular JS and Spring Security Part IV

In this article we continue our discussion of how to use Spring Security with Angular JS in a “single page application”. Here we show how to build an API Gateway to control the authentication and access to the backend resources using Spring Cloud. This is the fourth in a series of articles, and you can catch up on the basic building blocks of the application or build it from scratch by reading the first article, or you can just go straight to the source code in Github. In the last article we built a simple distributed application that used Spring Session to authenticate the backend resources. In this one we make the UI server into a reverse proxy to the backend resource server, fixing the issues with the last implementation (technical complexity introduced by custom token authentication), and giving us a lot of new options for controlling access from the browser client.

Read more...

This Week in Spring - January 27th, 2015

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. Join Andy Wilkinson as he discusses REST API documentation, swagger, and more in a webinar on Tuesday, Feb 3rd - Documenting RESTful APIs
  2. Sabby Anandan is joining us for the Spring XD 1.1 launch webinar on Tuesday, Feb 17th - Spring XD: A Platform for data at scale and developer productivity
  3. Don’t miss Rob Winch as he takes a fresh look at HTTPSession for the cloud. His webinar is on Tuesday, Feb 24th, 2015 Webinar: Introducing Spring Session
  4. I put together a look at 12-factor app-style backing service consumption in Spring, and using Cloud Foundry
  5. Check out this talk introducing system administration using Groovy from Netflix’s Dan Woods
  6. Apache Tomcat contributors Stuart Williams and Daniel Mikusa’s SpringOne2GX 2014 talk - Fastest Servlets in the West? - is now available online! Check it out!
  7. Check out Spring Social lead Craig Walls’ SpringOne2GX 2014 talk, Booting up Spring Social, which introduces the various ways that Spring Boot simplifies (even further!) using Spring Social.
  8. Billy Yarosh put together a nice blog on using Spring HATEOAS.
  9. Are you following This Week in Cloud Foundry?
  10. Check out this nice post on integration testing with Spring Boot and RestAssured
  11. Our pal Mkyong is back, this time with a post on using Spring profiles!
  12. Florian Hohpf’s post introduces logging to Redis using Spring Boot and Logback
  13. Want to use Quartz in Spring Boot? This StackOverflow was short and sweet and answers a question I’ve seen elsewhere about getting Quartz jobs working that used to work.
  14. Driss Amri put together anice introduction to using Spring Boot and Thymeleaf for modern web application development
Read more...

12-Factor App-Style Backing Services with Spring and Cloud Foundry

The 12 Factor App Manifesto talks about backing services at length. A backing service is, basically, any networked attached service that your application consumes to do its job. This might be a MongoDB instance, PostgreSQL database, a binary store like Amazon’s S3, metrics-gathering services like New Relic, a RabbitMQ or ActiveMQ message queue, a Memcached or Redis-based cache, an FTP service, an email service or indeed anything else. The distinction is not so much what the service is so much as how it’s exposed and consumed in an application. To the app, both are attached resources, accessed via a URL or other locator/credentials stored in the configuration.

Read more...

SpringOne2GX 2014 Replay: Groovy for System Administrators

Recorded at SpringOne2GX 2014.

Speaker: Dan Woods, NetFlix

More Groovy Track

Slides: http://www.slideshare.net/SpringCentral/4pieter-springone2gx2014groovysysadmins

Enterprise Operations is seeing a shift in the management paradigm of infrastructure, from the more-traditional server-centric design, to an approach that leverages the application stack as the custodian for administration.

 

Read more...

SpringOne2GX 2014 Replay: Fastest Servlets in the West?

Fastest Servlets in the West?

Recorded at SpringOne2GX 2014.


Speakers: Stuart Willliams, Daniel Mikusa


Slides: http://www.slideshare.net/SpringCentral/williams-fastest-servlets-in-the-west


Applied Spring Track


The venerable Servlet Container still has some performance tricks up its sleeve - this talk will demonstrate Apache Tomcat’s stability under high load, describe some do’s (and some don’ts!), explain how to performance test a Servlet-based application, troubleshoot and tune the container and your application and compare the performance characteristics of the different Tomcat connectors. The presenters will share their combined experience supporting real Tomcat applications for over 20 years and show how a few small changes can make a big, big difference.

Read more...

SpringOne2GX 2014 Replay: Booting up Spring Social

Recorded at SpringOne2GX 2014.

Speaker: Craig Walls

Slides: http://www.slideshare.net/SpringCentral/booting-up-spring-social

Applied Spring Track

In recent years, people are using social networks like Facebook and Twitter to connect, meet, and share experiences and ideas. But it's not just people making connections; modern applications are also leveraging the APIs provided by the social networks to connect with their users and customers. It's hard to find applications these days that aren't somehow connected to their users via social APIs. Spring Social is an extension to the Spring Framework that enables you to create applications that connect with APIs. With it, your application can offer social login, learn about its users' interests, and inject itself into their social graph. In this session, we'll take a look at the latest that Spring Social has to offer, including integration with Spring Security, automatic reconnect, and a dramatically simpler configuration model using Spring Boot.

Read more...

SpringOne2GX 2014 Replay: Hadoop 201 -- Deeper into the Elephant

Recorded at SpringOne2GX 2014.

Speaker: Roman Shaposhnik

Big Data Track

Slides: http://www.slideshare.net/SpringCentral/hadoop-201-deeper-into-the-elephant

This session expands on the previous year's "Hadoop: Just the Basics for Big Data Rookies", diving deeper into the details of key Apache Hadoop projects. We will start with a brief recap of HDFS and MapReduce, then discuss more advanced features of HDFS, in addition to how YARN has enabled businesses to massively scale their systems beyond what was previously possible. We will then discuss Apache HBase, the non-relational database modeled after Google's BIg table, review the data model, architecture, and common use cases. By the end of this session, you will learn how these three core Hadoop projects are used to solve even the most challenging Big Data problems.

Read more...

This Week in Spring - January 20th, 2015

Welcome to another installment of This Week in Spring! This week’s roundup could’ve just as easily been titled, This Week in Spring Videos and Webinars, because we’ve got a lot of them!

  1. The good Dr. Dave Syer continues his series introducing Spring Security and Angular.js integration, this time looking at breaking apart the resource server from the authorization server. This post looks
  2. Our pal Nicoalas Frankel is back at it! Nicolas lives in both the Vaadin and the Spring communities. So, naturally, when Petter Holmström and I started the Vaadin4Spring project at the beginning of 2014, we weren’t surprised when Nicolas started making great contributions. His latest contribution introduces an elegant implementation of the MVP pattern for Vaadin and he’s written a very nice introduction to it - check it out!
  3. I’ll be speaking at the Oakland JUG on the 28th on building microservices with Spring Cloud and Cloud Foundry.
  4. Tadaya Tsuyukubo just announced the first 1.0.0 release of the Spring Social Slideshare project. I haven’t had a chance to play with it yet, but it looks like it could scratch a few itches I’ve got! Nice work!
  5. I hope you’ll join me next month for a webinar introducing the Spring Session project.
  6. Speaking of Vaadin and Spring, I’ll be co-presenting this week at the GWT.create conference. Our talk will look at controlling a Parrot AR Drone using a Vaadin-based HTML5 frontend and a Spring Boot-powered backend and drone client. Come join us, it’s sure to be fun!
  7. InfoQ did an interview with Spring Boot co-founder Phil Webb on all the new features in Spring Boot 1.2.1
  8. Alexandre Lourenco put together a post demonstrating how easy it is to get a REST API up and running with Spring Boot in this quick post on DZone
  9. Be sure to check out Spring XD’s Sabby Anandan in this webinar on Spring XD.next on February 17th
  10. The incomparable, amazing Andy Wilkinson will be talking about how to document REST APIs in a February 3rd webinar.
  11. I put together a post that introduces service registries like Consul and Eureka for more resilient service-to-service calls in a Spring Cloud-based system.
  12. Our pal Jakub Kubrynski has put together a wonderful post on including the NewRelic Java agent in a Spring Boot uber-jar
  13. In putting together the post on service discovery and registration with Spring Cloud, I stumbled upon Jason Wilder’s fantastic look at service registries and really liked it, even though it doesn’t have anything to do with Spring, per se.
  14. Check out this replay of Rossen Stoyanchev’s SpringOne2GX 2014 talk introducing Spring 4’s support for web applications
  15. Check out this SpringOne2gx 2014 talk from Matthew Adams (SCI Spike) and Michael Nitschinger (Couchbase) on using Spring Data Cassandra and Spring Data Couchbase in the enterprise
  16. Garrett Wampole’s SpringOne2GX 2014 talk on enterprise integration patterns as applied to real-time data processing is worth a watch!
  17. Check out our pal and the Spanish Spring I/O conference’s organizer Sergi Almar’s talk deep-diving into websockets
  18. Speaking of super awesome Spaniards, the Disid team just announced Spring Roo 1.3.1 RC2
  19. Spring Tool Suite and Groovy Tool Suite lead Martin Lippert just announced the latest releases, 3.6.3 SR1.
  20. My pal Luke Shannon did a fantastic webinar introducing Spring Data Gemfire, a world-class integration for a world-class data-grid.
  21. Spring Batch and Spring Batch Admin lead Michael Minella has just announced the latest release of both projects. The new Spring Batch revision includes support for JSR 352 custom infrastructures, polling for partitioned results, and more. The Spring Batch Admin revision integrates the latest and greatest in Spring Batch, including JSR 352 and Java configuration support. Check it out!
  22. Spring IO Platform lead Andy Wilkinson has announced Spring IO Platform 1.1.1, which includes the latest cuts of Spring AMQP, Boot, and Integration
  23. Spring Integration lead Gary Russell’s SpringOne2GX 2014 talk on Spring Integration’s new Java configuration support is not to be missed!
  24. Check out Spring framework lead Juergen Hoeller and Stephane Nicoll’s talk on caching and messaging improvements in Spring 4.1
  25. The sleepless Spring Security lead Rob Winch’s SpringOne2GX 2014 introduction talk on Spring Security is also available
  26. Spring framework lead Juergen Hoeller’s SpringOne2GX 2014 talk on Spring framework and Java 8 is not-to-be-missed primer for those looking at the next-gen Spring 4 and 4.1
  27. Another nice post on using SimpleJdbcInsert to handle JDBC data insertion
  28. Alvin Henrick put together a nice post on using Spring Boot and Docker together
  29. I found this interesting Q&A post on using Groovy with Spring Boot
  30. Alex Collins’ post on using Docker, Elastic Search, and Selenium to create a search-in-a-box is epic! Check it out!
  31. This Japanese-language post on using the new Spring Boot 1.2.1’s Jersey support looked pretty good (via Google Translate!)
  32. Want to stand up services via Docker? Check out our pal Chris Richardson’s post on standing up services via Docker! You could, for example, consume these services from another Docker-packaged Spring Boot application, or on Cloud Foundry.next (hitherto called “Diego”). http://plainoldobjects.com/2015/01/14/need-to-install-mongodb-rabbitmq-or-mysql-use-docker-to-simplify-dev-and-test/
  33. Are you following This Week in Cloud Foundry? Do! There’s so much good stuff there, as usual.
Read more...