Posted by editor
on February 13, 2009 at 11:53 AM PST
Waiting for Linux or EE to get usable? Stop. Also:
Weblogs: Linux and EE aren't as hard as you think, JavaFX Mobile released, and GlassFish for load balancing
Java Today: Minor Mac Java updates, MigLayout comes to JavaFX, and Enterprise Java crossword
java.net Poll: Do you agree with the vote to approve JSR 299 despite lingering concerns?
Forum Posts: Debugging MIDlets on ARM, coding to a specific device on LWUIT, figuring out GlassFish error messages, and JDK 6u14 beta 1 available
Waiting for Linux or EE to get usable? Stop.
Bad impressions are hard to shake. Every Java developer knows this, as the slightest mention of Java in public forums brings ignorant taunts about how slow Java was when some troll ran a Swing app on his 200 HMz Pentium back in the mid 90's.
Similarly, it's common wisdom that installing Linux is rife with danger, well beyond the skills of a typical human being, and only with at least kernel recompile do you have any chance of getting a bootable partition. Right?
Um, maybe not. In a development Cay Horstmann says is Long in coming... , his Linux installs have actually gotten boring:
I got a shiny new Thinkpad T500 for under $1,000, blew away Vista Homeless Edition, and installed Ubuntu Jaunty Alpha 4. I expected the usual fussing with wireless networks, display adapters, and futile fights to activate exotic peripherals. I was totally disappointed. Everything, and I mean everything, down to the webcam, worked after a 30 minute install with one reboot and no fussing. With an alpha release.
If this is the new reality, at least from Cay's point of view, then what other prejudices deserve a reconsideration? Well, maybe the idea that EE is a hopelessly baroque exercise in architecture astronomy:
My point is that some technologies undergo a relentless process of continuous improvement that ultimately pays off, and it is easy to be deceived by all the naysayers who were disappointed by a prior version. As we say in German: â€œWas lange wÃ¤hrt, wird endlich gut.â€ (Long in coming, but worth it in the end.)
In the Java space, I see that with Java EE. In the beginning, it had a noble goalâ€”to deal with hard problems of clustering and failover. But the price of entry was very high. EE 5 did a good job learning from the competition, and significantly lowered the price of entry. Now JSF 2 and other EE 6 features do this again, and there is ample room for an EE 7 that turns the crank one more time.
It takes a while, but sometimes things do get dramatically better. But better enough to shake hardened opinions and conventional wisdom? That's a tougher nut to crack...
Also in today's Weblogs , Terrence Barr touts the mobile features of yesterday's JavaFX 1.1 in
JavaFX Mobile 1.0 released! . "JavaFX has gone from a vision at JavaOne 2008 to a reality. JavaFX Desktop/Web is rapidly evolving and getting traction while JavaFX Mobile is following closely on its heels - coming to mainstream devices in 2009."
TOTD #69: GlassFish High Availability/Clustering using Sun Web Server + Load Balancer Plugin on Windows Vista , tip-master Arun Gupta writes,
"Even though Apache is a standard and supported configuration, there are several advantages for replacing Apache httpd with Sun Web Server and mod_jk with Load Balancer plugin that comes with GlassFish."
In Java Today ,
Apple has released a pair of Java updates, Java for Mac OS X 10.5 Update 3 and Java for Mac OS X 10.4, Release 8 . Both are described simply as "updat[ing] the Java Web Start and Java Applet components to address security and compatibility issues." Both support all Intel- and PPC-based Macs, and require that the previous Java update already be installed. The updates are also available via Software Update .
Dean Iverson writes, "as much as I love the power of binding in JavaFX, it is tedious to have to bind the locations and sizes of Nodes every time you create an interface. MigLayout has long been my favorite layout manager for Java, so I volunteered to take on the task of porting it to JavaFX. It turns out that MigLayout and JavaFX are an extremely powerful combination." In the article MigLayout Comes To JavaFX , Dean shows off the basics of MigLayout, along with features unique to the JavaFX version.
Over the years, the SDN's Enterprise Java Technologies Tech Tips have covered a wide variety of enterprise Java technology topics. Have you kept up? A new Enterprise Tech Tips Crossword tests your knowledge of some topics covered in recent Tech Tips. Each clue lists a tip that contains the answer.
Apropos of Wednesday's discussion of JSR 299 (née Web Beans), the latest java.net Poll asks "Do you agree with the vote to approve JSR 299 despite lingering concerns?" Cast your vote on the front page, then visit the poll results for current tallies and discussion.
In today's Forums ,
ticachen is working through architecture-specific challenges in
debug midlets in arm built . "When I try to debug a midlet in a arm built phoneme, the debuggerï¼ˆeclipse, debug remote java applicationï¼‰ can connect to the running midlet, but once it connected, the midlet just runing and would not stop, the breakpoints does not works. I also tried to debug midlets in a i386 build, and it works well. With the same steps, and the same midlet. Anybody have any ideas?"
Jeff Gerald wonders how to
Code for specific device in LWUIT. "I would like certain action to be done done upon clicking for fire key. But certain devices do not have the fire key at all. How do I code for this situation? The questions I have are 1. Is there anyway to code for a specific device in LWUIT? 2. If there is any Preprocessing capability that can be used to remove the code not relevant to the device at build time? 3. Has anyone tried using j2me polish's device and build framework with LWUIT?"
vercinetorix can't figure out what's wrong while
Running a webservice on glassfish . "I'm trying to run a hello world style web service on Glassfish. I've completed various steps which I don't entirely understand, and the service has been deployed (I've run the test and it works). I've created a registry, however when I try to publish the web service I get the following error: "Failed to publish Web Service server_Webservice#Webservice to registries." The error isn't very descriptive and I'm looking for some suggestions on whats wrong and how to debug this."
rogyeu echoes the announcement that
6u14-b01 is available . "The early access build for Java SE 6 Update 14 build 01 is now available. Grab it if you haven't already. Major features in this release includes: - Service Tag creation for Windows JRE. - Java HotSpot 14 For more info, please see https://jdk6.dev.java.net/6uNea.html ."
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
Waiting for Linux or EE to get usable? Stop.