Welcome to another installment of This Week in Spring! As usual, we've got a lot to cover so let's get to it! Join Andy Wilkinson as he discusses REST API documentation, swagger, and more in a webinar on Tuesday, Feb 3rd - Documenting RESTful APIs 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 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 I put together a look at 12-factor app…
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…
The microservice style of architecture is not so much about building individual services so much as it is making the interactions between services reliable and failure-tolerant. While the focus on these interactions is new, the need for that focus is not. We've long known that services don't operate in a vacuum. Even before cloud economics, we knew that - in a practical world - clients should be designed to be immune to service outages. The cloud makes it easy to think of capacity as ephemeral, fluid. The burden is on the client to manage this intrinsic complexity. In this post, we'll look at…
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! 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 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…
Welcome to another installment of This Week in Spring. We've got a lot to talk about. Our own Pieter Humphrey has been tirelessly working to get the replays of the SpringOne2GX 2014 show available online and there are a slew of them this week! What a win! The good Dr. Syer, former lead of Spring Batch, co-lead of Spring Boot, Spring Cloud and Spring Security OAuth, and a rockstar to various Spring projects including Spring itself, over the years, has kicked off a series of posts on very practical matters related to securing Angular.js applications with Spring. The first one, Spring and Angular…
Let's establish some vocabulary, before we begin. When we talk about configuration in Spring, we're usually talking about the inputs into the Spring framework's various ApplicationContext implementations that help the container understand what it is you want done. This might be an XML file to be fed into a ClassPathXmlApplicationContext, or Java classes annotated a certain way to be fed into an AnnotationConfigApplicationContext. Another type of configuration, as nicely described in the 12-Factor application manifesto, is any of an application's that is likely to vary between deploys (staging…
Welcome to another installment of This Week in Spring! I hope your holiday and new year was awesome! It's the beginning of a new year (I almost typed "2014"!), and we've got a lot of great stuff coming this year! Let's see what the internet has been doing this last week in the Spring community. Our friend Petri Kainulainen is back, and he's completely revamped his Spring Data JPA CRUD tutorial! Check it out! We've linked to it before in this roundup, but it's always worth re-reading! I really like this post that looks at introducing multitenancy into an application in terms of a JHipster-based…
Welcome to another installment of This Week in Spring! This week, as is our tradition, we'll look back at a few of the big things that made 2014 a wonderful year to be a Spring developer. And, what a year it was! The tail end of last year saw Spring 4 GA and this year saw the Spring 4.1 release just shy of 9 short months after 4.0! Spring 4.x boasts a dizzying array of new features! Java 8 support, Java EE 7 support, new Spring MVC views, JSR 107 support, a powerful resource pipeline and the @Conditional annotation which of course made possible... Spring Boot, whose first 1.0 GA was in April…
Welcome to another installment of This Week in Spring! In a few short weeks we'll be in 2015! Will that be exciting? Of course. But this week's pretty exciting as well! So much good stuff this week. Spring Boot 1.2.0 is here! So many new features for Java EE (Servlet 3.1-baseline, JTA, JMS and JNDI support) and improved Jackson output, Actuator endpoints, CLI updates and performance. Spring Cloud is already tracking 1.2 and will be based on this soon, as well. Get the bits. Spring Boot 1.1.10 is now available with numerous fixes. Resident mad-scientist Andy Wilkinson just announced the latest…
Welcome to another installment of This Week in Spring! In a few short weeks we'll be in 2015! Will that be exciting? Of course. But this week's pretty exciting as well! So much good stuff this week. Spring Boot 1.2.0 is here! So many new features for Java EE (Servlet 3.1-baseline, JTA, JMS and JNDI support) and improved Jackson output, Actuator endpoints, CLI updates and performance. Spring Cloud is already tracking 1.2 and will be based on this soon, as well. Get the bits. Spring Boot 1.1.10 is now available with numerous fixes. Resident mad-scientist Andy Wilkinson just announced the latest…