Spring Data Evans SR1 released

Releases | Christoph Strobl | November 03, 2014 | ...

On behalf of the Spring Data team I am pleased to announce the availability of the first service release of the Evans release train. The team around the participating modules completed 41 issues including serveral bug fixes. We want to thank everyone for taking the time to report, volunteer fixing and testing those issues - this is invaluable feedback we could not do without!

The release includes the following 11 modules:

Spring Integration Java DSL 1.0 RC1 Released

Releases | Artem Bilan | October 31, 2014 | ...

Dear Spring community,

We are pleased to announce that soon after the Spring Integration 4.1 Release Candidate the Spring Integration Java DSL 1.0 Release Candidate is now available. Please use the Milestone Repository with Maven or Gradle, or download a distribution archive, to give it a spin.

See the project home page for more information.

The release includes many new features and improvements, as well as a number of bug fixes. The GA release is planned for the middle of November.

Here is a summary of major changes since the last milestone:

Refactoring and Breaking Changes

While still supporting earlier Java versions, the Spring Integration Java DSL is primarily positioned for Java 8 and its Lambda support. We have removed several functional interfaces in favor of similar interfaces from Java 8: Consumer<T>, Function<T, R> etc. Of course, to support backward…

Webinar Replay: Content-enabled Web and Mobile Applications with Spring, Groovy and Crafter

News | Pieter Humphrey | October 30, 2014 | ...

Conquering Content-enabled Web and Mobile Applications with Spring and Groovy

Speaker: Russ Danner - Crafter Software

Rich media and digital content are an integral part of nearly all Web and mobile applications today, but the growing number of platforms, changing business demands and time to market are a major concern. Join this session to learn modern practices for building content-enabled Web and mobile apps. We will uncover common challenges faced by content and application teams, explain how these problems are solved by simple, powerful tools and the right architecture. We'll also demonstrate how leading organizations such as AT&T, Marriott, and Harvard Business Publishing have succeeded by leveraging Spring Framework, Groovy and other leading Java development technologies along with content management frameworks to build and manage content rich applications.

Learn more about Crafter Software http://www.craftersoftware.com

 

!{iframe width="420" height="315" src="//www.youtube.com/embed/KTClU47MGdI" frameborder="0" allowfullscreen}{/iframe}

This Week in Spring - October 28, 2014

Engineering | Josh Long | October 29, 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!

  • Spring Social lead and all around Spring ninja Craig Walls announced the Spring Sync project and then wrote up a nice introduction to it, which - this is taken from the post because it's perfectly stated there - addresses efficient communication between client applications and Spring backends by employing patch-based exchanges. So, basically, the one piece of the pie (after basic REST, HATEOAS and hypermedia, OAuth and security in general, all of which Spring supports capably and in a first-class way) missing in client/server communication (like REST) is now here! If you read one

Pivotal at Spring eXchange 2014 in London, UK

News | Pieter Humphrey | October 29, 2014 | ...

Are you heading to Spring eXchange in London over November 6th-7th?

In just under a week, Spring experts will join hundreds of Spring enthusiasts for two days of learning and sharing skills in Spring. Topics covered will include Big Data and Spring XD, Spring Data, REST, and microservices and modern architecture. There will be a strong presence of Pivotal experts, amongst a star-studded line-up. See below for some Pivotal speakers and talks to look out for.

Head to the programme page for more details and the complete speaker list. To book your place and guarantee a seat, head to the booking page here. Pivotal is sponsoring Spring eXchange, so reach out to us on Twitter @springcentral #springx to get in touch during the conference! 

SPECIAL OFFER for London Java Community members: Want to be a guest for our Pivotal Speakers at Spring eXchange 2014 and get a free ticket to the show? We will offer them to the first 15 LJC members who tweet us at @springcentral and @cloudfoundry with the URL of a deployed Spring application on Pivotal Web Services. First come, first serve, we have 15 tickets for our 15 speakers! We will verify winners by looking at the URL for the Spring app, and looking you up for membership in the London Java Community on meetup.com if you win, so make sure you have a meetup.com profile and are a member!

