Category General

News and New Product Briefs (July 21, 2000)

INDEXHEAD: ParaSoft and CodeMarket form alliance ParaSoft and CodeMarket have joined forces to develop outsourced software components. Under the agreement, Parasoft’s Jtest Java-testing tool will be used for all components outsourced or purchased through CodeMarket’s software development network. CodeMarket will…

Build a better mouse trap

Take a look at the ins and outs of mouse events Q: What is the difference between the mouseClicked() and mousePressed() methods of the MouseListener interface? A: Java’s AWT library supplies two interfaces that allow listeners to receive mouse events.…

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…

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…

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…

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…

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…

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…