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
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,
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,
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."
alanstangehas 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 java.net
News Headlines :
- Centric CRM 3.1 Preview 3
- Ravenous 0.1.23
- AlphaWorks Initial Release: ADIEU
- Echo2 2.0.beta4 - Web Framework
- EditiX 4.1 - XML Editor
- Parabuild 2.0 EAP Build 513 - Continuous Integration Server
Registered users can submit news items for the
href="http://today.java.net/today/news/">java.net News Page using our
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
Current and upcoming Java
- July 8-10, 2005 New York Software Symposium 2005
- July 15-17, 2005 Central Iowa Software Symposium 2005
- July 19-20, 2005 Pragmatic Studio
- July 27-31, 2005 ADHOC 2005
- July 29-31, 2005 Desert Southwest Software Symposium 2005
- August 12-14, 2005 Lone Star Software Symposium 2005: Austin Edition
- August 19-20, 2005 Salt Lake Software Symposium 2005
- August 23-24, 2005 Pragmatic Studio
- August 26-28, 2005 Southern Ohio Software Symposium
- August 29-September 1, 2005 Enterprise Java Architecture Workshop: Munich
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 href="http://today.java.net/today/archive/">java.net Archive.
Exploring J2ME's game API