THURSDAY - NOVEMBER 6, 2014
10:00 AM

  • Dr. David Syer
  • What's New in Spring
  • In the opening Keynote of the Spring eXchange 2014, Dave Syer recounts the recent developments in the Spring ecosystem, going back about 12 months or so. Spring is fun again and all the cool kids all want to play with it since Spring Boot hit the streets in 2013. Looking at this in the context of Spring IO and Spring Cloud, Dave will also cover recent updates to Foundation projects like Spring 4.1 and 4.2, Spring Batch 3.0, Spring Integration 4.1 and Spring Data Evans, plus Execution layer projects like Spring XD for Big Data and Grails for full-stack web applications. You will be surprised and pleased to see how easy it is to build applications and services and to glue them together into distributed systems, especially if you haven't used Spring, or haven't seen it recently.

10:45 AM

  • Mark Pollack
  • Big Data, Little Time : Taking the Complexity out of creating Big Data applications
  • Creating Big Data applications is a relatively new art and developing a comprehensive solution can be challenging. Some of the key challenges arise from bringing together complex domains such as stream analysis, batch workflow orchestration and data import and export. Furthermore, building such applications normally requires stitching together disparate products. Spring XD is a new project that aims to tackle big data complexity. It builds upon proven Spring technologies to tie together these domains and provide a scalable, distributed, and fault-tolerant runtime environment. You do not need to be a Java developer to get started. A simple DSL lets you build complex stream and job definitions that includes the scoring of machine learning algorithms in just a few simple steps.
  • Brian Clozel, Stephane Nicoll
  • Getting started with Spring
  • Spring is much more than a single framework - it is a rich ecosystem with multiple projects, all helping to build modern applications. But all this can be a bit intimidating for Spring beginners. Stéphane Nicoll and Brian Clozel will walk you through the core concepts and thought model behind the Spring Framework; they’ll cover the main aspects of the Framework, but also introduce you to key features in other Spring projects, including the latest Spring IO platform. After this session, you’ll leave with a common approach for all Spring portfolio projects and all the keys to successfully start with Spring in 2014.

12:00 PM

  • Stuart Williams
  • Asynchronous Design with Spring and RTI: 1M Events per Second
  • An application designer usually has to choose where to trade flexibility for specificity (and thus usually performance); knowing when and where to do so is an art and requires experience. This talk will share over a decades worth of experience making these decisions and the learnings from developing Pivotal's successful Real Time Intelligence (RTI) product using the latest versions of Spring projects: Integration, Data, Boot, MVC/REST and XD. A walk through the RTI architecture will provide the base for an explanation about how Spring performs at hundreds (and millions) of events/operations per second and the techniques that you can use right now in your own Spring applications to minimise resource utilisation and gain performance.
  • Josh Long
  • Building "Bootiful" Applications with Spring Boot
  • Alright, so maybe "bootiful" won't ever work, but I tried, and it was worth it too because you're reading this. 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! Join Spring developer advocate Josh Long for a look at what Spring Boot is, why it's turning heads, why you should consider it for your next application (REST, web, batch, big-data, integration, whatever!) and how to get started.

2:00 PM

  • Janne Valkealahti
  • Asynchronous Design with Spring and RTI: 1M Events per Second
  • An application designer usually has to choose where to trade flexibility for specificity (and thus usually performance); knowing when and where to do so is an art and requires experience. This talk will share over a decades worth of experience making these decisions and the learnings from developing Pivotal's successful Real Time Intelligence (RTI) product using the latest versions of Spring projects: Integration, Data, Boot, MVC/REST and XD. A walk through the RTI architecture will provide the base for an explanation about how Spring performs at hundreds (and millions) of events/operations per second and the techniques that you can use right now in your own Spring applications to minimise resource utilisation and gain performance.

