Dynamic languages such as JRuby, Groovy, and Jython are increasingly playing an important role in the web these days. The associated frameworks such as Rails, Grails, and Django are gaining importance because of the agility provided by them. This session gives an overview of various Dynamic Languages and associated Web frameworks that can be used on the GlassFish project.
The session looks at the fundamentals of Scala with examples to highlight its unique features like case classes and pattern matching, for comprehensions, traits, functions as values and others. It also looks at Scala’s support for writing internal as well as external DSLs.
Spring’s support for scripting languages allows you to extend your Java applications with beans defined in a scripting language, such as Groovy. Spring container transparently instantiates, configure and dependency injects the beans across these supported languages. Beans defined in a scripting language like Groovy come with some handy advantages such as ability to “refresh” the already loaded Groovy classes when the underlying source files change.
Noop is a new language that attempts to blend the best lessons of languages old and new, while syntactically encouraging industry best-practices and discouraging the worst offenses. Noop is initially targeted to run on the Java Virtual Machine, is what the Noop site says.
JRuby guys leave Sun, citing the uncertainty surrounding Sun’s acquisition by Oracle and Oracle’s support for the JRuby language.
James Gosling talks of how Java the language isn’t that important but the Java Virtual Machine (JVM) is what matters. He also takes an open approach to dynamic languages but thinks they are at times too slow for use.