The Spring Blog

Engineering
Releases
News and Events

SpringOne2GX 2015 replay: Documenting RESTful APIs

Recorded at SpringOne2GX 2015.
Track: Web / Javascript Track
Speaker: Andy Wilkinson
Slides: http://www.slideshare.net/SpringCentral/documenting-restful-apis
An API’s documentation is a vital part of making it easy to understand and easy to use. RESTful APIs are no different. In this talk we’ll look at what should be included in your RESTful API’s documentation and, just as importantly, what should be omitted. Using real-word examples, both good and bad, we’ll discuss how the documentation should be structured so that it’s informative, succinct, and easy to read. Having identified what good documentation looks like, we’ll discuss some of the tools that are available for documenting services built using Spring. In particular, we’ll look at some of the problems and limitations of choosing a tool like Swagger and how some alternatives, including Spring REST Docs, avoid these shortcomings and help you to produce documentation that your users will love.

Read more...

SpringOne2GX 2015 replay: Stream Processing at Scale with Spring XD and Kafka

Recorded at SpringOne2GX 2015.
Track: Big Data
Speaker: Marius Bogoevici
Slides: http://www.slideshare.net/SpringCentral/stream-processing-at-scale-with-spring-xd-and-kafka
In the recent years, drastic increases in data volume, as well as a greater demand for low latency have led to a radical shift in business requirements and application development methods. Near-realtime data processing has started to become more prevalent, and high-throughput messaging systems such as Apache Kafka have emerged as key building blocks. Focusing on developer experience and productivity, Spring XD makes it easy to develop big data applications, without the need for dealing with the details of integrating and scaling a big data stack. In the particular context of Kafka, this means allowing developers to benefit from its specific features and power, while at the same time remaining focused on writing and testing business logic. To begin, we will provide a brief introduction of how Kafka is supported in the Spring ecosystem in general, in Spring Integration and Spring Data, and then we will discuss how Spring XD integrates with Kafka as an external datasource and transport. And because we like all things practical, the core part of the presentation will walk you through a demo that will show you how to unleash the power of Kafka with Spring XD, by building a highly scalable data pipeline with RxJava and Kafka, using Spring XD as a platform.

Read more...

SpringOne2GX 2015 replay: The State of Securing RESTful APIs with Spring

Recorded at SpringOne2GX 2015.
Track: Web / Javascript track
Speaker: Rob Winch
Slides: http://www.slideshare.net/SpringCentral/state-of-securing-restful-apis-with-spring
The many benefits of a RESTful architecture has made it the standard way in which to design web based APIs. For example, the principles of REST state that we should leverage standard HTTP verbs which helps to keep our APIs simple. Server components that are considered RESTFul should be stateless which help to ensure that they can easily scale. We can leverage caching to gain further performance and scalability benefits.

Read more...

European conferences with strong Spring content

Kicking off 2016, here are my personal recommendations for European developer conferences with particularly strong Spring content in the first half of the year:

  • Topconf Linz: Feb 1-3, featuring various Spring-related talks in the Cloud & Microservice Architectures track and a dedicated Spring Boot workshop ahead of the show. An English-language conference in my home-city which happens to be a tech hotspot in Austria…
  • JAX Germany: Apr 19-21, with a well-established dedicated Spring track and several Spring-related talks across other conference tracks. Note: JAX is primarily a German-language conference, so the Spring talks there will be delivered in German as well.
  • Spring I/O Barcelona: May 19-20, our new annual European Spring conference in its second iteration, at a perfect time for visiting the city of Barcelona! This will serve as the release party for Spring Framework 4.3, due just a couple of days ahead of the show :-)
  • GOTO Amsterdam: Jun 13-15, with a dedicated Spring++ track this year, at a very nice venue in the heart of Amsterdam… and close to our target date for the first Spring Framework 5.0 milestone (we’re aiming for 5.0 M1 towards the end of June)!
Read more...

SpringOne2GX 2015 replay: Spring Boot and JRebel

