Skip to main content

Simply Irresistable

Posted by editor on December 1, 2006 at 11:44 AM PST


Java ME's so appealing, even Microsoft uses it

One item that made the rounds of O'Reilly'e editors list yesterday was Kevin C. Tofel's blog entry Windows Live Search for Mobile: the U.S. on your phone, which pointed out the breathtaking irony of Microsoft bringing their search product to mobile phones by way of Java ME. Kevin raves it's "as if Microsoft put their Virtual Earth on your phone." Yes, that Microsoft, the one that tried to embrace-and-extend Java to death with an incompatible fork, the one that plagiarized Java and the JVM as C# and the CLR. If imitation is the sincerest form of flattery, then what is wholesale adoption?

Looks to me like they're admitting that Java ME is a great way to deliver applciations to mobile handsets.

That said, when talk on the list turned to the idea that Microsoft's use of Java ME might further legitimize the platform, I pointed out that Google was doing at least as much and probably more in that department, with the ME-based Google Maps for Mobile and more recently GMail for Mobile. I also groused about my phone's seeming inability to use any of these apps, presumably due to carrier restrictions on network access by applications. As reader sfitzjava commented on my earlier blog on this topic, "US providers are killing J2ME, and Sun needs to take a big club and beat the living, crud out of these jerks for crippling/chocking-off the J2ME technology."

However, O'Reilly's Brian Jepson encouraged me to try again, saying I should start by downloading Opera Mini. So, I did, figuring it wouldn't get to a start page or even its own terms of service. But after OK'ing a dialog about network use (that I swear I've always OK'ed in the past), I found I could browse just about anywhere. In fact, I could hit real web pages, and not just WAP-minimized cheese, as you can see from the familiar page below (as captured by my iSight):

opera-mini-javanet.jpg

Given this, I went back to the GMail application and, amazingly, it seemed like it was actually working. And Google Maps too, allowing the typical first-time-user ego trip of satellite viewing one's own house... but this time on the phone.


So, with Java ME on the brain, he latest java.net Poll asks "How often do you use Java ME apps on your mobile phone?" Cast your vote on the front page, then check the results page to see the latest tallies and discussion.


Also in Java Today,

TheServerSide has a particularly active conversation going on about Resource based GUIs vs. Code Generation in Java: "Almost every platform has a visual designer that serializes the GUI to resources (some XML, some proprietary binaries) and then attaches it to the controller at runtime. Apple has had this for years with Interface Builder, Vista has a similar philosophy now as well." After listing the benefits of resource-based GUI's, the article asks the question "With all that being said, why is it that code generators are still so prevalent in Java?"

java.net blogger John O'Conner switched to Mac OS X a few months ago and blogs about the current state of Java SE 6 on Mac OS X: "All that confidence is starting to wane just a little now though. I'm not giving up hope really, just getting nervous. The latest build # from Sun is 104...from Apple, it's 88. I keep checking to see if anything new gets posted. Nothing. Not even a note or explanation. I don't want to complain, and I'm not really... just describing my experience at this point."


Bruno F. Souza announces he's Moving to NetBeans in today's Weblogs. "No, I'm not changing IDEs, I'm already a NetBeans user. But after 6 years, I'm coming back to work for Sun Microsystems, and have just joined the NetBeans Team. I'm starting at NetBeans, as the World Wide NetBeans Community Manager. I wonder what that means..."

Fabrizio Giudici reports a
Successful landing on the Sun Grid:
"Unfortunately in these days I'm pretty busy and I don't have the time for extensively blogging - but I'm happy to say that Mistral, the imaging engine designed for extreme scalability from the multi-core up to the Grid, has been run successfully for the first time on the Sun Grid."

Finally, in
Group Layout Therapy, Evan Summers writes:
"We use GroupLayout to program an input form, where we use trivial subpanels only, and assemble these trivially. For anything non-trivial, you'll want to use Matisse to have fun, enjoy continued job satisfaction, and preserve your sanity, without needing any Group Layout Therapy."


In today's Forums,
chris_delahunt explains a GlassFish puzzler in
Re: Lazy/eager fetch question.
"You need to put the agent on your client. The agent is described somewhat in Cay Horstmann's Blog. In this case, the problem is that the classes deployed in glassfish have been weaved but the ones on your client side have not. Using the agent on the client side will cause the classes to be weaved as well so that they match."

navinkjha has some concerns with
acquiring writeLock after readLock:
"I recently ran into a issue where a method call acquired readLock and then it had to acquire a writeLock. I followed the documented way, which is call unlock() on read lock and then acquire write lock. Now if a thread made a call to another method where it acquired read lock and then called the above method it still works. Now this suggests you can aquire write lock after acquiring read lock as long as it is a different method. Is this a wrong assessment?"

mario_cesar wants some guidance for
Instaling SwingX:
"I found a plugin for Eclipse (in this forum) to add the SwingX classes to the Eclipse palette and I found a way to add the SwingX classes to the NetBeans palette to. But... I didn't found "where" I have to put the swingx.jar to share it. I just found that I have to put the swingx.jar on the /dist/ folder of each project on NetBeans manually. Well... What I want to ask is... Is there a way to put the swingx.jar in anyplace (in some Eclipse folder, NetBeans folder, Java folder or so) that, when I use some SwingX class in some project, the IDE (Eclipse or NetBeans) add that jar automatically to the project folder?"


In today's java.net
News Headlines
:

Registered users can submit news items for the href="http://today.java.net/today/news/">java.net News Page using our
news submission
form
. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News RSS
feed.


Current and upcoming Java
Events
:

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


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 java.net it will be
archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.

Java ME's so appealing, even Microsoft uses it