Posted by editor
on October 15, 2007 at 7:51 AM PDT
James Gosling ends his Mac-using era... also:
Weblogs: From OS X to Solaris, invoking EE 5 web service from JRuby, and Introducing mimepull
Java Today: Java and concurrency, Ant Utility Project, and JavaFX Script functions and operators
Forum Posts: Debugging for BD-J programmers, reformatting System.out, and recommended JXTA books
James Gosling ends his Mac-using era
Cited on an Apple PR page for his use and evangelism of Mac OS X, and having written that he "tend[s] to think of OSX and Linux with QA and Taste", James Gosling says he's moving on.
His latest blog compares Solaris and OSX , and he explains why he's now chosen the former over the latter.
I loved Tom Yeager's article The next best thing to OS X . As several people have noticed at my talks over the past few months, I no longer carry a Mac laptop. As much as I love the Mac's eye candy, it really hasn't been keeping up as a developer's machine - their attention has clearly been elsewhere. Meanwhile, the Solaris folks have made huge strides in Solaris's usability on a laptop with recent Nevada builds: the latest Gnome is quite lovely. Firefox, Thunderbird and Silverlight kick ass. The new installer is totally slick. The nwam (network automagic) service makes network hassles almost totally disappear. And Java, NetBeans and Glassfish go like the wind! It's amazing how fast things run.
Of course, when he says the Mac "hasn't been keeping up as a developer's machine", he specifically means as a Java developer's machine, which gets into the long-discussed and agonized-over issue of the absence of Java SE 6 from the platform, and the apparent fact that it will only be available in the yet-to-be-released OS X 10.5 ("Leopard"), trailing its release for Windows, Solaris, and Linux by more than 10 months now.
On the other hand, Dr. Gosling also admits that Solaris won't put his laptop into hibernate mode when he shuts the lid.
So, OS X to Solaris: good idea, bad idea, practical necessity, or what? Chime in here, or back on his original blog.
Also in today's Weblogs , ArunÂ Gupta contributes another Tip Of The Day in
TOTD #12: Invoking a Java EE 5 Web service endpoint from JRuby .
"This TOTD explains how a simple Metro Web service deployed on GlassFish V2 can be easily invoked from JRuby."
JitendraÂ Kotamraju describes an interesting new project in
Introducing mimepull - Streaming API for MIME messages .
"The new project mimepull allows applications to access MIME attachments in a streaming fashion. [...] MIME message parsing is done using pull-parsing, much similar to StAX in XML world."
In Java Today ,
writing on Javalobby, Jim Falgout wonders about the state of Java and built-in concurrency . "Languages such as Erlang have very easy to use concurrency constructs built in. For example, in Erlang, it is easy to create a "process" that accepts messages and write messages to that process from another. With a few lines of code, sans threading and locking calls, you can write a concurrent program in Erlang. When will such easy concurrency be built into Java? And should it?"
Ant build scripts can be a powerful project asset, especially when used with continuous integration -- however build time can be significant, especially as projects grow larger and more complex. The Ant Utility Project is designed to assist in optimizing your Ant build in a non-intrusive manner. This new utility contains a build listener that gathers and accumulates timing metrics for your build and produces a report. The report can be visually inspected, or loaded into a spreadsheet since it's in CSV format. The report shows task execution times, and references line numbers in your build scripts. This is all done without modifying your build scripts.
Continuing an SDN series introducing JavaFX Script, John O'Conner's Learning Curve Journal, Part 3: JavaFX Script Functions and Operations describes the differences between functions and operations in JavaFX Script. "The JavaFX Script programming language allows you to create both functions and operations, and the difference between the two is significant but not entirely clear at first glance."
This week's Spotlight is on
the jVoiceBridge , software written in the Java Programming Language that handles Voice over IP (VoIP) audio communication and mixing for tasks such as conference calls, voice chat, speech detection, and audio for 3D virtual environments. The voice bridge supports a range of voice qualities from telephone to CD-quality. In addition, the voice bridge supports stereo audio and the ability for each individual connected to the Bridge to have their own private voice mix. The voice bridge enhances 3D virtual environments such as MPK20: Sun's Virtual Workplace by providing individually adjustable audio channels for each live avatar and each in-world recorded sound source.
In today's Forums ,
peez discusses debugging strategies for BD-J development in the thread
Re: compiler version required to run the BD J application on Cyberlink .
"No there is no System.out.println() or other built-in debug output. For debugging I wrote a small Class that just displays a Textbox (HStaticText) on the screen and outputs the text its supplied with. So this way you have to do your debug output "by feet". Unfortunately it's also not possible on PS3 to redirect System.out and System.err. Some other players support this so it's possible to redirect it to the debug box and view a few system status messages. But still no error messages."
Speaking of println's, there's a thread on tweaking its output over in the SE forum, and in
Re: Capturing System.out and System.err with newline characters ,
"If you are not getting the correct assertion then you need to tweak toString() further so that it matches what you want. Note also that this tweak has to take into account your OS e.g.:
...// do this
else if (WINDOWS)
jhan6301 is looking for
Recommended Books on JXTA development.
"I tried to find books about JXTA and found that most of them are out-of-date. Many APIs in code examples are deprecated. Can any one recommend some books which are compatible with JXTA v2.5? Currently the only one material I found is "JXTA Program Guide" (which is downloaded from official JXTA web site)."
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
James Gosling ends his Mac-using era