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

This Week in Spring - November 18th, 2014

Welcome to another installment of This Week in Spring! This week I'm in sunny Sofia, Bulgaria for the Java2Days software conference. As usual, this show is way too much fun and the crowd's bigger and better than ever!

  1. Spring Boot 1.2.0 RC1 is now available! This release moves embedded Servlet containers to Tomcat 8 or Jetty 9, adds a new @SpringBootApplication annotation, adds JavaMail support, and registers additional Spring Boot actuator support
  2. Spring Session 1.0.0.RC1 is here with loads of features!
  3. Speaking of using Spring with ZeroTurnaround, join ZeroTurnaround's Adam Koblentz and I on Nov 20th as we look at using JRebel and Spring Boot to deliver a one-two developer productivity punch without equal
  4. Want to learn more about the Reactor project and the role of asych I/O in microservices? Check out the upcoming Reactor webinar!
  5. Spring for Apache #Hadoop 2.1.0M2 is now available!
  6. Andy Wilskinson has just announced that Spring IO Platform 1.0.3 is now available
  7. Another great SpringOne2GX 2014 replay is up: Spring Data ninjas Thomas Darimont, Oliver Gierke, and Christoph Strobl's talk What's new in Spring Data.
  8. Check out the replay of our pal Venkat's talk from SpringOne2GX 2014, Java 8 Language Capabilities, What's in it for you?
  9. Splunk's Damien Dallimore SpringOne2GX 2014 talk, Gaining Application Lifecycle Intelligence, is now available online!
  10. Slideware from SpringOne2GX 2014 is also up! They are linked to from the session details on the http://springone2gx.com website.
  11. Our pal Simon Maple over at ZeroTurnaround just published a nice post, What You Can Build for Free in 2 Hours with Spring Boot, Twitter, and Facebook
  12. Simon also did a nice post that has him basically following the Spring IO guide on building REST services
  13. You listen to the SE Radio podcast, I trust? You should. It's legit. Check out this nice interview with James Lewis, microservice luminary, on what a microservice is. I think it's a pretty darned interesting discussion.
  14. Looking for a more non-trivial Spring and WebSocket sample backed by ActiveMQ? Check out this example
  15. I've been loving the Cloud Foundry After Dark recorded Google Hangout sessions. If you're not following them, this is definitely fun.
  16. I do a techtip for our e-mail newsletter, and we're going to start publishing those techtips on the blog. First up: building a Spring Integration 4.1 websocket integration

This Week in Spring - November 11th, 2014

