Isomorphic Templating with Spring Boot, Nashorn and React

September 25, 2015
Recorded at SpringOne2GX 2015 Presenter: Sébastien Deleuze Web / Javascript Track The first part of this talk introduces the upcoming Spring Framework 4.2 Script Templating support, showing how you can use Nashorn, Jython or JRuby to render templates with Javascript, Python or Ruby-based template engines. We will see how easy you can extend out of the box capabilities on the scripting side. Based on benchmarks, features available and code samples, we will see if this can be a production ready alternative to templating technologies usually used with Spring MVC like JSP, Velocity, FreeMarker or Thymeleaf. The second part of the talk will explain how to build an isomorphic application that performs the same templates rendering on client AND server based on Spring Boot, Nashorn and React, the the latest game changer Javascript library released by Facebook. The rendering of Javascript templates is performed initially on server-side thanks to a Spring MVC + Nashorn integration, then enriched on client side with a Server-Sent Events push mechanism. This kind of isomorphic templating + the disruptive innovation brought by React with his virtual DOM mechanism make it possible to build a new kind of applications: responsive, with a great UX while being accessible.
Previous
Springboot + JRebel + CF
Springboot + JRebel + CF

Recorded at SpringOne2GX 2015 Presenters: Josh Long & Adam Koblentz Core Spring Track Spring Boot, the new...

Next Presentation
Spring Data Rest - Data Meets Hypermedia + Security
Spring Data Rest - Data Meets Hypermedia + Security

Recorded at SpringOne2GX 2015 Presenters: Greg Turnquist & Roy Clarkson Data / Integration Track Check out...