Isomorphic JavaScript apps
summary
Shows a working Java-based isomorphic app: Java EE MVC + a custom React view engine uses Nashorn to run JavaScript server-side, calling React.renderToString to produce full HTML that the browser rehydrates without re-rendering. Demonstrates a book-list demo that fetches via REST, updates live, and successfully syncs client and server state. Covers gotchas: need for Nashorn thread-local script engine for thread safety, polyfills for window/process/console, and that JSX is transpiled with Babel/Node (or via Nashorn when updated).
AI-written summary · about
chapters (11)
- 0:00Start
- 4:17USE CASES
- 7:44WHY RENDER ON THE SERVER?
- 8:48WHY RENDER ON THE CLIENT?
- 10:41DELEGATE EXECUTION OF JAVASCRIPT TO AN EXTERNAL
- 10:59HAVE NODE JS RUNNING AS A SMART-PROXY IN FRONT OF JAVA
- 11:16RUN JAVASCRIPT ON THE JVM WITH NASHORN
- 11:44CONCURRENCY
- 21:09SPRING BOOT MVC
- 38:18WHAT'S NEXT?
- 41:16THANK YOU! ANY QUESTIONS








