Skip to main content

Up the Junction

Posted by editor on July 20, 2006 at 5:37 AM PDT

Mapping your way to SwingX-WS

After a month or so of widespread grousing about the unavailability of source from JavaOne's Aerith demo, we're seeing more activity from this effort than I think a lot of us expected. Not only has the Aerith source been available for a while now, but the webservices part of the photo-mapping demo is now the cornerstone of a major new project.

Josh Marinacci sent word yesterday of the debut of SwingX-WS, an LGPL-licensed project which "contains a set of JavaBeans for interacting with web services":

Initial beans include support for several Yahoo and Google webservices such as searching news, video, images, and financial data, as well as a generic tile based mapping component (as seen in the Aerith demo at JavaOne 2006), The SwingX-WS beans have been designed with graphical configuration in mind and work very well inside of a JavaBeans aware editor such as NetBeans.

The SwingX-WS project is actively seeking new developer to enhance the existing beans and build new ones. We would especially like to see beans for accessing Google's search services, Flickr photos, Microsoft Live, MusicBrainz metadata, and enhancements to the JXMapViewer for connecting to NASA map servers.

Currently the SwingX-WS project has the following beans:

  • BackgroundWorker: a configurable wrapper around SwingWorker for performing long running tasks.
  • JXMapViewer: a generic viewer for tile based map servers
  • Yahoo Search: a non-visual bean for calling Yahoo's various search services, including images and video.

The SwingX-WS project was talked up on Tuesday's Java Posse podcast, which took particular interest in the World of Warcraft mapping component described by Joshua Marinacci in his blog Getting started with the Aerith Mapping Component.

I blogged Tuesday about all the heavy lifting that SwingX is doing in a code re-org, and this is obviously further evidence of a real upswing in activity in the Swing group's activity. Desktop developers look to be getting some pretty nice stuff to be working with in the near future, and being in the form of open-source projects on, you can get in early or even help out.

Also in Java Today,
TheServerSide is hosting a free downloadable PDF of the book Mastering Enterprise JavaBeans 3.0 by Rima Patel Sriganesh, Gerald Brose, and Micah Silverman. "Published in July 2006, the best selling book Mastering EJB is now in its fourth edition and has been updated for EJB 3.0. This edition features chapters on session beans and message-driven beans, EJB-Java EE integration and advanced persistence concepts."

Handlers are interceptors that can be easily plugged into the Java API for XML-Based Web Services (JAX-WS) 2.0 runtime environment to do additional processing of inbound and outbound messages. The first part of the latest SDN Enterprise Java Technology Tech Tip, Writing a Handler in JAX-WS and Inheritance and the Java Persistence API, shows you how to write a SOAP protocol handler and a logical handler for use with JAX-WS.

In today's Feature Article, S. W. Eran Chinthaka offers an

Introduction to StAX:
"JSR 173 defines a pull streaming model, StAX (short for 'Streaming API for XML'), for processing XML documents. In this model, unlike in SAX, the client can start, proceed, pause, and resume the parsing process. The client has complete control."

Simon Morris says Okay, I was wrong! in today's Weblogs, but he's not entirely backing away from questioning why Java DB was dropped into the Mustang JDK and whether it's of genuine value to desktop developers. "I still have serious doubts about many of the arguments supporting the whole Java DB thing, but some of the feedback has made me think again."

In Java 2D Trickery: Soft Clipping, Chris Campbell offers
"The first installment in a series of Java 2D tips-and-tricks: wouldn't it be nice if you could antialias those hard edges to remove the jaggies caused by clipping?"

And in
Scale Up vs. Scale Out, Malcolm Davis says
"For years I've had the discussion with developers, database administrators, and system admins on big-box vs. the multi-box solutions. The question is 'How is scalability achieved'?"

In today's Forums,
rickcarson makes a redundant declaration and wonders about how it works in
Stupid question: Webservice->Session bean... why bother?
"I have in Netbeans 5.5 beta slapped together a container managed Session bean, and then pointed a Webservice at it. Interestingly, the Webservice is *also* a Stateless session bean, which strikes me as odd, redundant or both. Clean and build is fine. Deploy is fine. However the lookup function which was autogenerated for me fails to find the original Session bean. Probably because it is not actually getting deployed (at least, that is the stack traces story and it si sticking to it). But I cannot find how to tell Netbeans 'Yo, Netbeans, deploy this stateless Session bean'."

David Grace has a gift for all you Java audiophiles in
RE: Java 3D Sound (spatialized audio):
"I have uploaded code into the 'org.jdesktop.j3d.audioengines.joal' branch of the j3d-incubator project that successfully implements rendering of sound using joal. There are also test classes in 'org.jdesktop.j3d.apps.sound' which test each type of sound using the new joal renderer This code seems to work well for all sound types (BackgroundSound, PointSound and ConeSound). It has only been tested on Windows so far. Instruction on how to use this class is included in the top of the java class file and also the javadocs."

In today's
News Headlines

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

Current and upcoming Java

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

Archives and Subscriptions: This blog is delivered weekdays as
the Java
Today RSS feed
. Also, once this page is no longer featured as the
front page of it will be
archived along with other past issues in the href=""> Archive.

Mapping your way to SwingX-WS