Webinar: Building WebSocket Browser Applications with Spring

News | Pieter Humphrey | September 24, 2013 | ...

So, you've written a "Hello world!" WebSocket application or perhaps even a chat sample. You're able to exchange messages even in pre-Servlet 3.1 containers and pre-IE 10 browsers (that don't yet support WebSocket) thanks to the SockJS protocol and Spring's support for it. However a message is a blank page that can have any content. Whatever message format you choose, proprietary or standard, both client and server need to understand it as well as distinguish different kinds of messages. You need support for the publish-subscribe pattern central to messaging applications so you can broadcast messages to one or more subscribers. You need to incorporate security, validation, and so on. In short you need to build a real-world application. If you're used to web applications (and Spring MVC annotated controllers) you are familiar with the foundation that HTTP provides including URLs (nouns), HTTP methods (verbs), headers, parameters, and others. Imagine building an application without HTTP, just a socket. WebSocket gives you this brand new, exciting capability -- full duplex, two-way communication -- yet you no longer have an application-level protocol. Can an entire application be built around a single Endpoint class processing all messages, assuming a single WebSocket connection between browser and server? Join Rossen Stoyanchev as he demonstrates that, thankfully, the WebSocket protocol has a built-in sub-protocol mechanism.

Europe

Tuesday, October 8 3:00PM GMT Summer Time London, GMT+01:00)

Register https://gopivotal.webex.com/gopivotal/onstage/g.php?t=a&d=667384670

 

North America

Tuesday, October 8 10:00AM PDT San Francisco, GMT-07:00)

Register https://gopivotal.webex.com/gopivotal/onstage/g.php?t=a&d=660130258

Contributing to Spring Boot with a pull request

Engineering | Greg L. Turnquist | September 20, 2013 | ...

In case you missed this year's SpringOne 2GX conference, one of the hot keynote items was the announcement of Spring Boot. Dave Syer showed how to rapidly create a Spring MVC app with code that would fit inside a single tweet. In this blog entry, I will peel back the covers of Spring Boot and show you how it works by putting together a pull request.

Autoconfiguration

Spring Boot has a powerful autoconfiguration feature. When it detects certain things on the classpath, it automatically creates beans. But one feature it doesn't yet have is support for Spring JMS. I need that feature!

The first…

Webinar: Simplifying Spring with Spring Boot

News | Pieter Humphrey | September 19, 2013 | ...

Are you fed up with searching stackoverflow for copy-paste configuration, do you want to write apps that can 'just run'? Perhaps you are just starting out with Spring and want a quick way to learn the basics without manually downloading and installing half the Internet?

In this webinar Phil Webb will demonstrate how Spring Boot can take you from zero to Spring with minimal fuss. We will look at how you can rapidly prototype Spring applications using Groovy, and how Spring Configuration in Java applications can be radically simpler. We will show how you can embed tomcat into your applications…

This Week in Spring - September 17, 2013

Engineering | Josh Long | September 17, 2013 | ...

This Week in Spring

Welcome back to another installment of This Week in Spring! I'm still reeling from last week. If you were there, you know what I mean, if not, then look forward to the videos coming out over the coming months. There's so much stuff to see.

For those of you who were at the show and sought me out because of This Week in Spring, it was really great to meet you all!

The world keeps on spinning of course, so let's look at some of what's happened this last week.

  1. Jennifer Hickey has announced that Spring Data Redis 1.1 has been released. The new release provides support for pipelining, data type conversion, and a modified API for adding or removing multiple List, Set, and Hash elements all in one call. Great stuff, check it out!
  2. AspectJ, Scala, Cloud Foundry, and Spring framework ninja Ramnivas Laddad has just announced the first cut of the Spring Cloud project, which in turn is a revolutionary API that takes the cloudfoundry-runtime library previously used with Cloud Foundry applications to the next level, opening the doors for support of multiple providers. Nice job, Ramnivas! And, dear community, if you want to see more, now's the time to check out the code and sound off!
  3. Over on the @GoPivotal blog, Stacey Schneider has put together a very nice post on her experiences at her first SpringOne2GX last week. Great read, and I echo her sentiments, even though this was not my first SpringOne2gx! :)
  4. Didn't get enough Data-love last week? Spring Data ninja Oliver Gierke just announced the latest cuts of two community modules: the first milestone of Spring Data Couchbase lead by Michael Nitschinger and the 1.0 GA of Spring Data Solr lead by Christoph Strobl.
  5. I put together a blog that introduces some of the things required to make the Spring Social binding that Roy Clarkson and I demonstrated last week at SpringOne2GX work with Spring Android, specifically as concerns the loading of certain classes in Spring core, Spring Security and Spring HATEOAS. Check it out!
  6. Groovy/Grails, and Spring, Tool Suite ninja Martin Lippert has just announced the latest iteration of STS and GGTS, versions 3.4.0.M1, has been released!
  7. Our pal Tobias Flohre is at it again, this time with two great SpringOne2GX wrapup posts. The first looks at some of the Spring XD, Batch and Hadoop technologies demonstrated, and the second looks at Spring Boot and the Spring IO platform.
  8. Rossen Stoyanchev, the genius behind the websockets support in Spring 4, has put together an amazing slate of demos using WebSockets and STOMP (which you can work with from RabbbitMQ!) and he showed these demos off last week at SpringOne2GX 2013 to wide acclaim. Nice job! If you missed it last week, at least check out the code, now.
  9. The Ippon.fr blog has a nice (French-language!) interview with my pal Eric Bottard, a (French-speaking) developer on Spring XD. Good read!
  10. The fine folks over at IntelliGrape have put together a nice roundup of their favorite talks from SpringOne2GX on day 2. Check it out!

