Java Archive

Store objects using the JDK 1.4 Preferences API

The Preferences API -- a lightweight, cross-platform persistence API introduced in JDK 1.4 -- is designed to store small amounts of data (string, simple byte arrays, and so on.) and was not intended to be an interface to a traditional database. It can, however, be effective as a storage device if your data can be expressed as simple objects. This article offers an introduction to the API, explains how objects are stored, demonstrates the process in action, and provides a code library to do the work.

Eclipse 3.0 M3 Released

This is the third milestone release towards Eclipse 3.0. Check out the new and noteworthy improvements this version brings. The group in charge of the open-source Eclipse project approved a three month long restructuring process this week that should reduce IBM's dominant role in the effort and make the project more attractive to Java vendors such as Sun Microsystems and BEA Systems. Also, they are thinking of changing the name of the project.

Apple Releases Java 1.4.1-Update1

MacMinute reports that Apple today released Java 1.4.1 Update 1, a new version of its Java implementation for Mac OS X. The update adds the following enhancements: improved Java applet support for Safari and other Web browsers that support the Java Internet Plug-In; improved drawing correctness and performance; changes to Java 1.3.1 that provide support for Oracle11i client applications on Mac OS X; and improved stability, memory usage, and correctness. The update is available via the Mac OS X Software Update preference pane.

Access USB Devices from Java Applications

The Java platform has traditionally prided itself on its platform independence. While that independence has many benefits, it makes the process of writing Java applications that interact with hardware quite tricky. In this article, a research scientist examines two projects that are making the process easier by providing APIs through which Java applications can make use of USB devices. While both projects are still in embryo form, both show promise and are already serving as the foundations of some real-world applications.

Sun, SuSE Make Java/Linux Pact

Sun Microsystems Inc. and SuSE Linux A.G. have entered into a global alliance that calls for Sun to preinstall SuSE Linux's Enterprise Server 8 on its commodity x86 hardware systems, while SuSE becomes a Java 2 Standard Edition source licensee and will distribute Sun's Java Virtual Machine with all its Linux products, the two companies announced Thursday.