Feeds

Other languages key to Java's future

Platform play nice with others

Secure remote control for conventional and virtual desktops

QCon 2008 It is not the Java language that's important - it is the platform that has grown around it.

That's according to one veteran of architecture, design and distributed systems development now in the thick of training developers, who reckons the continued success of Java depends on its ability to adapt to modern development demands.

Venkat Subramaniam, the chairman of software training company Agile Developer, told QCon Java has grown beyond a language and the excitement is now centered on the combination of the Java platform with dynamic languages such as Groovy, JRuby and Jython.

"Multi-language environments mean you can get full interoperability between constructs created in different languages. Dynamic languages also give you the power of metaprogramming and domain-specific languages. This improves productivity and allows users to be more expressive," Subramaniam said

He added the combination of Java with other languages provides flexibility in development. "You can use techniques such as rule specification and let programs evolve to take dynamic decisions based on certain inputs or an application's state. You can also exploit the idiomatic differences of individual languages."

Subramaniam gave conference delegates several code demonstrations to illustrate how simple it is to combine Java code with a dynamic language. These included JavaScript and Groovy with language calls working in both directions.

"You can use Java JSR-223 as a standard interface for interoperability and use ScriptEngineManager to call in the script from the dynamic language. You can pick and choose between an invocable and a compilable interface - it depends on the circumstances and on which language you are using," Subramaniam said.

Subramaniam noted the compilable interface offered by Groovy made it simple to combine Java and Groovy code and use only a single pass to produce executable code. "Groovy 1.5 or later makes it easy - you just put in the J option and you can compile Groovy code into Java Bytecode. The Groovy compiler can compile both together in one go."

Sun Microsystems was quick to support Groovy when it was approved under the Java Community Process. Recently it has looked to expand the Java platform to support other dynamic languages such as Python and Ruby

The Register is a media sponsor of QCon London 2008.

Intelligent flash storage arrays

More from The Register

next story
Nexus 7 fandroids tell of salty taste after sucking on Google's Lollipop
Web giant looking into why version 5.0 of Android is crippling older slabs
Be real, Apple: In-app goodie grab games AREN'T FREE – EU
Cupertino stands down after Euro legal threats
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Bada-Bing! Mozilla flips Firefox to YAHOO! for search
Microsoft system will be the default for browser in US until 2020
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
prev story

Whitepapers

Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Getting ahead of the compliance curve
Learn about new services that make it easy to discover and manage certificates across the enterprise and how to get ahead of the compliance curve.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.