The Spring Blog

Engineering
Releases
News and Events

Webinar Replay: Building "Bootiful" Microservices with Spring Boot

Speaker: Josh Long

Slides: https://speakerdeck.com/joshlong/building-bootiful-microservices-with-spring-boot

Microservices? A thing? Or hype? What does it mean in practice? The answer, like so many Facebook statuses, is complicated. In broad strokes, Microservices offer a refreshed approach to application architecture. Microservices are a new way to describe many of the patterns that have fallen out of large-scale applications in practice over the recent years. There is no doubt that the approach works. The question is: how does one build a microservice architecture? Join Josh Long for this webinar introducing Spring's support for building microservice architectures, including both Spring Boot, and the new Spring Cloud project.

Read more...

Spring for Android 2.0.0.M1 released

I am pleased to announce that Spring for Android 2.0.0.M1 is now available in the Spring milestone repository. Highlights include:

  • Generics support through the use of ParameterizedTypeReference
  • Support for OkHttp via OkHttpRequestFactory
  • RestTemplate API parity with Spring Framework
  • Bug fixes and improvements

Minimum Version

This release raises the minimum version from Android 2.1 (API level 7) to Android 2.2 (API level 8). The Google Play Store app is no longer supported on Android 2.1 and that version is not being tracked on the Android developer Dashboards. Additionally, OkHttp is only supported on Android 2.3 and newer.

Read more...

This Week in Spring - September 16th, 2014

Welcome to another installment of This Week in Spring! We're all back from last week's epic SpringOne2GX 2014, but not resting on our laurels! As soon as I returned from SpringOne2GX, I set about preparing for this morning's webinar, Bootiful Microservices with Spring Boot. That seems to have really resonated well and this is, principally, because Spring Boot and Spring Cloud are awesome! I can't until all the amazing videos on the topic from SpringOne2GX and this webinar itself are available to share with you. To me it feels like a way for

Read more...

Preview Spring Security WebSocket Support & Sessions

Introduction

In my previous post, I discussed Spring Security WebSocket integration. One of the problems is that in a servlet container, the WebSocket requests do not keep the HttpSession alive.

Consider an email application that does much of its work through HTTP requests. However, there is also a chat application embedded within it that works over WebSocket APIs. If a user is actively chatting with someone, we should not timeout the HttpSession since this would be pretty poor user experience. However, this is exactly what JSR-356 does.

Read more...

SpringOne2GX 2014 - Day 2

Day 2's kicked off with a bang! My theory is that by that point people had seen a day's worth of sessions, and so the keynote needed to be full of impactful, big-bang announcements and discussions in order to remain memorable. It needed to raise the bar and demonstrate leadership. And it did.

Spring Framework 4.1

Spring framework lead Juergen Hoeller kicked things off with an introduction to the new featues in the recently-released Spring 4.1.

Spring Framework 4.1 provides annotated JMS listener methods, comprehensive for the final JSR 107 specification, flexible resolution and transformation of static web resources, additional MVC views (like Groovy Server Pages), websocket-support improvements, and many more new features.

Read more...

SpringOne2GX 2014 - Day 1

SpringOne2GX kicked off with a bang on Monday night!

"The Ebb and Flow" of Development

The keynote kicked off with Pivotal's own SVP of R&D, Hugh Williams (formerly of e-Bay and Microsoft research) who talked about the ebb (the awkward interruptions in momentum) and flow of software development. Hugh touched on his prior lives at Microsoft (where he helped develop the Bing search engine) and at eBay (a huge Spring user, we learned!) and spoke about what Spring brings to the table: the ability to be nimble, agile.

Read more...

This Week in Spring (SpringOne2GX 2014 edition!) - September 9, 2014

Welcome to another installment of This Week in Spring, live from SpringOne2GX 2014! This year's show is something to behold! We kicked off the show yesterday with one amazing keynote here in the "lone-star state" featuring Pivotal SVP of engineering Hugh Williams, the Spring team leads Juergen Hoeller, Dave Syer, Graeme Rocher and and Netflix's Andy Glover.

We'll do some recap blogs, of course, so stay tuned. Before we get started with this week's roundup, check out this video of the SpringOne2GX 2014 logo being projected onto the Dallas Omni hotel!

Read more...

Spring Data Release Train Evans Goes GA

On behalf of the entire Spring Data team, I'd like to announce the general availability of the Spring Data release train iteration called Evans. The release ships 11 modules to help you build sophisticated data access layers on top of relational and non-relational data stores.

The major themes of this iteration were:

  • Upgrade Spring baseline to 4.0
  • Support for top and first as keywords in derived queries
  • Support for MongoDB 2.6 features like text search
  • SpEL support for Spring Data JPA (Spring Security integration)
  • Redis Sentinel support
  • ALPS and excerpt projections for Spring Data REST
  • Support for custom implementations in the CDI extension
  • Improved multi-store configuration
  • Asciidoctor for reference documentation
Read more...

Spring for Apache Hadoop 2.1.0.M1 Released

One year ago we released the first milestone release of the Spring for Apache Hadoop version 2.0 project, just in time for SpringOne 2GX 2013. To keep up the tradition, we are pleased to announce the first milestone release of Spring for Apache Hadoop 2.1, just in time for SpringOne 2GX 2014 in Dallas, TX. The release is now available in the Spring IO repository

Main changes for the 2.1.0.M1 release:

  • Added support for append mode in store writers
  • Enhancements for kerberos configuration for secured cluster access
  • Support for container grouping and clustering in Spring YARN, which brings functionality for running multiple container types, a new REST API and an improved application model with new client side commands and a command line shell.
  • Starting with this version we support Hadoop 2.0 APIs but no longer provide backwards compatibility with older Hadoop v1 distributions.
Read more...

Spring Boot 1.2.0.M1 Available Now

I am pleased to announce that Spring Boot 1.2.0.M1 is available now in the Spring milestone repository. This release builds on Spring Framework 4.1 and provides a number of improvements and new features. Highlights include:

  • Support for distributed JTA transactions across multiple XA resources using either an Atomkos or Bitronix embedded transaction manager or a full Java EE Application Server.
  • Easier configuration of JNDI bound DataSource and ConnectionFactory beans.
  • Improved JMS support, including auto-configuration for the Spring Framework 4.1 @EnableJms annotation.
  • Auto-configuration support for spring-cloud.
  • Easier SSL configuration for both Tomcat and Jetty.
  • Improved DataSource Metrics and Health Indicators.
Read more...