3:15 PM

  • Eric Bottard
  • A guided tour to Spring XD internals
  • What happens when a Stream is deployed to a Spring XD cluster? How does Stream processing and data partitioning work? How does the cluster recover when a Spring XD container goes down? We'll cover all those topics and some more using live demos in this deep dive session about Spring XD
  • Stephane Maldini
  • Reactive Micro-Services with Reactor
  • Micro Service Architecture is now becoming the standard for a large range of companies. Amid the problems to solve when building micro-services, developers might need to think asynchronous. Reactor offers a progressive and non opinionated concurrency handling to any JVM application — and beyond. Not only is it a handy lightweight toolkit, it is also part of the Reactive-Streams specification and as such is interoperable with friends such as RxJava or Akka. Come discover some tips and tricks when building micro-services on top of Reactor, understand how it builds on top of Reactive-Streams specification and why this is a game changer in today's software development.

FRIDAY - NOVEMBER 7, 2014

11:15 AM

  • Ben Hale
  • Designing REST-ful Micro-services with Spring Boot
  • As data-driven applications become ubiquitous, the services that provide the data are proliferating. As teams become responsible for more and more of these services, it becomes critical that they be designed and implemented in a way that is as lightweight as possible. This session will cover how to design micro-services as RESTful APIs and implement them with minimal code using Spring Boot. It will focus on API design using REST and HATEOAS, with live coding progressing all the way to a full-fledged app running in the cloud.
  • Josh Long
  • Building "Bootiful" Applications with Spring Cloud
  • Alright, so maybe "bootiful" won't ever work, but I tried, and it was worth it too because you're reading this. 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! Join Spring developer advocate Josh Long @starbuxman for a look at what Spring Boot is, why it's turning heads, why you should consider it for your next application (REST, web, batch, big-data, integration, whatever!) and how to get started. Let's take advantage of the dynamic nature of a virtual JUG: I will be live coding and (attempting to) answer your questions on all things Spring and Spring Boot as I introduce the technology.

12:30 PM

  • Oliver Gierke
  • Spring Data REST - Repositories meet Hypermedia
  • The Spring Data repository abstraction significantly eases implementing data access layers in Java. On top of that the REST module of the umbrella project provides a programming model to easily expose hypermedia-driven REST resources to interact with the repositories. The talk discusses the patterns Spring Data REST implements, how internet standards and specifications influence the design and how the modules exposes meta-data to build loosely coupled clients. The presentation contains a lot of hands on code samples to demonstrate the discussed aspects.
  • Brian Clozel
  • Inside Spring.io: A production Spring Reference Application
  • Would you like to take a look inside the newly open-sourced reference application that powers the spring.io site? Then join Spring Guru Brian Clozel who will survey some of the features behind the harmonized platform. This talk will cover the following:
    • Idiomatic use of Spring Boot
    • Taking advantage of Spring Framework 4 features
    • A tour of our JavaScript frontend using cujoJS's curl, Bower and Gulp for a clean and modular design
    • Zero-downtime deployment to Cloud Foundry using blue/green deployments
    • Find out more about Spring.io here!

2:30 PM

  • Thomas Darimont
  • What's new in Spring Data?
  • This talk will give a broad overview of the new features introduced in the latest Spring Data release trains. We will cover recent additions and improvements in Spring Data Commons - the module that's shared amongst the store specific ones. We'll then delve into the latest and greatest features of individual store modules, like JPA, MongoDB, Neo4j, Solr and the community ones as well.
  • Andy Wilkinson
  • 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 APIs documentation and, just as importantly, what should not be included. We'll look at a number of real-world examples of good and bad API documentation before considering a number of different approaches for producing documentation for a RESTful API built using Spring.

3:45 PM

  • Christoph Strobl
  • Boot your search with Spring
  • Searching data has become mission critical in days of google. We want to find, not to search! This session focuses on solutions for integrating search into your application. We’ll have a look on Spring Data’s search abstraction for Apache Solr, Elasticsearch and Mongodb and do some hands on auto configuration using Spring Boot (100% XML free setup guaranteed). You choose the technology, Spring gives you tools to get going.
  • Rob Winch
  • The State of Securing RESTful APIs with Spring
  • Learn how to properly secure your RESTful endpoint, explore some common pitfalls when applying security to RESTful API and discover how the new features in Spring Security can greatly simplify securing your RESTful APIs. 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. However, the best practices of REST and security often seem to clash. How should a user be authenticated in a stateless application? How can a secured resource also support caching? Securing RESTful endpoints is further complicated by the the fact that security best practices evolve so rapidly. In this talk Rob will discuss how to properly secure your RESTful endpoints. Along the way we will explore some common pitfalls when applying security to RESTful APIs. Finally, we will see how the new features in Spring Security can greatly simplify securing your RESTful APIs.

