This tutorial shows how you can script a Scala application using the Java 6 scripting engines features (JSR 223 Scripting APIs). It also proves the level of power Scala gets from running on the JVM and from being able to use Java APIs. Along with a syntax that tries hard not to alienate Java and [...]
Filed under: Scala Language, Scripting by Daniel Pietraru
No Comments »
Lately I seem to find everywhere lots of articles about the imminent dismissal of Java and its replacement with the scripting language of the day or sometimes with other compiled languages.
No, that is not gonna happen. Java is gonna die eventually of old age many many years from now.
I will share the reasoning behind my [...]
Filed under: Java Language, Opinions, Scripting by Daniel Pietraru
52 Comments »
Let’s imagine a very simple scenario. You are writing an application which would benefit from some user specific customization after deployment. Maybe some of your customers have specific algorithms to be executed in the context of your application. Maybe your application doesn’t solve just one problem but it is designed to solve a class of [...]
Filed under: Java API, Java Tips, Scripting by Daniel Pietraru
1 Comment »