Can you create a matrix of primitive types that default to all zeros?
Yes, you can, and here’s how Q: Is there anything in the Java specification that says a matrix of any primitive type will default to all zeros? For example, I am looking to optimize calculation results so that once I…
Freeware: Is it really worth it?
The hidden cost of freeware often lies in the setup frustrations Thanks to the World Wide Web, freely available products range from the Mosaic and Netscape Web browsers and Apache Web server to the mySQL database and Linux operating system.…
Solve your servlet-based presentation problems
Flex the MVC presentation layer with these viable alternatives to JSP Sun Microsystems created Java servlet technology, and it was good. (See Resources.) All subsequent Java server techniques have been based on servlets. And while nobody argues against servlets’ efficacy,…
Java Product News (November 3, 2000)
INDEXHEAD: JBuilder Handheld Express speeds Java development for the Palm OS Inprise/Borland has unveiled an updated preview edition of JBuilder Handheld Express, designed to improve Java development efforts for the Palm OS platform. An add-on to JBuilder 4, Handheld Express…
Add MP3 capabilities to Java Sound with SPI
The Service Provider Interface adds functionality to Java Sound without recoding The digital audio world has changed rapidly over the last ten years, introducing all sorts of new and exciting audio file formats: AU, AIF, MIDI, and WAV, to name…
Study guide: Applications, applets, and hybrids
Brush up on Java terms, learn tips and cautions, review homework assignments, and read Jeff’s answers to student questions INDEXHEAD: Glossary of terms application A standalone program consisting of at least one class with a main() method. applet An application…
Applications, applets, and hybrids
Java 101 charts a new course, and explores applications, applets, and hybrids If you’ve been following Java 101, you know that Jacob Weintraub has created an excellent series of articles designed to help Java newbies become Java developers. However, as…
Sun’s latest Java development wins big
Java Web Start could jump-start client-side Java Do you think desktop Java interfaces are capable of handling much more complex applications than their Web counterparts? Your answer is probably yes. However, although they offer numerous benefits, Java-based desktop applications also…
Optimize a query on a Map
Comparing techniques for performance tuning a query on a Map class In “Optimizing a query on a collection”, I considered how to optimize a query on an indexable collection. However, optimizing queries on Map classes turns out to be more…
Modifying archives, Part 2: The Archive class
The Archive class allows you to write or modify stored archive files Author’s note: Before we get started on this month’s article, I’d like to mention that my new book on Java threading, Taming Java Threads (APress, June 2000 (see…