~/talk

Isomorphic JavaScript apps

Talkat Jfokus 2016 · 2016-02-08..02-10· [frontend-architecture, javascript]
slides:none on file

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

  1. 0:00Start
  2. 4:17USE CASES
  3. 7:44WHY RENDER ON THE SERVER?
  4. 8:48WHY RENDER ON THE CLIENT?
  5. 10:41DELEGATE EXECUTION OF JAVASCRIPT TO AN EXTERNAL
  6. 10:59HAVE NODE JS RUNNING AS A SMART-PROXY IN FRONT OF JAVA
  7. 11:16RUN JAVASCRIPT ON THE JVM WITH NASHORN
  8. 11:44CONCURRENCY
  9. 21:09SPRING BOOT MVC
  10. 38:18WHAT'S NEXT?
  11. 41:16THANK YOU! ANY QUESTIONS
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.