Welcome to another installment of This Week in Spring! This week I'm back in Silicon Valley, talking to developers at a handful of large technology-driven companies about taking their first steps with a cloud-native architecture. Interesting feedback, as ever! This week I'll be doing a meetup here in the bay area on building Bootiful microservices with Spring Cloud. Next week, I look forward to seeing people at Java2Days in Sofia, Bulgaria! C'ya there!

  1. Spring Integration lead Gary Russell has just announced Spring Integration 4.1.0 and Spring AMQP 1.4.0 final are now available!
  2. Spring Security OAuth 2.0.4.RELEASE Available Now. The new release contains a few nice additions and a few bug fixes, making it a recommended, easy upgrade.
  3. Spring lead Juergen Hoeller just announced the availability of Spring Framework 4.1.2, accompanied by 4.0.8 and 3.2.12 maintenance releases.
  4. I'll be doing a webinar with ZeroTurnaround's Adam Koblentz introducing how to use Spring (and Spring Boot in particular) and JRebel 6. Spring Boot makes Java as productive as it can get, but sometimes you need a little bit more to get around Java's traditionally awful support for things like live-reloading code during development (to expedite iteration). In this webinar, we'll look at how that's done with JRebel!
  5. Continuing the microservice webinar series on Nov 18, mark your calendars for Matt Stine and Donnie Berkholz from Redmonk - Made for Each Other: Microservices + PaaS
  6. With the exception of panel sessions, and a few sessions that had no slides at all :), the SpringOne2GX conference slides are all posted on www.springone2gx.com, in the session details on the schedule page.
  7. The opening keynotes from SpringOne2GX 2014 - both day 1 and day 2 - are now available online! I'd start with day 2, personally, but that's just me... -whistles-
  8. Speaking of SpringOne2GX 2014, Splunk evangelist Damien Dallimore's talk, Gaining Application Lifecycle Intelligence, is now available online as a replay!
  9. New Relic rockstar Ashley Puls's talk from SpringOne2GX 2014, Living in the Matrix with Bytecode Manipulation, is also now available as a replay! If I may be so bold, Ashley was kind enough to do a webinar with me earlier this year on using New Relic for Spring applications, too. Ashley's on a very short list of people I go to when I have questions about the arcane or complex. She's brilliant. Watch those talks and see what I mean!
  10. Speaking of brilliance on a short list, the good Dr. Dave Syer recently did a webinar introducing Spring Security OAuth for microservices. I can't underscore this enough: Dr. Syer is, or has been, the co-founder or project lead of Spring Batch, Spring Security OAuth, Spring Boot, Spring Cloud, a contributor to the Spring framework, and - of course - a senior engineer working on Cloud Foundry. When he talks, I listen and I hope you will too. Check out this video.
  11. Speaking of Spring Cloud, Dr. Syer also just recently announced the M2 release of Spring Cloud. The Spring Cloud example application and the (hopefully imminently more accessible, but trivial) application that I've been using to showcase Spring Cloud have both been updated to use Spring Cloud M2.
  12. Pivotal's very own Tim Spann pu together a very nice post on using Spring XD to load files into Pivotal HD's HAWK
  13. Sergei Egorov put together a nice post on building microservices using Thrift, the serialization mechanism that's pretty in-vogue in the big-data space
  14. Want to build a REST service and expose documentation about it? Swagger's one way to go. I'm not sure it's the best (it's 30 MB!), but it's ... something. Here's a nice post using Swagger with Spring Boot
  15. Biju Kunjummen has a nice post on using the Spring caching abstraction's support for Google Guava Cache.
  16. The Concretepage introduces a simple Java configuration-centric approach to building a Spring Batch solution
  17. Biju Kunjummen also did a nice writeup of using Spring Session to capture (and work with) an HTTP session from websockets - check this one out!
  18. Trying to access the target object behind an AOP proxy? This post offers one way to do it!

This Week in Spring - November 4th, 2014

Welcome to another installment of This Week in Spring! This week I'm on the road talking to enthusiastic Spring developers in Casablanca, Morocco at the JMaghreb conference and then it's off to London (again!) for the amazing Spring eXchange. If you're at either, be sure to say hi!


A quality @Qualifier

Sometimes, teh Twitterz is an amazing place. Just last week I spent some time helping clarify the behavior of Spring's @Qualifier annotation, which is both older than JSR 330 and offers a richer superset of JSR 330's @Qualifier annotation. These misguided few seemed to be under the impression that Spring's annotation didn't offer the same degree of type-safety as the JSR 330 annotation. I don't know if it's because they simply hadn't read up on the support (which is fairly new, since it's only been around since 2007), or if it's because they work for companies that make their money if you stop using Spring, but either way it was an excellent opportunity for a refresher!


This Week in Spring - October 28, 2014

Hello from New York City! Tonight I'll be addressing the Cloud Foundry User Group on how to build Spring Boot and Spring Cloud-based microservices that run on Cloud Foundry - I hope you'll join us! And if you're in Boston, then come hang out when I give the same talk there on Thursday!


This Week in Spring - October 21st, 2014

Welcome to another installment of This Week in Spring! This week I'm talking to developers at the Neo4j GraphConnect conference with my pal (and Neo4j evangelist) Kenny Bastani, and then on Thursday I'll be doing a webinar with my one of my pals on the Vaadin team, Peter Lehto, on how to build Bootiful Vaadin applications - don't miss it!

Next week, I'll be doing a string of appearances at Toronto, New York City, and Boston meetups helping people better build microservices with Spring Boot, Spring Cloud and Cloud Foundry. Register now, come for the code, conversations, pizza and beer! Microservices are a big thing these days, and I'm sure there'll be a lot to talk about so don't miss these events!


This Week in Spring - Tuesday October 14th, 2014

Welcome to another installment of This Week in Spring! This week I've been at Silicon Valley Code Camp, JAX London and Geekout UK talking to developers about how to build scalable, microservice-centric Spring Boot applications on Cloud Foundry. It's been a lot fun talking to enthusiastic developers (on both sides of the Atlantic!).

