Leaders of the Web services pack

Vendors are struggling to secure the coveted pole position in the race to deliver a viable services framework Technology leaders have high expectations that Web services will meet a broad variety of goals — everything from cross-enterprise integration to reducing…

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

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…

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…

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…

Maximize flexibility with interfaces and abstract classes

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?

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…

Java Tip 116: Set your table options — at runtime!

Java Tip 116: Set your table options — at runtime!

Enhance the display and usability of JTable Java Foundation Classes (JFC) offer a rich selection of components for building smart and interactive graphical user interfaces (GUIs). You can display tabular data using the javax.swing.JTable class. In this Java tip, we’ll…

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…