Skip to main content

Ready For It

Posted by editor on September 16, 2008 at 6:46 AM PDT

Java and the Linux desktop

A couple of our bloggers today make a note of investing more significantly in Linux for their day to day work. This is kind of interesting, given that the whole "Linux on the desktop will take off real soon now" claim has pretty much become a punchline (heck, I used it back in January).

But maybe from a Java POV, it's a valid claim? After all, Linux is one of the operating systems targeted by OpenJDK, NetBeans, and pretty much all the other major Java open-source projects. When these projects drop a new release, it's available for Linux on day one, without the long "when will the port be done... hey, is anyone porting this at all?" agony that the Mac users and other platforms sometimes face.

The first of our bloggers getting deeper into Linux is Fabrizio Giudici, who says in today's Weblogs that he may be saying
Bye bye, Mac OS X:

If you follow my blog, you know that I've a bad attitude towards Apple's gear, even though (or just because?) I've been an Apple user for three years now. I've been frustrated by a) lack of support for Java updates, b) Mac OS X not performing as I need (Linux on the same hardware box is faster) and c) the scarce quality of my MacBook Pro (first generation).

So, this week I can officially say that - at the moment - Mac OS X is no more my primary operating system. My primary operating system is where I more often work and read the email, so since I've switched from Apple Mail to Thunderbird now I mostly work on Linux. As I could measure many times, Linux is much faster when developing, while Mac OS X often becomes unresponsive with the infamous beach ball. In these days I'm working with NetBeans 6.5 build 200809111401 and it's damned fast, both the autocompletion and the new background compilation feature (it was the only feature that I missed since the times of the switch from Eclipse).

Already over on Linux, Cay Horstmann finally gets one of Java 6 Update 10's flashiest features working, as he describes in
Applet Dragging in Linux. "Being a Linux user, I watched those applet dragging demos with envy when they only worked on Windows. When the release candidate of JDK 6 update 10 (now there is a product name only a mother could love...) came out, I was eager to try it out on Linux. Initially, I was held back by a factor entirely beyond my control, i.e. my cluelessness and unwillingness to read the docs. Thanks to Aaron Houston and Ken Russell for helping me out. Here are the steps..."

Also in today's Weblogs, Kumar Jayanti notes
Support for Programmatic Authorization in WebServices With Metro 1.3. "Starting with Promoted Build 36 of SailFin, Metro 1.3 users can perform Programmatic Authorization decisions inside their SEI Implementations."

In Java Today,

Kirill Grouchnikov is announcing the release of new versions several of his Swing projects, starting with version 5.0 of the major performance issues and to ensure the long-term code health of the project" Flamingo component suite 3.1 is also available. "The goal of the project is to provide a small and cohesive set of powerful UI components with functionality similar to or superseding that of Vista Explorer and Office 2007, and this release closes many gaps towards realizing this goal." Today's releases also include a number of Substance plug-ins for other projects.

Ed Burns is putting out a call for input on which JSF 2.0 issues are most important. " We have href="">37
open spec issues, not including some ones floating around on the EG
list that I need to put into the issue tracker. Of those 37, there are
that I’ve classified as “hard”, with help from
FOJSF Yara Senger. If you care
to help, please look at those href="">hard
issues and use the “vote for this issue”
feature to help us choose which of those hard ones to do first."

In the latest installment of the SDN's "From the Trenches at Sun Security" series, Security for Web Services, Marina Sum talks to Sidharth Mishra, technical product manager for identity management at Sun. They talk about the specific challenges of securing web services, the standards for message-level security, and how OpenSSO can be used to provide message-level security.

In today's Forums, duncant offers some lifecycle advice in
Re: @PreDestroy. "This will not work reliably. There is no guarantee that PreDestroy methods will be called when your application is undeployed or shutdown, which is probably what you want. I tried to do exactly the same thing you did - but PreDestroy is not guaranteed to work that way. I solved the problem by implementing a lifecycle listener. This gets notified by the app server of lifecycle events such as startup and shutdown."

dcam asks
How does an EJB invocation from outside glassfish get assigned roles?
I've got a situation where one glassfish instance (external front end) hosting a web deployment is talking to another glassfish hosting ejbs and the same web deployment (internal front end). The internal web works just fine talking to its ejbs, but the external one can't call the ejbs, although the calls are making it through to the ejb tier, the backend is refusing them with "javax.ejb.AccessLocalException: Client not authorized for this invocation" (logged in the glassfish instance hosting the ejbs).

demonduck has doubts about the Java plug-in UI, as explained in
Re: Java Runtime Settings not remembered? "That's b31 I just downloaded and installed. The icon always shows and the blue flash always occurs. It maybe your fixes don't work on Firefox 2. A lot of people still use Firefox 2. I understand that the intention of the blue flash is for "security reasons" My view is that it's just silly and annoying and carries no meaning. I challenge you to test your design decision on real people out in the real world. Set up in the closest mall and demonstrate the blue flash to them and see if they think it makes Java more secure."

Finally, ohnnyj asks about Blu-Ray
Hardware Specs. "I am just getting into BD-J development and am trying to assess the performance levels of different players. I have done some research online with regards to the hardware components used in the available players but it seems as though most companies are tight lipped about the internals. Anyone know of any white papers, technical manuals for various blu-ray players which document memory, cpu, storage, etc? This would help a lot to gauge the capabilities of the various players."

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.

Java and the Linux desktop