Plant your data in a ternary search tree
Create an English dictionary that checks spelling and matches words as you type The ternary search tree (TST) is the champion of data structure acrobatics — it finds all keys having a given prefix, suffix, or infix. It even finds…
Java Product News (February 16, 2001)
MicroStrategy SDK 7.1 supports Java The latest release of the MicroStrategy SDK business intelligence platform, version 7.1, features a Java-based Web API (application programming interface) that enables developers to build applications on multiple platforms. These include IBM AIX, Sun Solaris,…
Java, Linux trim the fat at Omaha Steaks
Customers move from call center to Website Omaha Steaks is an experienced mail-order firm that sold premium meats for years before the Internet existed. The company wasn’t slow in recognizing the new medium’s potential, and started advertising on AOL in…
Speed up file searching in JFileChooser
Implement a type-ahead feature for faster file selection You’d be hard-pressed to find an application these days that does not require a user to choose a file at some stage. To cater to that need, the Swing collection provides a…
HP launches e-services software suite
Bluestone’s Total-e-Sever J2EE application server central to HP’s plans February 13, 2001 — Hewlett-Packard launched two software suites Tuesday as part of its “software ecosystem,” designed to help its customers develop, integrate, and deploy electronic services and manage IT infrastructure.…
Become a programming Picasso with JHotDraw
Use the highly customizable GUI framework to simplify draw application development Software developers want to build software applications quickly and still focus on quality. One way to reduce development time and improve software quality is to use a framework. Frameworks…
Construct secure networked applications with certificates, Part 2
Learn to use X.509 certificates To build secure applications, you must learn the tools of the trade. To help familiarize you with these concepts, I introduced you to public-key cryptography in Part 1 and explained how it avoids the key-exchange…
iContract: Design by Contract in Java
iContract allows you to explicitly specify your class contracts; no more guesswork as to what your classes promise Wouldn’t it be nice if all Java classes that you use, including your own, lived up to their promises? In fact, wouldn’t…
Java Tip 107: Maximize your code reusability
Overcome deficiencies in the traditional OOP approach to reuse That reuse is a myth seems to be an increasingly common sentiment among programmers. Perhaps, however, reuse is difficult to achieve because deficiencies exist in the traditional object-oriented programming approach to…
Add XML to your J2EE applications
Integrate an XML presentation layer in the J2EE layered architecture Today’s organizations’ rapid moves to e-business bring new demands on defining flexible systems architectures. Systems need to be powerful, scalable, robust, and, most of all, capable of meeting new business…