Recorded at SpringOne2GX 2015.
Track: Core Spring
Speakers: Adam Koblentz and Josh Long
Slides: http://www.slideshare.net/SpringCentral/springboot-jrebel-cf
Abstract:
Spring Boot, the new convention-over-configuration centric framework from the Spring team at Pivotal, marries Spring’s flexibility with conventional, common sense defaults to make application development not just fly, but pleasant! Spring Boot gives you a huge leg up over normal starter projects, now let’s give you another boost by adding JRebel. With JRebel, the average Java developer saves over 1 work-month per year by using JRebel to skip rebuild, restart, and redeploys of their application. With Boot and JRebel, developers can get up and running and then stay focused on doing what’s important: writing kick-ass applications. In this session, developers will learn about spring boot and how to go from nothing to a fully functioning app in no time, then see how they can keep the app up and reload code changes instantly without redeploying and stay in the flow.

Read more...

SpringOne2GX 2015 replay: Data Driven Action: a primer on Data Science

Recorded at SpringOne2GX 2015.
Track: Big Data
Speakers: Sarah Aerni, Srivatsan Ramanujam, Jarrod Vawdrey
Slides: http://www.slideshare.net/SpringCentral/data-driven-action-a-primer-on-data-science
Abstract:
In all industries, as software is eating the world, data is feeding software. However, to truly get value out of the data being generated, it must be analyzed and made actionable. Transformation in many industries actually means precisely this, data-driven action. From creating new television shows, to smart devices that help make your life easy, save precious limited resources, or protect your health, ingesting the data and building models are crucial to success.
This session will focus on examples of how these models are built. What is required to build a model? How does data need to be processed? What do you have to consider to make your model effective? And finally what tools do I use to build these models?
In this session, we will address these questions through illustrative use cases using open-source technologies varying from medical, text and sensor data, from three different speakers:
- Approaches and Open Source Tools for Wrangling and Modeling Massive Datasets
- Scaling Java Applications for NLP on MPP through PL/Java
- A Scalable Framework For Realtime Monitoring & Prediction Of Sensor Readings

Read more...

SpringOne2GX 2015 replay: Boot your search with Spring

Recorded at SpringOne2GX 2015
Track: Data / Integration
Speaker: Christoph Strobl
Slides: http://www.slideshare.net/SpringCentral/boot-your-search-with-spring
Abstract:
Search has become a major part in our applications. We want to find, quick and easy! This session focuses on integrating search solutions like Solr, Elasticsearch as well as MongoDBs full text search into your application. We’ll have a look on Spring Data’s abstraction for those and do some hands on auto configuration using Spring Boot (100% XML free setup guaranteed).

Read more...

SpringOne2GX 2015 replay: Introducing RxJava into a Spring Boot REST API

Recorded at SpringOne2GX 2015
Speakers: Simon Baslé, Laurent Doguin
Slides: http://www.slideshare.net/SpringCentral/practical-rxjava
Web / JavaScript Track
RxJava is an awesome library for async data streams. It is both expressive and powerful but the learning curve can be quite steep at first. So we want to quickstart developers into the world of Reactive eXtensions with more context than just listing operators!
Adapted from a hands-on workshop, this talk will describe how one can migrate code into a fully async and RxJava-based application, built upon Spring Boot and Java 8.
What kind of changes does this require? What shifts in thinking? What are the traps and pitfalls to avoid? Hopefully you’ll learn the answers to these questions in this talk!

Read more...

SpringOne2GX 2015 replay: Message Driven Microservices in the Cloud

Recorded at SpringOne2GX 2015
Speakers: Dr. David Syer, Dr. Mark Pollack
Slides: http://www.slideshare.net/SpringCentral/message-driven-microservices-in-the-cloud

Do you need to build cloud-native microservices for distributed stream processing and data integration but don’t know where to start? All you need is a single annotation in your code and a single dependency in your POM. The new Spring Cloud Stream project combines the power of Spring Boot, Spring Integration, and Spring Cloud to make that a reality.

Read more...