Save the date for SpringOne2GX 2015!  We hope you will mark your calendar and join us again! SpringOne2GX 2015 will be held September 14 - 17, 2015 at the Marriott Marquis in Washington DC.

Spring Batch 3.0.2.RELEASE is now available

Releases | Michael Minella | October 28, 2014 | ...

We are pleased to announce that Spring Batch 3.0.2.RELEASE is now available via Maven Central, Github and the SpringSource download repository. This is the 2nd maintenance release for the 3.0.x branch of Spring Batch and addresses a number of bugs and a few minor enhancements. Many thanks to all of those who submitted the many pull requests that went into this release.

Spring Batch Home | Source on GitHub | Reference Documentation

We look forward to your feedback.

Webinar: Spring Boot and JRebel 6.0

News | Pieter Humphrey | October 28, 2014 | ...

Spring Boot and JRebel 6.0

Speaker: Adam Koblentz, JRebel and Josh Long, Pivotal

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. JRebel 6 launches on November 4, 2014 and includes complete Spring Boot integration. Join Spring's Josh Long and ZeroTurnaround's Adam Koblentz and learn how to combine Boot with JRebel and get more done, in less time with less configuration.

Thursday, Nov 20th, 2014 3:00PM GMT (London GMT) Register

Thursday, Nov 20th, 2014 10:00AM PST (San Francisco GMT-08:00) Register

Spring Integration 4.1 RC1 Released

Releases | Artem Bilan | October 27, 2014 | ...

Dear Spring community,

We are pleased to announce that the Spring Integration 4.1 Release Candidate is available. Please use the Milestone Repository with Maven or Gradle, or download a distribution archive, to give it a spin.

The release includes many new features and improvements, as well as a number of bug fixes. The GA release is planned in early November.

First of all, thank you all who provided feedback for the 4.1 Milestone 1 and submitted reports (bugs or new features). A special thanks to those who provided contribution via Pull Requests. Here is a summary of major changes since…

Webinar Replay: Architecting for Continuous Delivery: Microservices with Pivotal CF and Spring Cloud

News | Pieter Humphrey | October 25, 2014 | ...

Speaker: Matt Stine, Pivotal

Slides: https://speakerdeck.com/mstine/architecting-for-continuous-delivery-microservices-with-pivotal-cf-and-spring-cloud

Join Matt Stine to hear how you can architect systems that are optimized for continuous delivery, allowing you to innovate and deliver value faster and safer. Microservices, Pivotal CF, and Spring Cloud combine to create an operationalized architecture that enables enterprises to continuously deliver value at scale through rapid, iterative development, and to meet the needs of a mobile-first world.

Learn more about Spring Cloud: http://projects.spring.io/spring-cloud

Learn more about Cloud Foundry: http://cloudfoundry.org

Learn more about Pivotal CF: http://www.pivotal.io/platform-as-a-service/pivotal-cf

!{iframe width="420" height="315" src="//www.youtube.com/embed/vm8PcbcsYxU" frameborder="0" allowfullscreen}{/iframe}

Spring AMQP 1.4 RC1 Released

Releases | Artem Bilan | October 23, 2014 | ...

We are pleased to announce the availability of the Release Candidate for Spring AMQP 1.4; the GA is planned to be released in early November.

First of all, thank you all who provided feedback for the milestone 1.4 M1 version and submitted reports (bugs or new features). Special thanks to Stéphane Nicoll, who had introduced annotation-based message listeners (@RabbitListener) and the new RabbitMessagingTemplate.

Features and fixes included in this release (changes since the milestone)

  • With the annotation-based message listener you can use the @SendTo annotation to send the result of the method as a reply message (when there's no replyTo in the inbound message):

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all