The Maven Dependency Dance with Spring Android, Spring Social and Spring Security

Engineering | Josh Long | September 17, 2013 | ...

Roy Clarkson (@royclarkson) and I gave a talk at SpringOne2GX 2013 in which we talked about building REST services with an eye towards consuming those services on mobile platforms like Android and iOS. This talk demonstrates the progressive evolution of an application using Spring MVC, Spring HATEOAS, Spring Data REST, Spring Security, Spring Security OAuth, and Spring Android. The code's benefited from a lot of help from Rob Winch,

Layout of the Code

The code for the talk is on my GitHub account (github.com/joshlong/the-spring-rest-stack). Importantly, the code lives in the code directory. Beneath that there are two choices: web (where you'll find the rest, hateoas, hateoas-data, and oauth, social modules) and client (where you can load the Android module and the iOS module). The modules in the web folder in respective order, demonstrate the evolution of a simple REST service which incorporates hypermedia, Spring Data repositories and OAuth security. The social

Spring Tool Suite and Groovy/Grails Tool Suite 3.4.0.M1 released

Releases | Martin Lippert | September 12, 2013 | ...

Dear Spring community,

I am happy to announce the first milestone release 3.4.0.M1 of the Spring Tool Suite (STS) and the Groovy/Grails Tool Suite (GGTS).

Highlights from this milestone build include:

  • import new Getting Started guides directly into the IDE
  • new wizard to start with Spring Boot directly from within the IDE
  • automatic detection for JavaConfig classes
  • basic support for Groovy in Spring IDE
  • updated to Eclipse Kepler SR1 (RC1)
  • updated to Grails 2.2.4
  • updated to tc Server 2.9.3

Both tool suites ship on top of the latest Eclipse Kepler SR1 RC builds.

The 3.4.0. release is scheduled for early October 2013 - shortly after the Eclipse Kepler SR1 release.

To download the distributions, please go visit:

Detailed new and noteworthy notes can be found here: STS/GGTS 3.4.0.M1 New & Noteworthy.

Enjoy!

Spring Data Couchbase 1.0 M1 and Spring Data Solr 1.0 GA released

Releases | Oliver Drotbohm | September 12, 2013 | ...

Hot on the heals of the Spring Data Babbage GA release I am happy to announce the availability of two community driven Spring Data modules, namely the first milestone of Spring Data Couchbase lead by Michael Nitschinger and the 1.0 GA of Spring Data Solr lead by Christoph Strobl.

The first milestone release of the Couchbase module contains lots of features that allow you to build content driven and scalable applications on top of Couchbase and spring-data very quickly. This release features support for templates, repositories, Java and XML-style configuration. Entities are automatically converted into JSON documents, which can be queried from Couchbase and exported through scalable map/reduce views. In addition to that, the release contains support for @Cacheable

Spring Data Redis 1.1 Released

Releases | Jennifer Hickey | September 11, 2013 | ...

Dear Spring Community,

I am pleased to announce the SpringOne 2013 release of Spring Data Redis 1.1! This release provides support for Redis 2.6 commands and features, including an abstraction for running Redis scripts from your Spring application.

Other highlights include:

  • Significant enhancements to pipelining functionality
  • Data type conversion and deserialization of Redis transaction results
  • Modified API for adding or removing multiple List, Set, and Hash elements in one call

Run this Jira Query for a complete list of changes.

We look forward to your feedback on the forum or in the issue tracker

This Week in Spring - September 10, 2013 - SpringOne2GX 2013 Edition

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

Welcome to This Week in Spring, SpringOne2GX 2013 edition!

We're now in day 2 of the SpringOne2GX 2013 conference in Santa Clara, CA! Yesterday's keynote saw a lot of new exciting new announcements and introductions and I'll discuss some of those here, and then have subsequent coverage for the balance of the week.

Here, of course, is your abridged look at all that's glitters in the Spring community and (hurrayy!!) at SpringOne2GX 2013! With no exaggeration, this is the most exciting SpringOne2GX to date.

Some of the amazing Spring project leads at SpringOne2GX 2012

One of the things I most like about SpringOne2GX is the access it affords attendees to the brains behind the awesome. After tonight's keynote dinner a few of the project leads lingered a few minutes and took this impromptu photo for me. Spring core lead Juergen Hoeller is front-center, in the blue shirt. For what it's worth, Juergen doesn't actually tweet (the account is a placeholder!), which makes the opportunity to chat with him at SpringOne even more amazing! Going counter-clockwise, starting after Juergen, you then have Spring Security lead Rob Winch, Spring Mobile and Spring Android

Introducing the Spring YARN framework for developing Apache Hadoop YARN applications

Releases | Janne Valkealahti | September 10, 2013 | ...

We're super excited to let the cat out of the bag and release support for writing YARN based applications as part of the Spring for Apache Hadoop 2.0 M1 release. In this blog post I’ll introduce you to YARN, what you can do with it, and how Spring simplifies the development of YARN based applications.

If you have been following the Hadoop community over the past year or two, you’ve probably seen a lot of discussions around YARN and the next version of Hadoop's MapReduce called MapReduce v2. YARN (Yet Another Resource Negotiator) is a component of the MapReduce project created to overcome some…

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

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

Learn more

Get support

Tanzu 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