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"."