Doclet your servlet!
Write better documentation with ServletDoclet So you’ve written that killer servlet, and now it’s been discovered. Congratulations! But alas, your inbox is flooded with messages: What do the parameters mean? What beans does the servlet put in the session, and…
Java Tip 108: Apply RMI autogeneration
Write remote objects using only local semantics and «RMI-retrofit» existing local interfaces When you design an application to use RMI as a deployment option, you must follow remote semantics at compile time. Interfaces that may need to be remotely accessible…
Design for performance, Part 2: Reduce object creation
Avoid performance hazards while designing Java classes Though many programmers put off performance management until late in the development process, performance considerations should be integrated into the design cycle from day one. This series explores some of the ways in…
Servlets in Apache Tomcat and BEA Systems’ WebLogic Server
Deploy servlets and Web applications in two popular application servers In “Develop N-Tier Applications Using J2EE” (JavaWorld, December 1, 2000), I gave an introduction to Java 2 Enterprise Edition (J2EE) and an overview of the technologies it includes. In this…
Java Product News (February 23, 2001)
Tryllian Agent Development Kit features mobile software agents The new Agent Development Kit (ADK) from Tryllian enables Java developers to build and use mobile software agents to autonomously conduct tasks in an open Web environment. The software development model can…
J2EE clustering, Part 1
Clustering technology is crucial to good Website design; do you know the basics? Enterprises are choosing Java 2, Enterprise Edition (J2EE) to deliver their mission-critical applications over the Web. Within the J2EE framework, clusters provide mission-critical services to ensure minimal…
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…