Import overhead

Does importing an entire package slow down code? Q: Does importing an entire package cause any runtime or compile time overhead? For example, does: import java.util.* compared with: import java.util.Vector cause any added overhead? A: In answering your questions a…

Robust event logging with Syslog

Robust event logging with Syslog

Syslog is a fast, flexible, and easily extendable logging system An important part of any project, logging can be used as a debugging tool during development, and a troubleshooting tool once a system has been deployed in a production environment.…

Program multimedia with JMF, Part 1

Go multimedia by learning how the Java Media Framework compares to your stereo system The Java Media Framework (JMF) is a large and versatile API used to process time-based media. However, JMF’s complexity can take weeks to understand. With that…

Breathe intelligence into Java

Breathe intelligence into Java

Making AI work in your Java programs is easier than you think Evolutionary computation is crucial for the next generation of applications. Evolutionary computation is software that adds and removes methods, parameters, and iterators, as well as generally modifies the…

JavaWorld

April 2001 Nuts & Bolts Wire Protocol Clean up your wire protocol with SOAP, Part 2 Use Apache SOAP to create SOAP-based applications. April 27, 2001 Server-Side Java Facilitate form processing with the Form Processing API Use the new servlet-based…

Constants

What’s the best way to handle constants in an application? Q: We frequently deal with constants, especially using LDAP security and retrieving attributes. Where should constants be defined, considering they can be either systemwide or applicationwide? A: Lately, I’ve been…

Deliver cellular messages with SMS

Deliver cellular messages with SMS

SMS: A shortcut to providing information services to cell phones The mobile communication device market is growing exponentially. A survey by Gartner Dataquest predicted that worldwide mobile phone sales will have totaled 412.7 million units in 2000, a 45.5 percent…

Working in Java time

Learn the basics of calculating elapsed time in Java This article builds on the information presented in my Calculating Java Dates article (JavaWorld, December 29, 2000). Here I’ve listed some key points from that article that should be familiar to…