Links to Recent Articles and Papers authored by Bruce Wallace
(For my unrefereed blog see Existential Programming)
- AJAX
from Scratch: Implementing "Real" Classes in JavaScript,
And why your JavaScript classes probably aren't
Feb 2007, Gamelan.com / Developer.com
JavaScript developers can use the presented compact implementation
to take advantage of most of the features of the Java classes.
This will enable the use of robust design patterns needed for
AJAX and Rich Internet Applications (RIA).
- Gravey Framework Home Page
This page contains links to code and examples related to
the AJAX from Scratch framework: Gravey.
-
Mutual Exclusion in JavaScript,
March 2006, OReilly OnJava.com
Weak JavaScript environments offer the AJAX developer little protection
from concurrency dangers, such as one thread modifying the DOM while
another reads it. Bruce Wallace offers a mutual exclusion implementation
for JavaScript.
- AJAX
from Scratch: Implementing Mutual Exclusion in JavaScript,
Learn how to keep your XMLHttpRequests from colliding with your
rich Internet applications
March 2006, Gamelan.com / Developer.com
With the increasingly popular AJAX paradigm, a browser page can make
requests for server data “in the background” while the user interface
continues to be active “in the foreground” causing problems by
accessing common data simultaneously. The classic solutions to this
concurrent programming problem are not supplied by JavaScript. This
article describes an implementation of a mutual exclusion mechanism
that works around the limitations of JavaScript.
- Design Markers Home Page
This page contains links to articles and code examples related to
Design Markers and Explicit Programming.
- Design
Markers,
Explicit Programming for the Rest of Us
March 2003, OReilly OnJava.com
Explicit Programming seeks to better link designs with their
implementations, but until now it has been tied to experimental
research tools. Bruce Wallace introduces the Design Markers technique
which provides many of the benefits of Explicit Programming but only
relies on standard Java and JavaDoc.
- Design
Markers,
Maximize your Design ROI with Marker Interfaces and JavaDoc
March 2003, Gamelan.com / Developer.com
There are many choices made at design time which cannot be directly
expressed in today's implementation languages. These choices must be
implemented via programming & naming conventions. As will be shown,
two consequences of this limitation conspire to erode your wise
investment in design. The author has coined the term Design Markers to
label the technique shown that leverages un-extended JavaDoc with
Marker Interfaces to tie the “what” and “how”
of the code to the “why”.
- A Time for
Reflection (local copy), (JavaPro
Site)
Eliminate burdensome accept() methods from your Visitor pattern
using Java 1.2's reflection capabilities
March 2001, JavaPro Magazine
In the November 2000 issue of Java Pro, James Cooper surveyed the
well-known Visitor pattern. He explained that every element to be
visited needs to cooperate by providing an accept() method. This
constraint can sometimes be very burdensome. However, Bruce Wallace
presents a technique in Java 2 that eliminates accept() methods
altogether, with only two lines of code, using new reflection
capabilities.
- Java RMI Cheatsheet,
A condensed overview of Java RMI
May 2002
Last Revised: 16-Dec-2008
Copyright © 1980-2008 by PolyGlot, Inc.