Feeds

Other languages key to Java's future

Platform play nice with others

Providing a secure and efficient Helpdesk

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.

Beginner's guide to SSL certificates

More from The Register

next story
ONE MILLION people already running Windows 10
A third of them are doing it in VMs, but early feedback focuses on frippery
Sign off my IT project or I’ll PHONE your MUM
Honestly, it’s a piece of piss
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
Torvalds CONFESSES: 'I'm pretty good at alienating devs'
Admits to 'a metric ****load' of mistakes during work with Linux collaborators
Sway: Microsoft's new Office app doesn't have an Undo function
Content aggregation, meet the workplace ... oh
Do Moan! MONSTER 6-day EMAIL OUTAGE hits Domain Monster
Customers freaked out by frightful service
Ploppr: The #VultureTRENDING App of the Now
This organic crowd sourced viro- social fertiliser just got REAL
Return of the Jedi – Apache reclaims web server crown
.london, .hamburg and .公司 - that's .com in Chinese - storm the web server charts
NetWare sales revive in China thanks to that man Snowden
If it ain't Microsoft, it's in fashion behind the Great Firewall
prev story

Whitepapers

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.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
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.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.