SpringOne2GX 2014 Replay: Spring Framework on Java 8

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

Speakers:Juergen Hoeller

Core Spring Track

Slides: http://www.slideshare.net/SpringCentral/spring-on-java-8

Spring has a track record of providing dedicated support for new Java generations in a timely fashion, and now it’s right about time to go Java 8: With Spring Framework 4.0, we're providing in-depth support for all relevant OpenJDK 8 features, including lambda expressions, JSR-310 Date and Time, parameter name discovery, and java.util.concurrent enhancements. This talk will illustrate basic Spring Framework 4.0 concepts, and selected Java 8 features within Spring's programming model, exploring the impact on application architectures.

 

This Week in Spring - January 13th, 2015

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

Welcome to another installment of This Week in Spring. We've got a lot to talk about. Our own Pieter Humphrey has been tirelessly working to get the replays of the SpringOne2GX 2014 show available online and there are a slew of them this week! What a win!

  • The good Dr. Syer, former lead of Spring Batch, co-lead of Spring Boot, Spring Cloud and Spring Security OAuth, and a rockstar to various Spring projects including Spring itself, over the years, has kicked off a series of posts on very practical matters related to securing Angular.js applications with Spring. The first one, Spring and Angular JS: A Secure Single Page Application, introduces the basics of connecting an Angular.js-based client to a backend API. The second, The Login Page: Angular JS and Spring Security Part II, introduces the login form. Bookmark this series!
  • The amazing, sleep-intolerant, Rob Winch has just announced Spring Session 1.0. Spring Session, for those who've not been paying attention, is a drop in proxy API for the standard Servlet HTTP Session API. Install it, and then delegate HTTP session persistence to other backend implementations like Redis. This is ideal for a lot of reasons: if you are using a Java EE application server and want to scale out session replication, you can use an engine that was better designed for it. It's a safe bet that the team behind Cassandra and Redis have thought…

\"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…

SpringOne2GX 2014 Replay: REST Services with RabbitMQ, Spring Integration and Node.JS

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

Recorded at SpringOne2GX 2014.

Speakers: Durai Arasan, Monish Unni - ETrade

Slides: http://www.slideshare.net/SpringCentral/rest-services-with-rabbitmq-spring-integration-and-nodejs

Data / Integration Track

Extending from last year's conversation in SpringOne2GX on real world use of RabbitMQ and Spring Integration, this talk will be centered around REST service as first class citizen in Spring Integration with RabbitMQ. How do you build REST services and integrate with Spring Integration and RabbitMQ? What kind of role Node.JS can play in your architecture to simplify complex problems? We will address all of these questions and provide insight into design and architecture challenges to bring enterprise services to support modern client applications that expect REST Services.

SpringOne2GX 2014 Replay: Inside spring.io: a Production Spring Reference Application

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

Recorded at SpringOne2GX 2014.

Speaker: Brian Clozel

Slides: http://www.slideshare.net/SpringCentral/inside-spring-iospringone2gx2014

Core Spring Track

Come take a look inside the newly open-sourced reference application that powers the http://spring.io site, including: 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 And more, with plenty of time for Q&A

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…

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…

SpringOne2GX 2014 Replay: How to get Groovy with Java 8

News | Pieter Humphrey | January 08, 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: 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.

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?

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