Skip to main content

Can't Get It Out of My Head

Posted by editor on January 5, 2007 at 7:38 AM PST

Do other languages fit your needs too?

Java has long been a popular means of running other languages, by providing interpreters in Java or compiling other languages to Java bytecode when possible, and with Java SE 6's support for scripting languages offering more potential for integration with Java code, it's a safe bet we'll see more and more Java developers wearing multiple hats. Java isn't an "either-or" proposition anymore -- if it makes sense to pull in some other language because it handles regular expressions or text processing or rule evaluation particularly well, or if you want to use some non-Java technology on your client side (like JavaScript for Ajax), go for it.

Liking and using other languages shouldn't be interpreted as a knock against Java. The Java language can't be all things to all people, and it's possible that an unintended consequence of the support for scripting languages will be to slow the momentum for adding other languages' best features to Java, now that you can simply use those other languages directly.

With that in mind, the latest Poll asks "What non-Java language do you use most frequently?" Cast your vote on the front page, then check out the results page for current tallies and discussion.

Scripting languages are in the spotlight because
after a long and tumultuous development, Groovy has reached a final version 1.0. "Groovy is a dynamic language for the JVM that integrates seamlessly with the Java platform.
It offers a Java-like syntax, with language features inspired by Smalltalk, Python or Ruby, and lets your reuse all your Java libraries and protect the investment you made in Java skills, tools or application servers.
Groovy can be used for various purposes, from adhoc shell scripting leveraging Java APIs, to full-blown web applications built on Spring and Hibernate through the Grails web framework."

Also in the Java Today section,
the Java Desktop community home page is linking to a tutorial on how to create a FrontRow-like Carousel Component for Java: "Desktop Java is more powerful than most people believe, it can make the seemingly difficult easy. With this is mind, armed with the impressive work being done by the likes of Romain Guy and the SwingX team I thought it would be good to look at how one might re-create the Carosel used in Apple's Front Row application."

A new SDN article The JVM Tool Interface (JVM TI): How VM Agents Work gets deep inside the JVM: "The JVM tool interface (JVM TI) is a standard native API that allows for native libraries to capture events and control a Java Virtual Machine (JVM) for the Java platform. These native libraries are sometimes called agent libraries and are often used as a basis for the Java technology-level tool APIs, such as the Java Debugger Interface (JDI) that comes with the Java Development Kit (JDK).[...] This article explores some basics of writing a JVM TI agent library by walking through the heapTracker demo agent available in the JDK downloads."

Kohsuke Kawaguchi announces Spring support in JAX-WS RI in the first of today's Weblogs. "The first cut of the Spring support in the JAX-WS RI is ready. If you are already using Spring to configure your applications, you would like this, too."

Jacob Hookom has some thoughts on
Persistence Caching:
"Working with Hibernate and attempting to wrap caching services elsewhere in one of our applications, I'm concerned with the way these caching frameworks handle expiration."

Finally, Roger Kitain has some good news about
Seam 1.1.0.GA On GlassFish:
"Last month, another FCS release of Seam (1.1.0.GA) was released. This release incorporates a number of great capabilities such as a RoR-like application generator called Seam-Gen. I am happy to announce that this release of Seam runs on GlassFish with minimal setup."

In today's Forums,
markuss has a
Question regarding 1.6 performance:
"A friend of mine told me, that 1.6 has better performance that 1.5. But he also told me that you only get the full performance benefit if you re-compile your application with JDK 1.6. Do you know where I can find more information about this topic? The 1.6 performance white paper is not ready yet."

mvonderlieth wonders
What's in store for the future of the keystore?
"I'd like to know what's in store for the future of the keystore? I know it's possible to use a SealedObject or an encrypted stream, but the keystore seems to be the right place to put other kinds of secrets besides keys. Why can't it be extended for other uses? Also, I know it is a proprietary format, but will that change and will it ever be opensourced?"

rbair has some thoughts about thick clients that may become disconnected in
Re: swing-ws remote clients:
"I suspect that if offline behavior were easier to code, we'd see a lot more of it. Microsoft terms these 'occasionally connected' clients. They seem tremendously useful to me, in this world where internet connections are not always reliable. Heck, we just had a lunchtime discussion yesterday about people having trouble with a wireless connection in their home, because their neighbors all have wireless and they conflict."

Current and upcoming Java

Registered users can submit event listings for the href=""> Events Page using our href="">events submission form.
All submissions go through an editorial review before being posted to the

Archives and Subscriptions: This blog is delivered weekdays as
the Java
Today RSS feed
. Also, once this page is no longer featured as the
front page of it will be
archived along with other past issues in the href=""> Archive.

Does another language fit your needs too?