Feeds

Other languages key to Java's future

Platform play nice with others

Security for virtualized datacentres

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.

Website security in corporate America

More from The Register

next story
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
Mathematica hits the Web
Wolfram embraces the cloud, promies private cloud cut of its number-cruncher
Mozilla shutters Labs, tells nobody it's been dead for five months
Staffer's blog reveals all as projects languish on GitHub
'People have forgotten just how late the first iPhone arrived ...'
Plus: 'Google's IDEALISM is an injudicious justification for inappropriate biz practices'
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
iOS 8 Healthkit gets a bug SO Apple KILLS it. That's real healthcare!
Not fit for purpose on day of launch, says Cupertino
prev story

Whitepapers

Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
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?
The next step in data security
With recent increased privacy concerns and computers becoming more powerful, the chance of hackers being able to crack smaller-sized RSA keys increases.