JavaScript modularity (without the buzzwords)

Engineering | Brian Clozel | April 11, 2014 | ...

Almost ten years ago Adrian Colyer wrote a memorable blog post, giving the best explanation on aspect oriented programming (AOP) out there: clear and simple style, accurate content, no buzzwords. If you've taken a look at the the earlier two posts in this series, you may have noticed some of our architecture choices in the client module of the Sagan application, including the use of JavaScript modules.

In this post, I want to walk you through the basics of JavaScript modules in the style of Adrian's post: clear, simple, accurate, no buzzwords!

Why JavaScript needs modularity too

If, like me…

This Week in Spring - April 8th, 2014

Engineering | Josh Long | April 08, 2014 | ...

Welcome to another installment of This Week in Spring!

Tomorrow, I'll be presenting on the vJUG, a virtual JUG, about Spring Boot. Don't tell anyone, but the presentation itself is going to be based on a talk that Spring Boot co-founder Phil Webb and I have been planning. The code is already online, so check it out and I look forward to seeing you tomorrow! If you miss the talk, and you happen to be in the bay area, then join us on Thursday evening at the Pivotal offices here in San Francisco for a more caffeinated version of the same talk with both Phil and myself!

Then, this Sunday, I'm off to spread the Spring love! I'll touchdown first in Paris for Devoxx FR. From there, it's off to Bangalore, India, for the Great Indian Developer Summit. I haven't been there since 2012 and am very much looking forward to it and to seeing the amazing Spring community there. Then, on my way home I'll pop in to Belgium for a talk at the Belgium JUG

Webinar: Building 'Bootiful'­ Applications with Spring Boot

News | Pieter Humphrey | April 08, 2014 | ...

Speaker: Josh Long

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.

Tuesday, April 15, 2014 3:00 pm (London, UTC+01:00) Register

Tuesday, April 15, 2014 10:00 am Pacific Daylight Time (San Francisco, UTC-07:00) Register

Webinar: Connecting Eclipse to the Cloud-Based Era of Developer Tooling with Project Flux

News | Pieter Humphrey | April 08, 2014 | ...

Speakers: Martin Lippert (Pivotal), Mike Milinkovich (Eclipse Foundation)

The Eclipse IDE (as one example) is great, but increasingly we are seeing new projects and companies working in the cloud-based developer tooling space, using a front-end that runs purely in the browser. The Eclipse Orion project is one example of this. While the new approaches look promising, they are usually completely disconnected from the existing desktop-class IDEs and are still lightyears away from working well for Java developers. In this webinar Martin Lippert will provide a sneak peek into Project Flux, a new project that is hosted at Eclipse and that we've been working on that aims at bridging this gap between existing desktop-class IDEs and future cloud-based developer tooling. While this project is still far away from shipping a ready-to-use release, the webinar provides an insight into the prototype and what is coming in the future. Special guest introduction from Mike Milinkovich, exec director of the eclipse foundation.

Tuesday, April 22, 2014 3:00 pm (London, UTC+01:00) Register

Tuesday, April 22, 2014 10:00 am Pacific Daylight Time (San Francisco, UTC-07:00) Register

Webinar: Web Application Diagnostics with Java and Javascript

News | Pieter Humphrey | April 08, 2014 | ...

Speakers: Josh Long (Pivotal) and Ashley Puls (New Relic)

There is more and more usage of Javascript on the client side today. Many are starting down the difficult path of full blown application development in JS on the client side, going beyond having a simple rollover menu logic or presentation component. But tracking and tracing effectively means looking at the whole application, not just the front end. New Relic can be used either in development or production to diagnose hybrid Javascript/Java applications. In this session, Josh Long (Pivotal) and Ashley Puls (New Relic) will show how you can track and trace your way through today's hybrid Java web apps - resolving slow page loads, blocked threads, slow queries, etc.

Tuesday, April 30, 2014 3:00 pm (London, UTC+01:00) Register

Tuesday, April 30, 2014 10:00 am Pacific Daylight Time (San Francisco, UTC-07:00) Register

Spring Boot 1.0.1.RELEASE Available Now

Releases | Dave Syer | April 07, 2014 | ...

Spring Boot 1.0.1.RELEASE is available in Maven Central and the repository. This is a bug fix release, although a couple of new features have been added:

  • MessageSource caching can be specified in
  • ActiveMQ connection credentials can be externalized to
  • There is a new section on Security auto configuration in the reference guide

There was a security bug-fix for the Actuator, so anyone using Spring Security and the Actuator endpoints should upgrade. No backwards compatibility problems or changes to existing functionality are…

Project Sagan: zero-downtime deployments

Engineering | Chris Beams | April 04, 2014 | ...

Last week, I began this series by announcing that the Sagan reference app is now open source and showed how to get up and running with it on your own machine.

In this post, I want to walk through how we push Sagan into production at multiple times a day with zero downtime using blue-green deployments. You may have heard of this technique before; Martin Fowler gave it a write-up a few years ago, and there is a section on it in the highly-recommended book Continuous Delivery. In a nutshell, it goes like this:

  1. maintain two copies of your production environment ("blue" and "green");
  2. route all traffic to the the blue environment by mapping production URLs to it;
  3. deploy and test any changes to the application in the green environment;
  4. "flip the switch" by mapping URLs onto green and unmapping them from blue.

Spring Shell 1.1 RC1 Released

Releases | Mark Pollack | April 02, 2014 | ...

We are pleased to announce the release of Spring Shell 1.1 RC1. The Spring Shell is an interactive shell that can be easily extended with commands using a Spring based programming model.

This is a small bug fix release but includes an important improvement, the upgrade to use the JLine2 library and rewrite of the command parser. Check the release notes for more information. Special thanks to Eric Bottard and to those who submitted pull-requests.

Downloads | JavaDocs | Reference Documentation | Changelog

Spring for Apache Hadoop 2.0 RC2 released

Releases | Thomas Risberg | April 02, 2014 | ...

We are pleased to announce that Spring for Apache Hadoop version 2.0 has reached the Release Candidate stage. The latest release is 2.0.0.RC2. We are moving closer to the GA release, so this is a good time to give this new 2.0 version a try.

The spring-yarn framework makes it easier for you to develop Spring based applications that can be deployed to run on Hadoop v2 using YARN

The main focus for Spring for Apache Hadoop 2.0 is to add YARN application development support in addition to continue to provide improvements in the HDFS and MapReduce support. You can see many of these new YARN features in use in the YARN samples and we will be publishing new Spring IO Guides

Spring Web Flow 2.4 RC1 Released

Releases | Rossen Stoyanchev | April 02, 2014 | ...

Spring Web Flow 2.4 release candidate 1 is now available. Please use the repository, download a distribution archive, or visit the project home page.

The release includes Java based configuration for Spring Web Flow and Spring Faces. To demonstrate it the booking-mvc and the booking-faces samples have been switched to all Java configuration. See their respective configuration classes here and here.

For more details see the updated documentation and samples repository. Please give this release a try and provide feedback in JIRA towards the final release at…

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