Pivotal at JavaOne 2014

News | Pieter Humphrey | September 26, 2014 | ...

Are you heading to JavaOne 2014?   If you are, we invite all of the Java community members to stop by the Pivotal Booth (Booth Number 5201) and talk to Pivotal engineers about the latest innovations in Java SE, in Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Cloud Foundry and Hadoop. The exhibit space is open Monday, Tuesday from 9:30am – 5:30pm, and Wednesday from 9:30am to 4:30pm, so there should be plenty of time to get your questions answered.  See below for a map and booth details about our giveaways - come find us!  Lots of great stuff at the booth.

Pivotal technologists are also presenting a lot of sessions as well so be sure to add the following talks to your session builder and reserve a seat:
Josh Long — Spring advocate at Pivotal

Cornelia Davis — Platform Engineer at Pivotal

John Field — Solutions Architect at Pivotal

Guillaume Laforge — Groovy project manager at Pivotal

Martin Lippert - Principal Software Engineer at Pivotal

Oliver Gierke - Spring Data Project Lead at Pivotal

Cédric Champeau — Senior software engineer in the Groovy team at Pivotal

Interesting non-Pivotal Sessions

Groovy and Grails Puzzlers: As Usual—Traps, Pitfalls, and End Cases[CON1764]
Microservices on the JVM: A Practical Overview [CON4952]

Use Java, the Spring Framework, and Oracle Tuxedo to Extend Existing C/C++/COBOL Apps[HOL9447]

Visit us at the booth for technical expert conversations on Cloud Foundry, Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Hadoop and much more. We'll have great demos in the booth about:

Demo: IoT Realized with Spring XD - The Connected Car

Engineering | Pieter Humphrey | September 24, 2014 | ...

Speaker: Derek Beauregard Contributors: Phil Berman, Darrel Sharpe, Michael Minella In this demo we will explore the power of Spring XD in the context of the Internet of Things (IoT). We will look at a solution developed with Spring XD to stream real time analytics from a moving car using open standards. Ingestion of the real time data (location, speed, engine diagnostics, etc), analyzing it to provide highly accurate MPG and vehicle range prediction, as well as providing real time dashboards will all be covered. Watch this demo to get a sense of how Spring XD can serve as a critical…

This Week in Spring - Tuesday September 23rd, 2014

Engineering | Josh Long | September 23, 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.

  1. The replay of the webinar talk that I gave last week, Bootiful Microservices with Spring Boot (and Spring Cloud), is now available online. This talk - because of Boot and the subject matter - got a lot of attention and so this was actually available online within a few days (not the usual week or two) of my having presented it! Enjoy!

Webinar Replay: Building \"Bootiful\" Microservices with Spring Boot

News | Pieter Humphrey | September 17, 2014 | ...

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.

Learn more about Spring Boot at: http://projects.spring.io/spring-boot

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

Spring Cloud Sample Code https://github.com/spring-cloud-samples

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

Spring for Android 2.0.0.M1 released

Releases | Roy Clarkson | September 16, 2014 | ...

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…

This Week in Spring - September 16th, 2014

