Skip to main content

SOAP - just a name

Posted by daniel on November 6, 2003 at 4:55 AM PST

"SOAP was originally an acronym for Simple Object Access Protocol. (Now it's just a name.)"

So begins Richard Monson-Haefel's chapter on SOAP from his Addison-Wesley book "J2EE Web Services" that we feature today. We continue to discuss the pros and cons of including book excerpts at We aren't replacing original content with excerpts and we are in the process of increasing the number of weekly features posted in the right-hand column on our site. Tomorrow, look for an article on Lucene's QueryParser by Erik Hatcher.

So what are some of the arguments for and against including book excerpts? The content isn't original and requires you download a sizable pdf file. Because we are republishing part of a greater work, there are often references to material that is not included in the download. On the other hand, in book form an author can take the time and space to dig into an API and give a comprehensive set of examples. Today's download is more than forty pages. If this were serialized as an article it would take several installments to cover this same amount of material or it would be presented in an abbreviated form.

We have already lined up a couple more book excerpts. If there are new books coming out that you would like us to feature or if you have thoughts on us continuing to present these excerpts, send me an email at or post in the feedback below.

In Also in Java Today , take a look at the most recent version of QTJava in Chris Adamson's ONJava article The Return of the Blue Q. Much of the QTJava APIs have been rewritten for the recent 6.1 release. When Apple released Java 1.4.1 they switched from a Carbon implementation to Cocoa. QuickTime and QTJava were based on Carbon and QTJava apps were broken on Mac OS X (while many continued to work on Windows). Chris takes a quick look at where things stand now.

In the developerWorks article Design an application for grid, Bart Jacobs writes
"Because a grid may be large, dispersed, and heterogeneous, designing a grid application can present a challenge. While a non-grid application runs in a relatively stable, well-defined, and often dedicated environment, a grid-enabled application runs in a dynamic, sometimes loosely defined, and heavily networked environment."

Jacobs concludes that it may be inappropriate to try to implement an application as a grid application if the network has limitations, if the applications require "Heavy use of interprocess communications among jobs. Strict local job scheduling and uncontrolled data producers... A job flow requiring interdependencies among the jobs, especially with regard to data manipulation."

In Projects and Communities , the Javapedia project has an updated page on Mobile Code . The article explains that "most Java applications load code from a local code base only, and never extend that codebase to the network during a program's execution." Other examples include a Java applet or an application that loads code from a particular URL. In each of these cases, however,

an administrator or developer must know the network locations where code should download in advance of deploying an application. But what if you don't know those network locations in advance, and would like your app to determine at runtime where to load code from? Java object serialization enables that possibility. With object serialization, the codebase for a Java object is stamped onto that object's serialized byte stream as a String. The String contains a space-delimited list of URLs where code for the object should be loaded from. The Java serialization infrastructure creates the needed class loaders and loads the code from the annotated codebase. Java RMI builds on that codebase annotation mechanism to create an infrastructure for mobile objects.

From time to time a collection of Swing applications are featured in Swing Sightings. The JavaDesktop community points to this article that shows you links to Wurm Online and other applications ""including a music management application from Rio, a remote-control internet laboratory controller from eLab, and a spectacular update of DBVisualizer! "

Meanwhile, in today's featured Weblogs , Joshua Marinacci presents Swing Hack 5: a magic lens. Joshua has created a "magic lens" using another trick with the glasspane. "I've restricted the drawing of the glass pane to only be under the cursor by getting the cursor coordinates from a mouse motion listener and setting a clipping rectangle centered around the cursor. Finally I've added code to print the mouse coordinates as part of the cursor."

In today's News Headlines :

Registered users can submit news items for the href=""> News Page using our
news submission form.
All submissions go through an editorial review by news director Steve
Mallet before being posted to the site. You can also subscribe to the href=""> News RSS

Current and upcoming Java Events:

Registered users can submit event listings for the href=""> Events Page using our href=""> events submission form.
All submissions go through an editorial review before being posted to the

This blog is delivered weekdays as the href="">Java Today RSS
feed. Once this page is no longer featured as the front page of href=""> Java Today it will be archived at href=""> You can
access other past issues in the href=""> Archive.