Posted by editor
on July 20, 2007 at 2:56 AM PDT
Great stuff in the forums and blogs today... also:
Forum Posts: 4-byte characters in SOAP content, 64-bit double math performance, and trying out JOAL
Weblogs: Embedding Swing components in HTML, applying the Web 2.0 BS filter, and Florida JUGs with good questions
java.net Poll: Compared to your development process at work, is your outside-of-work process better or worse?
Featured Podcast: Kepler's Orrery - Generative Music of the Planets
Java Today: RIFE 1.6 and beyond, GlassFish sets performance record, and social networking with ME
Great stuff in the forums and blogs today
For personal reasons, I needed to put together Friday morning's page late Thursday night, as I'll be AFK for much of Friday for personal reasons. I was worried that with barely half a day passed since the last time I browsed the feeds, that it would be harder to find great new stuff for the front page.
Much to my surprise, it's been a remarkably productive day, as the forums and weblogs in particular are hopping with activity. Today's forum items are particularly good, as they show the wide gamut of interesting topics that come up in our discussions, from the technical details of 64-bit Java, to the interesting possibilities of spatialized sound offered by JOAL, the Java wrapper around the OpenAL library. I had actually picked five can't-miss discussions from our internal RSS feed of the forums, and had a hard time cutting down to the usual three (and to think that we used to only use two!).
First among the topics making the cut in today's featured messages from the Forums is a surprising internationalization gotcha, as
chriscorbell asks if there are
Any known issues with 4-byte utf-8 characters and JAX-WS?
"I have a webservice hosted in JBoss and recently upgraded to JAX-WS from JAX-RPC. Everything's working well except a bug has appeared which wasn't there under JAX-RPC when a UTF-8-encoded 4-byte (e.g. Japanese) character is in the SOAP message body. The server returns a "Bad request" fault, somewhere early in the stack. Is there any known issue with 4-byte utf-8 characters and JAX-WS? The byte sequence of the character I'm using to test is F0 A6 9F 8C. The character (assuming it renders correctly here) is 𦟌. It occurs in the text content of an element in the SOAP body (not in an attribute value or identifier)."
wants to know why he's disappointed by what he's seeing in terms of
64-bit double math performance
"I have a science application that uses double math almost exclusively for some pretty heavy duty and long-running analyses. I thought that by using a 64-bit OS and Java VM I would naturally see about a 2x performance boost, but this is NOT the case. Performance actually degrades a bit, as the Sun 64-bit FAQ explains is due to increased pointer size. Why is there no performance increase for double math on the 64-bit VM? Doubles are 64 bit in size and the underlying 64 bit machine has a 64 bit data path. I would imagine that there is now one memory fetch per value rather than two. What is going on here?"
kcr has some getting started advice in
Re: JOAL and JavaSound .
"The JOALMixer solution can be fully deployed via Java Web Start. The joal JNLP file used by the java3d-*-joal JNLP files includes the OpenAL native libraries for Windows, Linux, and Mac OS X. You should be able to test this by running one of our Java 3D sound examples on a system without OpenAL installed: https://j3d-webstart.dev.java.net/test/ As for JavaSound support, the JOAL solution isn't applicable, since it is primarily a wrapper on top of JOAL, which has 3D spatialized sound. JavaSound does not, so there really isn't any way to port anything from the JOALMixer work. I think that any time spent on JavaSound would be better spent elsewhere, but if someone in the community wants to take a stab at it, then I wish them "best of luck"."
Meanwhile, AmyÂ Fowler reveals a very surprising Swing feature today's Weblogs : "Embedding Swing components in a JEditorPane
I was talking to a developer at JavaOne who didn't realize you can use the object tag to embed Swing components inside HTML within a JEditorPane. This turns out to be easy, modulo a small hook in the javax.swing.text package. Here I explain in reasonably short form how to do this."
Following up on his popular/infamous blog on the taxonomy of rich client philosophies (or pathologies), SimonÂ Morris tries to clarify a rapidly degenerating
Web of Confusion .
"The problem with the 'white heat of technology' is that everything happens at such a pace, before the dust settles the World and his dog has concocted their own private definition of the jargon."
Finally, GreggÂ Sporar comes back with some good questions from the user groups, as he reports in
Fun in Florida .
"I did presentations at the Java User Groups in Miami and Tampa. As always, it was interesting hearing the response and the questions."
Our latest JavaOne Community Corner Podcast is j1-2k7-mtW06: Kepler's Orrery - Generative Music of the Planets .
"Kepler's Orrery is an applet that creates generative music based on a gravity simulator. Rocks, bodies, and mutators create a unique blend of sound for each arrangement of bodies it starts with. In this mini-talk, creator Simran Gleason shows how it works."
The latest java.net Poll asks "Compared to your development process at work, is your outside-of-work process better or worse?" Cast your vote on the front page, then visit the results page for current tallies and discussion.
In Java Today ,
the RIFE project recently released the 1.6 version of this increasingly popular Web application framework. In the Artima interview Geert Bevin on New Features in RIFE 1.6 , RIFE founder Geert Bevin describes the most significant new features in RIFE 1.6. Topics include continuations, Terracotta integration, JRuby support, and upcoming RIFE features.
Indulge a little bragging... at 883.66 JOPS@Standard, GlassFish v2 now has the best SPECjAppServer 2004 on T2000. The team notes, "this is the first time that GlassFish (or any other open source application server) has lead the SPECjAppServer 2004 benchmark results." A blog by Scott Oaks has further details, noting that "this result is almost 70% higher than our previous score of 521.42 JOPS@Standard on a Sun Fire T2000" (although the new results are on a 1.4 GHz machine, versus 1.2 previously). Still, he adds "we are quite substantially faster and are quite pleased to have the highest ever score on the Sun Fire T2000."
In the latest Java Mobility Podcast , Roger and Terrence talk about Loopt the Social Networking Application wih
Mark Jacobstein, EVP Corporate Development and Marketing. He describes Loopt social networking application for mobile devices and the development issues of permissions, safety, and working with operators and other third party developers. He also discusses the various changes in social behavior that software like this are likely to bring.
Current and upcoming Java
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e">events submission form.
All submissions go through an editorial review before being posted to the
Archives and Subscriptions: This blog is delivered weekdays as
Today RSS feed . Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the
Great stuff in the forums and blogs today