Java Archive

Java Urban Performance Legends

Programmers agonize over whether to allocate on the stack or on the heap. Some people think garbage collection will never be as efficient as direct memory management, and others feel it is easier to clean up a mess in one big batch than to pick up individual pieces of dust throughout the day. This article pokes some holes in the oft-repeated performance myth of slow allocation in JVMs.

Java Object Serialization for Ajax

If you're doing Java Web development using Asynchronous JavaScript and XML, then delivering data from the server to the client is probably your top concern. This article focuses on what matters most for many Java Web developers, producing data for the client, and walks you through five approaches to Java object serialization. It will give you all the information you need to choose the data format and technology best suited to your application.

What Is Quartz

Quartz is an open source job-scheduling framework written entirely in Java and designed for use in both J2SE and J2EE applications. It offers great flexibility without sacrificing simplicity. You can create simple or complex schedules for executing any job. It includes features such as database support, clustering, plugins, prebuilt jobs for EJB, JavaMail and others, support for cron-like expressions, and many more.

Creating SWT Applications with Eclipse and JFace

This series of articles teaches you about creating applications using Java technology, Eclipse, and the SWT and JFace libraries. In SWT and JFace Part 3 find out how to use tabular tree, canvas, styled text, slider, spinner, scale and other controls, as well as stack layouts. You might want to look at previous articles in this series. In SWT and JFace Part 1 learn how to to create simple SWT GUIs using Eclipse, Java, basic JFace controls and layouts. In SWT and JFace Part 2, learn how to use combo, list, table, and tree controls, as well as form layouts and reusable helper methods.

NetBeans 5 Beta released

Sun has released a beta edition of the upcoming version 5 of NetBeans. The most notable feature in this new release is the Matisse GUI Builder (demo) which makes it significantly easier to develop Swing GUIs. Other improvements include more refactoring tools, better CVS integration, support for more application servers, better support for web-development, and small tweaks to the editor.

Sun Microsystems Talks With Li Moore of Google

"Thinking of migrating to the Java 2 Platform, Standard Edition 5.0, code-named Tiger? You're not alone. Thousands of companies all over the world are giving J2SE 5.0 a try, and they like what they see. New language features, enhanced class libraries, better tool support, and desktop enhancements are just some of the reasons why many companies are making the switch. In this article, we talk with Li Moore, software engineer at Google, about his company's switch from J2SE version 1.4 to 5.0."

Culture-Sensitive GUI Controls and J2EE

Global Business Object (GBO) is a technology that provides a portable Java library enabling developers to generate culture-sensitive GUI controls in a J2EE environment. Currently, GBO includes five globalization features: Name, Address, Pop-up Calendar, Date Chooser, and Time Chooser and supports 24 languages and their corresponding locales.

Validating Java for Safety-Critical Applications

"With the real-time extensions, Java can now be used for safety critical systems. It is therefore primordial to be able to guarantee that virtual machine implementations not only conform to the Real-Time Specification for Java (RTSJ) but also that efficiency and predictability is up to a certain standard. With these objectives in mind, we developed and maintained a test suite (.pdf) which addresses conformance as well as performance."

Tour the Successful Geronimo Deployment Architecture

Geronimo is one of the more complex projects undertaken by the open source community, comparable to Linux in its intricacy. One of Geronimo's principal goals is J2EE 1.4 certification - a time-consuming effort. Nevertheless, Geronimo has already issued several milestone releases and is moving steadily toward the magical 1.0 release. Peek behind the curtain and see how the Geronimo deployment model brings a number of different open source projects under one umbrella.