The document summarizes the author's journey learning JavaScript and the evolution of JavaScript as a serious programming language. It discusses the author's initial denial and fear of JavaScript, but then growing curiosity. It outlines quotes from early critics of JavaScript becoming more positive over time. It also introduces concepts like single page applications, Nashorn (JavaScript runtime on the JVM), and Project Avatar (Oracle's effort to bring Node.js capabilities to the JVM).
13. Most of the people writing in JavaScript are not programmers.
They lack the training and discipline to write good programs.
- Douglas Crockford, 2001
The ecosystem around JavaScript as a serious application
platform continues to evolve.
- ThoughtWorks Technology Radar, January 2014
A very large group of developers still thinks of JavaScript as a
joke.
- Davy Brion, 2011
We strongly suggest to adopt JavaScript as a first class language.
- ThoughtWorks Technology Radar, 2011
Through 2014, improved JavaScript performance will begin to
push HTML5 and the browser as a mainstream enterprise
application development environment.
- Gartner, October 2013
15. Any application that can be written in
JavaScript, will eventually be written
in JavaScript.
- Atwood’s Law, 2007
16. We are slaves to JavaScript because
people have simply started to accept
its weirdness and flaws, much like a
Stockholm Syndrome phenomenon.
- Chris Richardson, 2013
18. JavaScript is the Language of the Web.
Another software technology will come
along and kill off the web. That judgement
day will arrive very soon.
-Forrester Research in 2000
The Web has won!
19. HTML 5
HTML5 explained:
• Html is the structure
• CSS is the colour and
style
• JavaScript is everything
else
Scott Hanselman:Angle Brackets, Curly Braces http://channel9.msdn.com/Events/Build/2012/3-027
26. JAVA SHIPS WITH JAVASCRIPT
• Since Java SE 6, the JDK contains a JavaScript
runtime.
• In the JRE: Mozilla Rhino (JSR-223 or proprietary API)
• In the JDK: jrunscript
• Java 8 contains Nashorn
• A completely rewritten JavaScript runtime on the JVM
• Supports ECMAScript 5 and will support ECMAScript 6
39. STATE OF PROJECT AVATAR
• Announced by Oracle on
JavaOne 2013
• Only available for Glassfish
• Nothing happened after March
2014
• Does not run on latest releases of
Glassfish/Java (at least on my machine)
40. AVATAR 2.0
• Oracle announced Avatar 2.0 on JavaOne 2014
• No Java EE application server needed
• Runs in its own JVM, startable from commandline
• No Client-Side Framework
• Parallel event loops in several threads
• Communication over message bus or shared state
• A JavaScript Model Store API for persistence (based on EclipseLink)
• Generally: Less Java EE more Node.js
41. STATE OF PROJECT AVATAR 2.0
• Announced by Oracle
beginning October
• Not available yet
• No code on avatar.java.net
• No release
• Very similar to vert.x (vertx.io/)