Skip to main content

Game Over

Posted by editor on July 7, 2005 at 6:03 AM PDT

Exploring J2ME's game API

Mobile device games may seem simple, but they're anything but trifling. Mobile gaming was estimated to be about a $US 3 billion market in 2004, on track to reach $US 18.5 billion by 2009. And Java is a huge part of that market, with J2ME increasingly ubiquitous on phones and well supported by game makers. The games are getting increasingly sophisticated too. Early efforts were largely inspired by puzzles and 70's and 80's arcade games, but more and more developers are trying to adapt the style of today's 3D games into the 2D sprite world of the phone. Some are even trying new ideas unique to the format: a mobile prequel to the classic PlayStation game "Final Fantasy VII" runs on Japanese i-mode handsets, and requires players to use the phone's camera to take pictures of certain colored objects to advance in the game.

If you've wanted to get into game development, now may be the time, and J2ME the place to do it.

You can learn more in today's Featured Article,
J2ME Tutorial, Part 3: Exploring the Game API of MIDP 2.0, which introduces the gaming-oriented features added to MIDP 2.0. In this installment of the ongoing J2ME tutorial, Vikram Goyal shows off the classes of this API and uses them to develop a simple game, which you can code, compile, and play on your own device.

Catching up with an item you may have missed when our special JavaOne page was up, Ken Arnold weighs in with Generics Considered Harmful:
"'Complexity budgets' are important. Too bad we didn't think that way earlier. The complexity of Java has been turbocharged to what seems to me relatively small benefit. I don't see that the value is there to justify the cost."

Also in today's Weblogs, Jonathan Bruce investigates what happens when
XQuery meets Tivo:
"JavaOne 2005 saw much chatter around XML bindings slatted for Dolphin, alignment around JBI but it also saw important presentations given on XQuery and what it means for today's Java developer. One of the more interesting sources of XML data is located underneath right under your TV. Your TIVO DVR is rich with XML data that are used to maintain the currently playing recorded programs and to manage a variety of content."

John Reynolds writes "It's likely that all Java EE app servers will soon be free." In Java EE app servers: Why pay for support?, he writes: "When all app servers are free, many companies will turn to selling ongoing support contracts, but will anyone pay for support?"

In Also in
Java Today
months after the landmark agreement between Sun and Microsoft, there are still kinks yet to be worked out in integrating the companies' products. In Interoperability Frustrations Aired, InfoWorld's Paul Krill writes: "Interoperability between Java and Microsoft .Net systems remains very much a work in progress, if discussions at JavaOne were any indication. During an evening conference session entitled 'On the Couch with Sun and Microsoft,' officials from the two vendors went toe to toe with audience members frustrated over interoperability and with Web services in general.

Jim Farley, co-author of Java Enterprise in a Nutshell, 3rd Edition,
notes that "the foundations of the Java ecosystem (the code, specs, tools,
and so on) exist across a broad spectrum, running from formal, universal
standards to informal, localized tools." Recognizing this continuum, he
and his co-authors decided to push out their view of Java enterprise APIs,
and as he explains in Java City: The Java Enterprise Ecosystem, this led
them to cover de facto standards in the new edition, like Ant, Hibernate,
and JUnit.

In Projects and

Gregg Sporar's blog entry NetBeans Day 2005: A Huge Success recaps the highlights of the NetBeans Community's pre-JavaOne event. 550 attendees enjoyed technical presentations that included a preview of the Matisse-based MP3 player demo that James Gosling showed off later at JavaOne.

Sean Mullan's weblog notes the JSR 105 (XML Digital Signature API) Final Release. As described at the JCP site, a reference implementation is available as part of Java Web Services Developer Pack 1.6, with TCK and source for the RI available under the JDL.

In today's Forums,
user subanark wants to
Install on demand:
"I see many concerns of adding more and more classes into the JDK (thus increasing its size). At the same time each distributor shouldn't need to have their own copy of feature X if it is important. What is needed is a install on demand so that components that are shared by different applications are only installed once. Although web start has functionality like this, it is not used very much. This functionality should be available for non web start applications, and new components should be added to thier own library instead of including them in the JDK."

alanstange has a question on Dtrace and mustang:
"Hello, can someone post a simple example of using Dtrace and Mustang (with build 39 or later)? I'm trying to get this to work using the provider syntax from some Javaone 05 notes and I'm missing something. Is there some command line options which enables the Dtrace providers?"

In today's
News Headlines

Registered users can submit news items for the href=""> News Page using our
news submission
. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href=""> News RSS

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.

Exploring J2ME's game API