Server-side JavaScript with Nashorn and Spring
summary
Shows a solution that combines Spring Boot, Java 8’s Nashorn JavaScript engine, and Cloud Foundry to build server-side JavaScript microservices and APIs. Describes a framework they created for rapidly delivering backend APIs to support rich, contextualized client experiences, and shares practical lessons learned from building and deploying it.
AI-written summary · about
chapters (26)
- 0:00Intro
- 1:21What This Talk is About
- 2:07Polyglot Spring FTW!
- 2:56Our Primary Use Case
- 3:30Netflix API Redesign Case Study
- 4:17Cross-platform Client Issues
- 6:06Nashorn : The Tip of the Horn
- 6:29Polyglot JVM
- 7:35JS Runtime Use Cases
- 8:09You Control the JS Environment
- 10:41Asynchronous JavaScript
- 11:37Non-blocking JavaScript and I/O
- 13:23Runtime Testable JavaScript
- 15:25Compatibility with open source JS libraries
- 16:16Ease of integration with Spring
- 27:54Test Setup
- 35:41Esprima parsing performance
- 36:49Nashorn is Fancy!
- 37:18Nashorn Context Customization
- 39:21Rhino vs Nashorn : Accessing Java Classes
- 43:16Spring to Nashorn Bridge
- 45:17A framework for frameworks
- 45:28Spring Boot Features
- 55:18Node-style CommonJS Module Loader
- 57:04CommonJS Module Spec - Overview
- 59:22Commons Example math.is
related talks
43mIsomorphic JavaScript apps
50mNashorn - what's all the fuss about
01h 01mNashorn ... In Enterprise Applications
45mNashorn: implementing a dynamic language runtime on JVM in 2014
25mServer-side JavaScript the untold story
01h 13mSpring: Your next Java microframework
31mHeaven & Hell JavaScript ... everywhere?
55mSpring, Functions, Serverless and You
