Chapter 10. Java.next

 

Regardless of your views on the Java language itself, it’s difficult to deny that the JVM is a stellar piece of software. The confluence of the just-in-time (JIT) compiler, garbage collection, HotSpot, and the flexible bytecode have created an environment that many programmers have chosen to grow their alternative programming languages. Additionally, the deluge of library options hosted on the JVM further make the JVM the language target of choice. From Clojure to Groovy to Scala to Fantom to Frink to Ioke to Jess to JRuby to Jython, there seems to be no lack of options for the enthusiastic polyglot programmer. We may soon see job listings for “JVM programmers.” But where does that leave Java the programming language?

Java the language isn’t dead.

10.1. Generating objects on the fly with proxy

10.2. Clojure gen-class and GUI programming

10.3. Clojure’s relationship to Java arrays

10.4. All Clojure functions implement...

10.5. Using Clojure data structures in Java APIs

10.6. definterface

10.7. Be wary of exceptions

10.8. Summary