Without further ado, let's get on with the roundup!


This Week in Spring - October 7th, 2014

Welcome to another installment of This Week in Spring! This week, I've been at the Couchbase Connect conference talking to developers about Spring Data Couchbase (and Spring Boot, Spring XD, Spring Session, and more..). Fun show, fun crowd! Next week, I'll be at JAX London and Geekout UK, so be sure to say hi if you're around.

Now, with that, let's get on to the roundup..

  1. The good Dr. Pollack just announced the 1.0.1 release of Spring XD, the easiest way to build data-integration and ingestion solutions. It may be only a 1.0.1 release, but make no mistake: there are some very cool features in this release, including improved administrative and administrative UI features.
  2. Federated security is an important part of any distributed, multi-client, (micro)service-oriented system. Spring Security and Spring Security OAuth, in particular, provide a compelling solution. Join the good Dr. Dave Syer for this upcoming webinar on microservice security using OAuth2
  3. Matt Stine will be doing a webinar introducing how Pivotal Cloud Foundry and Spring Cloud make for a natural solution to building microservices. Don't miss this one!
  4. Spring and JavaScript ninja Brian Cavalier has written a very interesting post on some of the work we're doing towards enabling easier differential sync between JavaScript clients and services. This post not only introduces all these exciting new stuff, but also builds on RaveJS, the Spring Boot-inspired approach to JavaScript.
  5. I hope you'll join the Vaadin team and I on October 23rd for a look how to build Spring Boot-powered Vaadin applications.
  6. Justin Lee Grant has put together a good introductory look at Spring Boot.
  7. Spring lead Juergen Hoeller just announced the 4.1.1 release of Spring framework. This release includes improved Optional handling, a Jackson ObjectMapper builder, some requested JDBC improvements, and much more.
  8. The good Dr. Syer just announced the first milestone release of the Spring Cloud project. Spring Cloud provides primatives for building microservice and PaaS-centric applications. It builds on top of the Netflix OSS stack and Spring Boot.
  9. Karthik Abram put together a nice post on a hidden gem in Spring: the ClassPathScanningCandidateComponentProvider class, which makes it easy to discover beans of a certain type.
  10. Nicolas Lejeune has written up a fascinating look at how he managed to convert a legacy application (it uses EJB3) and move it to a Cloud Foundry environment
  11. Our pal Toshiaki Maki put together his ideal Spring Boot Maven archetype, and shared it!
  12. Are you a Groovy fan? (who isn't??) Check out Groovy project lead Guillaume LaForge's weekly roundup, This Week in Groovy!
  13. Do you want to debug applications deployed on Cloud Foundry? Daniel Mikusa put together a very nice post explaining one approach.

This Week in Spring - September 30, 2014

Welcome to another installment of This Week in Spring! This week the Spring team is at JavaOne! There's been, and will be, lots to see! We're also hanging out at the booth, talking to as many users as possible. Check out the link I just give listing all the cool Pivotal (and non-Pivotal) talks at JavaOne. (Ahem. Naturally, I personally would love it if you made my talk - Spring4TW! - tomorrow morning at 8:30am at Parc 55, Cyril Magnin II/III!).

In addition to IoT, Big Data, and Microservice demos using NetFlixOSS on Spring, students were doing the coding challenge to build a REST service with Spring Boot and pushed to Pivotal Web Services in < 15 minutes to get the preshavedyak hoodie from American Apparel, and learning about the best PaaS for Java available on the market today; Java 8 / Tomcat 8 support was released just days ago, and there is strong support for Spring, Groovy and Grails.


This Week in Spring - Tuesday September 23rd, 2014

Welcome to another installment of This Week in Spring! This morning, I had the joy of presenting with my pal Joram Barrez on using the Activiti BPMN workflow engine with Spring (and Spring Boot). That talk should be online in the next few weeks or so. I'll also be co-presenting with Joram this week at the Alfresco Summit (on the very same topic). If you missed SpringOne2GX 2014, check out the Day 1 and Day 2 wrap ups where can learn about NetFlix, Spring Boot and microservice architecture, among many other things.