Java and Scripting

I call Java a scripting language on steroids. In fact, because it uses statically typed polymorphism, it's more precisely a hybrid. This may at first seem like a disadvantage, but it turns out that Java's statically typed polymorphism, as well as its design by interface, is great for systems programming, framework definition, and component development. It would be wrong to view Java as a system programming language by classical definition. Rather, it's a virtual system programming language for a virtual system—that is, a virtual machine (the Java Virtual Machine). Like its scripting language cousins, it can be very dynamic—not as much as Python or Smalltalk but certainly more than C++.

Java's main drawback for scripting is ...

Get Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.