"Configuring It All Out" or "12-Factor App-Style Configuration with Spring"

Engineering | Josh Long | January 13, 2015 | ...

Let's establish some vocabulary, before we begin. When we talk about configuration in Spring, we're usually talking about the inputs into the Spring framework's various ApplicationContext implementations that help the container understand what it is you want done. This might be an XML file to be fed into a ClassPathXmlApplicationContext, or Java classes annotated a certain way to be fed into an AnnotationConfigApplicationContext.

Another type of configuration, as nicely described in the 12-Factor application manifesto, is any of an application's that is likely to vary between deploys (staging…

Spring and Angular JS: A Secure Single Page Application

Engineering | Dave Syer | January 12, 2015 | ...

Note: the source code and test for this blog continue to evolve, but the changes to the text are not being maintained here. Please see the tutorial version for the most up to date content.

In this article we show some nice features of Spring Security, Spring Boot and Angular JS working together to provide a pleasant and secure user experience. It should be accessible to beginners with Spring and Angular JS, but there also is plenty of detail that will be of use to experts in either. This is actually the first in a series of articles on Spring Security and Angular JS, with new features exposed in each one successively. We'll improve on the application in the second and subsequent installments…

The Login Page: Angular JS and Spring Security Part II

Engineering | Dave Syer | January 12, 2015 | ...

Note: the source code and test for this blog continue to evolve, but the changes to the text are not being maintained here. Please see the tutorial version for the most up to date content.

In this article we continue our discussion of how to use Spring Security with Angular JS in a "single page application". Here we show how to use Angular JS to authenticate a user via a form and fetch a secure resource to render in the UI. This is the second in a series of articles, and you can catch up on the basic building blocks of the application or build it from scratch by reading the first article, or you can just go straight to the source code in Github. In the first article we built a simple application that used HTTP Basic authentication to protect the backend resources. In this one we add a login form, give the user some control over whether to authenticate or not, and fix the issues with the…

SpringOne2GX 2014 Replay: How to get Groovy with Java 8

News | Pieter Humphrey | January 09, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Peter Ledbrook

More Groovy Track

Slides: http://www.slideshare.net/SpringCentral/groovy-java8-41242953

Java 8 has the biggest language changes since Java 5 introduced generics. Not only do you now have lambda functions and default methods, but you can make use of lazy collections via the new Streams API. What impact does this have on your Groovy applications? And does Groovy still provide an edge in terms of developer productivity?

SpringOne2GX 2014 Replay: Painless Build and Deploy for YARN Applications with Spring

News | Pieter Humphrey | January 08, 2015 | ...

Recorded at SpringOne2GX 2014. Speaker: Janne Valkealahti Slides: http://www.slideshare.net/SpringCentral/spring-one2gx-2014springyarn Big Data Track Spring's goal, like any good framework, has always been to handle the infrastructure so you can focus on your application code. Join this session to see how Spring provides a simple programming model to develop applications than can easily be tested and deployed as either a YARN application or a traditional application. No longer will you need to struggle with 3rd party library build and packaging issues, XML, and how the YARN Appmasters…

Spring Session 1.0.0.RELEASE

Releases | Rob Winch | January 08, 2015 | ...

I'm pleased to announce the release of Spring Session 1.0.0.RELEASE. You can find the release in Maven Central.

Features

Spring Session provides the following features:

  • API and implementations (i.e. Redis) for managing a user's session
  • HttpSession - allows replacing the HttpSession in an application container (i.e. Tomcat) neutral way. Additional features include:
    • Clustered Sessions - Spring Session makes it trivial to support clustered sessions without being tied to an application container specific solution.
    • Multiple Browser Sessions - Spring Session supports managing multiple users' sessions in a single browser instance (i.e. multiple authenticated accounts similar to Google).
    • RESTful APIs - Spring Session allows providing session ids in headers to work with RESTful APIs

SpringOne2GX 2014 Replay: Android and Groovy, a winning pair?

News | Pieter Humphrey | January 08, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Cedric Champeau

More Groovy Track

Slides: http://www.slideshare.net/SpringCentral/groovy-android-41263570

For 10 years, Groovy has dramatically improved the productivity of Java developers on the desktop. With unique like closures, builders, AST transformations, traits, optional static compilation and many more, Groovy turned out to be a very competitive language on the JVM. Compared to other JVM languages, Groovy has the major advantage of being totally Java-friendly, both in terms of syntax and interperability. But during those years, what happened on the mobile world? In particular, Android developers are used to develop applications in Java, so why Groovy, a JVM language, wouldn't be usable for Android development too? Can we ease the pain of Android developers too?

SpringOne2GX 2014 Replay: Experiences using Grails in a Microservice Architecture

News | Pieter Humphrey | January 08, 2015 | ...

Recorded at SpringOne2GX 2014.

Speaker: Jeff Beck

Essential Grails Track

Slides: http://www.slideshare.net/SpringCentral/experiences-using-grails-in-a-microservice-architecture-spring-one2gx2014-41177964

For some web applications it does not make sense to have 1 monolithing process which handles all of the requirements of the application. More and more often Grails is showing up in microservice architectures where instead of building 1 monolithing web application which is responsible for all of the pieces of the application puzzle, microservice applications are being assembled which collectively solve the requirements of the larger application. Grails is very well suited for this type of architecture. A microservice based architecture can result in applications which are easier to build, easier to test, easier to extend and are easier to adapt to changing business requirements.

This Week in Spring - January 6th, 2015

Engineering | Josh Long | January 07, 2015 | ...

Welcome to another installment of This Week in Spring! I hope your holiday and new year was awesome! It's the beginning of a new year (I almost typed "2014"!), and we've got a lot of great stuff coming this year! Let's see what the internet has been doing this last week in the Spring community.

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