Java vs. JavaScript (cont’d)
- Java applets are distinct from HTML
- Java is strongly typed with static (compile-time) binding
- Java bytecodes are interpreted (or “Just In Time” compiled) on the client
- JavaScript is tightly coupled with HTML
- JavaScript is loosely typed with dynamic (run-time) binding
- High-level JavaScript source code is interpreted on the client