Spring Team
Josh Long

Josh Long

Spring Developer Advocate

an aisle seat or San Francisco, CA

Josh Long is the Spring Developer Advocate. Josh is the lead author on Apress’ Spring Recipes, 2nd Edition, the O'Reilly "Pro Spring Roo" book, the Pearson "Livelessons for Spring" and a committer on several Spring projects and the Activiti BPMN framework. When he’s not hacking on code, he can be found at the local Java User Group or at the local coffee shop. Josh likes solutions that push the boundaries of the technologies that enable them. Josh's interests include big-data, mobile, REST, NoSQL and integration. He blogs on the Spring blog and [on his personal blog](http://joshlong.com).
Blog Posts by Josh Long

Using Apache Kafka for Integration and Data Processing Pipelines with Spring

Applications generated more and more data than ever before and a huge part of the challenge - before it can even be analyzed - is accommodating the load in the first place. Apache’s Kafka meets this challenge. It was originally designed by LinkedIn and subsequently open-sourced in 2011. The project aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds. The design is heavily influenced by transaction logs. It is a messaging system, similar to traditional messaging systems like RabbitMQ, ActiveMQ, MQSeries, but it’s ideal for log aggregation, persistent messaging, fast (_hundreds_ of megabytes per second!) reads and writes, and can accommodate numerous clients. Naturally, this makes it perfect for cloud-scale architectures!


This Week in Spring - April 15th, 2015!

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

Last week I was in Paris, France, for Devoxx, FR, and this week I’m in India for the Great Indian Developer Summit and for some meetings ahead of the conference in Bangalore and Hyderabad. If you’re in Bombay, Hyderabad, or Bangalore, and want to talk Spring, Cloud Foundry, and big-data, let me know!

In a week and some change, I’ll be in Barcelona, Spain, for Spring I/O. If you’re in Spain, be sure not to miss this amazing event! I, along with many other members of the Spring team, will be there and looking forward to seeing you!


This Week in Spring - April 7th, 2015

Welcome to another installment of This Week in Spring! This week, I’m off to Paris, France for Devoxx France. Many of us on the Spring and Cloud Foundry teams will be there, so don’t hesitate to reach out if you’re about, we’d love to hear from you! Also, even if you’re not at the show, come meet many of us on the Spring team (including Juergen Hoeller himself, Stéphane Nicoll, Brian Clozel, Sébastien Deleuze and of course yours truly) at this free Devoxx France event.

Also, this Thursday I’ll be speaking at the vJUG again, this time on building microservices with Spring Cloud. Don’t miss it!


This Week in Spring - March 31, 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!


This Week in Spring - March 24th, 2015

Welcome to another installment of This Week in Spring! This week, I’m in São Paulo, Brazil, where I presented a workshop on building cloud-native applications - specifically microservices - with Spring Boot, Spring Cloud and Cloud Foundry (via Pivotal Web Services).


Using Google Protocol Buffers with Spring MVC-based REST Services

This week I’m in São Paulo, Brazil presenting at QCon SP. I had an interesting discussion with someone who loves Spring’s REST stack, but wondered if there was something more efficient than plain-ol’ JSON. Indeed, there is! I often get asked about Spring’s support for high-speed binary based encoding of messages. Spring’s long supported RPC encoding with the likes of Hessian, Burlap, etc., and Spring Framework 4.1 introduced support for Google Protocol Buffers which can be used with REST services as well.


This Week in Spring - March 17th, 2015

Welcome to another installment of This Week in Spring! This week I’ve been busily preparin for a workshop I’ll be giving at QCon São Paulo next week. If you’re at the show, I hope you’ll come out to say hi, ask questions and we’ll talk Spring and Cloud Foundry. Obrigado!

  1. The replay on my humble webinar introducing Spring Session is online, check it out!
  2. Janne Valkealahti has just announced the latest release of Spring Security Kerberos 1.0.0.RC1, packed with new features and now - at long last!! - near GA! Go Janne and team, go!
  3. Spring and Groovy & Grails Tool Suite lead Martin Lippert just announced STS and GGTS 3.6.4.
  4. I put together a post on getting started with Spring Data Couchbase
  5. Spring XD ninjas Marius Bogoevici and Dr. Mark Pollack are going to be giving a webinar on April 28th that introduces using Spring XD and Apache Kafka to create reactive data-pipelines.
  6. I’ll be giving a webinar on April 21st that introduces how to make smart service-to-service calls with Spring Cloud.
  7. This Week’s SpringOne2GX 2014 replays are out! Check out Asychronous design with Spring and RTI: 1M events per second, Building a Recommendation Engine with Spring and Hadoop, and author Peter Harrington’s Become a data-driven Organization with Machine Learning.
  8. Curious about the why Pivotal considers iteself at the nexus of Apps, Data and Cloud? Check out Matt Stine’s SpringOne2GX replay for the answer.
  9. the Vaadin web framework now has official support for Spring and Spring Boot. This support is the official stamping of the code that Peter Holmst and I started, so I couldn’t be more excited to see how far it’s come and to see it finally graduate to an officially supported module.
  10. Intellij 14.1 is packed with all sorts of amazing Spring Boot goodness! Check out this post from JetBrain’s Yann Cébron on some of the amazing new features and be sure to register for this March webinar in March with our own Stéphane Nicoll and Yann covering some of these amazing features!
  11. Heroku have put together a nice writeup on using Spring Cloud to build cloud native applications on Heroku
  12. Check out this video of Spring framework lead Juergen Hoeller recorded from Voxxed Days Austria
  13. Alex Williams put together a nice post on using Apache Brooklyn - an application blueprint and management system which supports a wide range of software and services in the cloud - to automate Cloud Foundry with their custom service broker. The idea is simple: a Cloud Foundry service broker talks to backend services (it’s what drives the flow from cf services and cf create-service). Apache Brooklyn exposed as a service broker in this way is powerful; you only need one broker to expose the catalog of Brooklyn blueprints.
  14. Our pal Matt Stine just published a free e-book for O’Reilly on building cloud-native architectures.
  15. There are a few case studies on the Pivotal blog today. First, Jarrod Vawdrey’s post on using data-science to predict TV viewer behavior and formulate a hit TV show is awesome
  16. Dwayne Forde has put together a nice case study on How Pivotal Performs Continuous Delivery of Mobile Services.

Getting Started with Couchbase and Spring Data Couchbase

This blog was inspired by a talk that Laurent Doguin, a developer advocate over at Couchbase, and I gave at Couchbase Connect last year. Merci Laurent!

This is a demo of the Spring Data Couchbase integration. From the project page, Spring Data Couchbase is:

The Spring Data Couchbase project provides integration with the Couchbase Server database. Key functional areas of Spring Data Couchbase are a POJO centric model for interacting with Couchbase Buckets and easily writing a Repository style data access layer.


This Week in Spring - March 10, 2015

Welcome to another installment of This Week in Spring! This week I am at DevNexus in Atlanta, GA along with a handful of Spring team members and Spring community luminaries. I’ll be presenting a talk on getting started with Spring Boot and I hope you’ll join me, or one of the many other talks on Spring team:


Getting started with Activiti and Spring Boot

This post is a guest post by Activiti co-founder and community member Joram Barrez (@jbarrez) who works for Alfresco. Thanks Joram! I’d like to see more of these community guest posts, so - as usual - don’t hesitate to ping me (@starbuxman) with ideas and contributions! -Josh


Activiti is an Apache-licensed business process management (BPM) engine. Such an engine has as core goal to take a process definition comprised of human tasks and service calls and execute those in a certain order, while exposing various API’s to start, manage and query data about process instances for that definition. Contrary to many of its competitors, Activiti is lightweight and integrates easily with any Java technology or project. All that, and it works at any scale - from just a few dozen to many thousands or even millions of process executions.