Skip to main content

Out On The Weekend

Posted by editor on April 16, 2008 at 7:21 AM PDT

Getting Java ME running on the iPhone

Some people use the weekend for lounging around the house, watching sports on TV, or at most, doing chores like mowing the lawn.

Others are a little more productive. Hinkmond Wong reports that one of his colleagues spent the weekend on an important little project: getting Java ME running on the iPhone.

To show it off, Hinkmond has posted a blog apparently showing Java ME running on the iPhone SDK. Along with a screenshot of the iPhone emulator showing a Java ME version string and "Hello World" output, he writes, "Here's something I'm working on with Chris Plummer and Dean Long for JavaOne this year. Chris recently was able to build our Java ME CDC/Foundation Profile platform on Darwin OS x86 (hmmm... Darwin OS... I wonder what that means... ;-) ) last weekend. (I think he started on Friday afternoon and was ready with it on Saturday). Faster than you can say, "Java ME rules!""

Pretty impressive for a single weekend's work, wouldn't you say?

Also in Java Today,
the Substance project has released version 4.3 of the popular look-and-feel. New features include "decoration painters", "highlight painters", better layout of menus and menu items, autoscrolling, initial support for very large fonts, tab close button usability improvements, and more. Kirill Grouchnikov has further details and screenshots in his blog.

Eduardo Pelegri-Llopart has posted an Overview of GlassFish Unconference and CommunityOne on The Aquarium. "I've updated the
GlassFish Event Page
with the latest information on the 2008 GlassFish Unconference and CommunityOne.
I have linked to 18 sessions related to
covering AppServer, MQ, Portal, Social Software, ESB, FAM, Scripting, Persistence and Web Tier.
Some of the sessions are in the GF "track", others are listed elsewhere.
This means you can't be in all the sessions you likely want to attend, so bring a friend and
compare notes.
CommunityOne is free but space is limited.
Register Now
to save your place."

In today's Weblogs, Sahoo announces
GlassFish V3 on OSGi - Part I.
"We have put back initial code that enables GlassFish V3 to run on an *OSGi* R4 platform. This is in addition to it being able to run on its own runtime, i.e., HK2. Since I have been involved in this effort from the very beginning, I will be blogging about it in days to come. Today is just the start."

In Benchmarks and surprises, Fabrizio Giudici writes,
"I'm posting some results from my latest benchmarks on the Metadata facility of blueMarine - take them with half a pinch of salt, since I've checked them but not double-checked, sorry but I have just a little time in these days. They gave some little surprise to me."

Finally, in a catch-up blog, Terrence Barr says
Dalibor Topic, welcome to Sun!
"Back from a 4 week hiatus (vacation, traveling, and various bouts of flu and colds) it's time to crank up the blogging again ... starting with a great bit of news: We're excited to announce that Dalibor Topic is joining Sun..."

In today's Forums,
Scene Graph user billg wants some guidance on the difference between
fx package vs sg
This maybe a dumb question but I am going to ask it anyway. What is the reason for the fx package? From what I can tell they are all wrappers of their corresponding SG counterpart, with the added functionality that they get from extending the FXNode (which wraps in some transform and clipping functionality) The rule of thumb I have been using when deciding which class to use, has been if I can benefit from the functionality that FXNode provides. If I can then I use the fx class if not then I use the SG class. Does anyone else have any more insight into this? I would like to make sure that I am using the right classes to best take advantage of future functionality added to Scene Graph.

sqrt3 is looking for JXTA design guidance in
need help on developing online card game, p2p style.
"Assume 4 peers (named A, B, C and D) know each other IPs. First, A create a table, let B,C,D know the table, waiting for them to join. Second, B learns the table A created, sends a message to A to join the table. Third, C and D will join. The card game require 4 players. My question is where can I find protocol on table creation like this? how to keep alive? (When A is dead and (D has not joined), how B and C realize it and remove A from table?"

Finally, murali_reddy219 wonders
How to add security plugin in ME Framework 1.2 for CDC mode?
"In present ME Framework 1.2, there is no security plugin for CDC implementation mode. How can we add that security plugin? Actually i want sign TCK Tests with particular certificate. Any plans of iadding security plugin in CDC mode?"

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.

Getting Java ME running on the iPhone


The iPhone JavaME implementation is interesting and all, but what about the reality that the iPhone SDK agreement deters the development of VM's or interpreted type code. "3.3.2 An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple's Published APIs and built- in interpreter(s). " Has Sun spoke with Apple to work through this issue? I would like MIDlet support on the iphone or touch device, but it would seem that Apple does not.