Java Tip 98: Reflect on the Visitor design pattern
Implement visitors in Java, using reflection Collections are commonly used in object-oriented programming and often raise code-related questions. For example, “How do you perform an operation across a collection of different objects?” One approach is to iterate through each element…
Transaction management under J2EE 1.2
Explore your options for managing transactions A transaction can be defined as an indivisible unit of work comprised of several operations, all or none of which must be performed in order to preserve data integrity. For example, a transfer of…
News and New Product Briefs (July 14, 2000)
INDEXHEAD: HMS Software unveils Java-based Palm tool HMS Software has introduced TimeControl Express, a new timesheet product for Palm devices and Pocket PCs. Written in Java KVM, the package works in conjunction with HMS’s original timekeeping product, TimeControl, and allows…
Lock on to an alternate synchronization mechanism
Learn how to implement a reader/writer lock for flexible protection Software professionals have been debating multithreaded programming for quite some time now. The notion of threading is so ingrained within the Java platform that developers can rarely create even simple…
WebGain gaining ground
The new company continues to build up its Java toolbox via product and company acquisitions July 12, 2000 — Through its recent string of product and company acquisitions, WebGain is building up its Java toolbox and moving into the market…
Microsoft drops Java tool from suite
Due to the Sun-Microsoft Java legal fight, Microsoft decides not to include Visual J++ with its upcoming Visual Studio.Net tool July 12, 2000 — Microsoft confirmed that Visual J++, its Java-based tool, will not be part of the pending Visual…
Alternative deployment methods, Part 2: The best of both worlds
Add a new trick to your Java application-deployment toolbox In my previous column, I examined the most widely used method of deploying Java client-side applications in enterprise environments — the applet — and presented several reasons for its popularity: the…
Flatten your objects
Discover the secrets of the Java Serialization API We all know Java allows us to create reusable objects in memory. However, all of those objects exist only as long as the virtual machine remains running. It would be nice if…
Talkback: Cell phone etiquette
In Dan Briody’s The Ten Commandments of cell phone etiquette he asks for suggestions for additions. In Dan Briody’s The Ten Commandments of cell phone etiquette he asks for suggestions for additions. Thou can make them below. We’ve updated the…
Linux and Java: What’s the scoop?
Discover the skills you need to program Java on Linux Q: I have two requests: I would appreciate a pointer to a list of Web resources that outline how to integrate Java on the Linux platform. What Unix/Linux knowledge should…