Category General
Java Product News (updated September 28, 2001)
Sun releases J2EE 1.3; Kada and Cisco partner to expand network capabilities; Merant launches content management tool; and more Sun releases J2EE 1.3 The latest version of the Java 2 Platform, Enterprise Edition (J2EE) supports J2EE Connectors, Java Message Service…
Double trouble
What’s the best way to return doubles without affecting performance? September 21, 2001 Q: Having seen your answer on parsing ints in ” Help With Ints ,” it bought to mind an issue I came upon while performance tuning our…
Pattern your way to automated regression testing
Implement popular design patterns to overcome unit-testing hurdles We have all heard the mantra: test, test, test. Unit test all mission-critical business logic. If possible, write the unit tests before you write the code. Test everything you can, and test…
Automate dependency tracking, Part 2
Automatic dependency tracking discovers dependencies at runtime and updates the user interface Rube Goldberg, an award-winning cartoonist, drew incredibly complex contraptions that performed simple tasks. He described his machines as “symbols of man’s capacity for exerting maximum effort to accomplish…
Methodology madness
What are the best techniques for managing your Java projects? Software development methodologies have been around for quite some time. In the 1980s, the buzz around computer aided system engineering (CASE) tools was huge. Companies invested millions of dollars in…
Maximize flexibility with interfaces and abstract classes
Design with interfaces and abstract classes to satisfy both type and implementation issues Though type is an extremely important object-oriented concept, it is often overlooked in favor of implementation-centric concerns. Java program development is as much about design as about…
A primordial interface?
Investigate Java’s elusive primordial interface Section 8.1.3 of the Java Language Specification (JLS) states, “The class java.lang.Object … is the primordial class and has no direct superclass.” That means java.lang.Object serves as the root class for all Java class hierarchies.…
Delegates
Find out what constitutes true delegation September 14, 2001 Q: What are delegates? A: When an object receives a request, the object can either handle the request itself or pass the request on to a second object to do the…
Exceptional practices, Part 2
Use exception chaining to preserve debugging information In Part 1 of this series, I looked at some general concepts surrounding sensible exception use in Java programs. In this article, I focus in greater depth on a particular exception-handling technique called…
Sprint PCS brings Java to handsets
Wireless provider announces Java developers’ program September 11, 2001 — Sprint PCS Group has jumped on the Java bandwagon, announcing an application developers’ program in conjunction with Sun Microsystems Inc. and support for Java on a pair of handsets running…