Posted by editor
on May 20, 2008 at 6:26 AM PDT
JavaFX or Swing or something else? Yes. Also:
Java Today: Kirill Grouchnikov interviews Amy Fowler on Swing and FX, invokedynamic goes public, and JavaOne hands-on labs now online
Weblogs: Solo open-source projects, PuTTY to OpenSSH conversion, and Josh's JavaOne brain-dump
Feature article: Securing Your Web Application Requests
Forum Posts: Profiling phoneME Avanced with NetBeans, making a PS3 server with BD-J, and porting phoneME to Windows Mobile
JavaFX or Swing or something else? Yes.
Considering the user-facing focus of JavaOne 2008... JavaFX demos, Neil Young's archives on Blu-Ray, On2 video codec, phone stuff, etc... one might expect the desktop developers to be delighted to be back in the spotlight. But in fact, there's a distinct grumbling in several quarters, and it gets back to an interesting question:
If JavaFX is meant for designers, then have you forgotten about us desktop developers?
The sense that existing Swing developers aren't completely comfortable with JavaFX has popped up in a few public places recently. For example, consider the harsh words that java.net
ewin shared on last week's poll :
For now FX gives a clear message. Sun has once again given up competing at the desktop. The previous filth rich client marketing bushwah failed spectacularly (guess why ...), the framework thing didn't take off (guess why ...), so for the moment Sun decided they don't want to push Java for serious desktop applications any more. Instead it has to be something for the web, artsy-hippy people: FX.
But is this the case?
fabriziogiudici counters that the new technologies for JavaFX will also be exposed to Java, in forms like the Scene Graph , or the promised Java Media Components. He writes, "So JavaFX is not a "distraction" of resources from the desktop, it's just the opposite."
One of the most prominent Desktop Java developers is Substance creator Kirill Grouchnikov, and to get some answers, he took his questions about Swing and JavaFX to the source. In Swing, RIA and JavaFX - interview with Amy Fowler , he talks to Swing co-founder and Sun senior engineer Amy Fowler about the audience for JavaFX, its potential for tool support, third-party component libraries for Swing, the use of Swing as a "UI virtual machine" by dynamic languages on the JVM, and more. Amy has also blogged about the interview, saying that Kirill "always asks us insightful and often difficult questions."
So, if you're ready to decide for yourself where we're going with JavaFX and Swing, check out what Kirill and Amy have to say.
Also in Java Today ,
John Rose is updating the status of JSR 292 , "Supporting Dynamically Typed Languages on the Java Platform". "After a successful meeting at JavaOne , the JSR 292 EG (expert group) has published its EDR (early draft review) for the invokedynamic instruction. This draft will be updated from time to time (in response to your comments ), until August 17, which is the end of the 90-day review period."
The Aquarium is noting that "Hands-On Labs from JavaOne 2008 are available online .
You'll find detailed steps for the "Plug into GlassFish V3 with JavaServer Faces and jMaki" lab which is what inspired the "Admin Console Plugins in GlassFish v3" screencast .
There's a total of 27 labs fully documented with detailed steps and archives. Here are the GlassFish-related ones..."
Along with blogging about Swing, Kirill's also been thinking about how to manage one-person open-source projects. So, today's Weblogs section featuers his summary blog
Party Of One: Surviving A Hobby Open Source Project , he shares "things I learned from being the only developer on a few open-source projects.:
KohsukeÂ Kawaguchi introduces a Key format conversion library from PuTTY to OpenSSH .
"I wrote a small Java library that converts a ssh key file in the PuTTY format into the OpenSSH format."
More than a week after then end of the conference, JoshuaÂ Marinacci has finally recovered enough to brain-dump his impressions, in
JavaOne Exhaustion (with links!)
"So another JavaOne has come to an end. This time I think I finally tried to simply do too much. I'm lucky I didn't get the Moscone flu. Still, all in all, I think we had a good showing."
One often unanticipated vector for security attacks on web applications is the possibility that a user could hack the GET or POST request to send unanticipated or invalid data to the application. In our Feature Article , Eric Spiegelberg introduces techniques for
Securing Your Web Application Requests . In the article, Eric shows how to use JSTL's URL encoding and a servlet filter to obfuscate or even encode parameters in each direction to thwart parameter-hacking.
In today's Forums ,
billp offers help for phoneME performance work in
Re: Using profiling tools on phoneME Advanced?
"Profiling pMEA using NetBeans requires some new native libs and some minor changes to NetBeans itself. We were hoping that these changes would get rolled into the 6.x official releases of NetBeans but unfortunately that didn't happen. However, I've put together a cookbook along with some zip files that should allow you to profile with NetBeans 6.0. See the twiki entry here ."
is trying to get Blu-Ray Java to act as a server, in
Any success on ServerSocket for PS/3?
"Wondering, has anyone succeeded in getting a plain java.net.ServerSocket up on the PS/3? I can create it fine, but it doesn't seem to be accepting, or responding to, the incoming request when I open from another machine a socket to the IP address obtained from PS/3's System settings -> System info section. Also, InetAddress.getLocalHost() on PS/3 just returns the loopback address. Firmware v2.35. Outgoing connection has been working..."
ankitmittal000 would like some porting guidance in
start phoneME on win mobile.
"I intend to port phoneMe feature software on Windows mobile. Initially i want to port CLDC and MIDP so that i can run some UI demo midlet. Can somebody help me in how to start the process of porting and what all needs to be done so that i can port CLDC and MIDP completely? Also i want to know that do i need to put some platform specific porting for native calls on windows mobile? But first please tell me detailed explanation about the make file which will be needed for porting CLDC and MIDP on win mobile."
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
JavaFX or Swing or something else? Yes.