Categoría General

The Web at your (machine’s) service

The Web at your (machine’s) service

Use Web services to deliver information to a cell phone via SMS The World Wide Web changes constantly. Since its inception, it has expanded exponentially, grown easier to navigate, and adapted effortlessly to new and innovative uses. However, thus far…

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…

Step into the J2EE architecture and process

Step into the J2EE architecture and process

Develop complete J2EE solutions with an eight-step cycle In the commercial world, we use Java 2 Enterprise Edition (J2EE) to solve business problems, to develop commercial software, or to provide contract services to other businesses’ projects. If a company wants…

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…

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…

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…

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.…