In this installment of The Open Road, Elliotte Rusty Harold looks at the annotations proposed by JSR 305 and how they'll make your code more amenable to static analysis, compiler checks, and other tools to improve safety and robustness.
September 11, 2008
The Lightweight User Interface Toolkit takes a Swing-like approach and renders all user interface components in Java. In this article, Biswajit Sarkar offers an overview of LWUIT's functionality and design.
August 14, 2008
Overloaded method names must differ by parameter count and type and not return type, right? Wrong! The VM knows the return type of all methods and with a little bytecode engineering, you can have methods that differ only by return type. Vinit Joglekar shows you how it's done.
July 31, 2008
Sleep, a Perl-like scripting language that runs on the JVM, offers first-class support for continuations. In this article, Raphael Mudge shows you how to use continuations in Sleep and what you can do with them.
July 24, 2008
Luan O'Carroll shows you how to distribute Java Web Start apps via CD-ROM, including any necessary JRE installations.
July 10, 2008
JSR 203, which may be part of Java 7, offers a totally overhauled approach to File I/O in Java. In this installment of "The Open Road," Elliotte Rusty Harold takes a look at the current spec.
July 3, 2008
In this article, Biswajit Sarkar makes the case for developing your own text display and menu class by custom painting a Canvas, thereby delivering the same experience on all ME devices.
June 5, 2008
Thorbjørn Ravn Andersen offers a simple example of Java Instrumentation by adding logging statements to the beginning and end of all methods of an arbitrary class.
April 24, 2008
Why does Java 6 expose the javac compiler through a programmatic interface? It's not just for building IDEs. In this article, Deepa Sobhana and Seema Richard show how to use the new feature for static code analysis, with an example that verifies that classes overriding Object.equals() also implement the required override of Object.hashcode().
April 10, 2008
Masoud Kalali shows how to use and extend OpenPTK, which hides the implementation differences between different user stores, allowing developers to use multiple stores with a common API.
March 27, 2008
John O'Conner shows how JSR 295, Beans Binding, eliminates burdensome "glue code" for wiring up relationships between objects.
March 20, 2008
In this entry of "The Open Road," Elliotte Rusty Harold takes a look at how JSR 294 ("superpackages"), intended to be part of Java SE 7, proposes to fix the problem of class and member visibility between packages that look like they should be related, but aren't.
March 6, 2008