Survival of the fittest Jini services, Part 3

Survival of the fittest Jini services, Part 3

Guidelines for implementing the Jini Transaction Specification in web services The Jini Transaction Specification defines a transaction coordinator for the two-phase commit (2PC) protocol, as well as a default transaction semantics guaranteeing ACID properties. This article explains the default transaction…

Will .Net take down Java in 2002?

Vendor’s survey predicts more developers to build with .Net than Java next year October 19, 2001 — As chief executive of an online component broker, Sam Patterson finds himself in an interesting position related to the Web services rivalry between…

Dispatcher eases workflow implementation

Dispatcher eases workflow implementation

Improve your application’s workflow with the Dispatcher design pattern and XSL As a developer, you realize that requirements change as a natural part of the application development process. You can best address such change by being prepared. In many applications,…

Automate dependency tracking, Part 3

Create a rich, interactive experience for your user In the past, manual notification mechanisms were the de facto standards for updating dependent data in an object-oriented application. Patterns such as Observer, Publish-Subscribe, Document-View, and Model-View-Controller were certainly important as graphical…

The Jxta solution to P2P

The Jxta solution to P2P

Sun’s new network computing platform establishes a base infrastructure for peer-to-peer application development Today’s Internet is witnessing a revolution. A revolution that strives to change one of its basic features. A revolution where network endpoints — or clients, such as…

Java Tip 118: Utilize the EjbProxy

Invoke remote EJBs with a simple utility class If you’ve ever worked with Enterprise JavaBeans (EJB), you’ve probably written code to access the EJB from the client program or written code to access it from another EJB. Usually, those code…

Amaze your developer friends with design patterns

Amaze your developer friends with design patterns

<strong>Java Design Patterns</strong> column kicks off with a look at three important design patterns Welcome to the first installment of JavaWorld‘s Java Design Patterns. This column will explore, strictly from a Java perspective, many of the design patterns discussed in…

RMI books hit the shelves

RMI books hit the shelves

Learn RMI with a book that suits your programming needs Until recently, if you wanted up-to-date information about Java’s Remote Method Invocation (RMI), you had to piece together information from magazines, tutorials, and mailing lists. A few Java books provided…

Avoid synchronization deadlocks

Use a consistent, defined synchronization ordering to keep your apps running In my earlier article “Double-Checked Locking: Clever, but Broken” (JavaWorld, February 2001), I described how several common techniques for avoiding synchronization are in fact unsafe, and recommended a strategy…

Don’t be late for that important date

Specify date formats in Java October 5, 2001 Q: I would like to retrieve the current date in yyyyMMdd form. What is the easiest way to do that? A: The easiest way to format a Date object or a date…