Engineering | Josh Long | September 16, 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](http://spring.io/projects/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

  1. Spring for Android lead and mobile ninja Roy Clarkson announced Spring for Android 2.0.0.M1 has been released. The new release supports OkHttp (via the OkHttpRequestFactory), updates the included RestTemplate implementation to be on parity with the RestTemplate included with the Spring framework (including support for marshalling responses with a ParameterizedTypeReference). It raises the baseline to Android 2.2 (effectively), and includes numerous bug fixes and other improvements. This is the first new release in a long time - I'd recommend getting and trying these bits ASAP!
  2. I don't mean to tease, but you should at least read the good Dr. Syer and Spencer Gibb's slides to their Spring Cloud talk at SpringOne2GX

Preview Spring Security WebSocket Support & Sessions

Engineering | Rob Winch | September 16, 2014 | ...


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.

Another issue is that according to JSR-356 if the HttpSession times out any WebSocket that was created with that HttpSession and an authenticated user should be forcibly closed. This means that if we are actively chatting in our application and are not using the HttpSession

SpringOne2GX 2014 - Day 2

Engineering | Josh Long | September 15, 2014 | ...

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.

Spring XD

Spring XD co-lead Mark Fisher took the stage to introduce the project as it stands now, a year after its debut last year at SpringOne2GX 2013. Mark invited us to consider how far things have come since the early days of Spring, and to consider how interesting the opportunity continues to be today. Then... he told a joke: "the past, the present and the future walk into a bar. It was tense."

It took a moment, but the room recovered. Reluctantly. Mark offered to continue as a full time developer and not switch to comedy.

Mark showed us how Spring XD a looks at the future. It is built on top of first-class components like Spring Batch, Spring Integration, Spring Data, Redis, RabbitMQ, Zookeeper, and Netflix's Zookeeper-addition Curator. It offers a simple, linux like domain-specific language (DSL) that requires no compliation, making Hadoop more approachable to beginners and experts alike. Extending Spring XD is done in Spring/Java, often in Spring Integration to adapt to customer's unique systems as Spring XD sources and sinks.

It provides powerful data-integration and stream processing capabilities in an operator- and developer-familiar package. Mark introduces a demonstration that analyses the resource consumption of a smart power grid and then, using PMML machine-learning support in Spring XD, predicts future consumption levels. The example uses numerous nodes deployed across multiple cluster nodes, but the assembly and description of the solution in Spring XD itself is really simple! (The crowd seemed to think so, too!)


* Dr. Dave Syer* (co-founder of Spring Batch, co-lead of Spring Security OAuth and Spring Boot) rejoined the stage to follow up on his day 2 update on Spring Boot with some news about, and an introduction to, the new Spring Cloud umbrella project. Spring Cloud has historically contained Platform-as-a-Service connectors that let you consume services - databases, message queues, etc. - from within a PaaS environment. Spring Cloud now has an expanded scope to define and provide software to better enable modern, cloud-y architectures, like the microservices that Netflix builds atop Spring Boot and their own, open-source stack.

Spring Cloud aims to provide solutions for emergent patterns in large scale, often cloud-based applications:

The new Spring Cloud project, in fact, integrates popular Netflix OSS components like Hystrix (which provides implementations of their famous reliability patterns) and Eureka (which provides service discovery and location).

Dr. Syer introduced a simple microservice that demonstrated two services, one that provided a customers repository and another that provided access to merchants (stores). The customer service returned information about the nearby stores. This information came from the stores service. If the stores service were taken offline, the customers service continued to function.

This effort builds upon Spring Boot with an eye towards simplifying the development of microservices. This message seems to have resonated well, and we think that the combination of Spring Boot, Spring Cloud and CloudFoundry will make a killer combination for JVM apps that need to start life as a monolith, but then need to distrubute and decentralize in order to scale. Adrian Cockcroft explains why distribution and decentralization are so important extremely well in an interview on InfoQ.


Reactor Project lead *Jon Brisbin * took the stage to then update us on the state of the Reactor project. Reactor has made great strides since we saw it debut last year. It's since become part of a the Reactive Streams effort jointly led by teams at Netflix, Typesafe, Red Hat, Twitter, Oracle, and Pivotal, among others.

It provided the definition for the LocationProcessor service in the microservices segment. (The LocationProcessor is a nice example of the easy-to-use Java 8 DSL, too!) Reactor is a natural fit for microservices:

It's a foundational piece or well integrated with Spring Framework 4.0's websocket support, Spring XD, Spring Integration, the upcoming Grails 3.0's event system, and much more. In fact, we saw Reactor in action earlier in the evening's keynote!

For More...

...stay tuned to this blog and This Week in Spring every Tuesday!

SpringOne2GX 2014 - Day 1

Engineering | Josh Long | September 10, 2014 | ...

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.

Spring IO Platform

Next up was Spring framework lead [Juergen Hoeller](Spring Juergen) who revisited the Spring IO platform story originally introduced at SpringOne2GX 2013. He introduced the "tree." Third-party dependencies form the roots of the Spring IO platform. Spring Boot, Spring Foundation (the Spring framework and other projects) and the Spring IO Platform distribution

Get the Spring newsletter

Thank you!

Get ahead

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

Learn more

Get support

Spring Runtime 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