Skip to main content

Targetting small devices

Posted by daniel on September 15, 2004 at 6:51 AM PDT

Developing for mobile devices.

When prospective authors ask in what areas we are looking for
content, mobile is always on the list we send them (although we
usually ask back "what do you want to write about"). Thomas
Kuenneth has started a three part series on href="">
Going mobile with Duke. He introduces the J2ME Wireless
Toolkit, and shows how to develop and deploy a small sample
application. First he provides a brief intro of J2ME.

In today's
Weblogs, N. Alex
Rupp reports that href="">Mark
Proctor added Drools DRL schema to CVS today!
He reports "Mark Proctor, the Drools project's most energetic
developer, has uploaded the long-awaited XSD files for the
many flavors of DRL syntax. This will allow new developers to
validate their DRL files and further reduce the overall
headache of learning DRL. A hundred thousand thanks to Mark Proctor!"

Bob Lee asks href="">Where's AOP? His
view is that "Many developers have an itch they aren't entirely
aware of. Repeated boilerplate code causes it. AOP can scratch
it. I survived without OOP for a long time, but now that I'm
aware of it, and I understand it, I have no desire to go back. The
same happened with AOP to a lesser degree. Whether others choose
AOP or some other road, I'm confident the itch will get
scratched. It's just a matter of time. Developers who understand
AOP will open others' eyes to how they can improve their code, and
they will in turn open even more developers' eyes. Pay it
forward. I've witnessed this effect in my own company as interest
in AOP slowly but surely snowballs."

Also in
Java Today
, in part two of Annotations in Tiger,
Brett McLaughlin explains href="">
annotations. Brett warns that the same overuse that
occurred initially with Javadocs where people would document
simplet getters and setters could happen with custom
annotations. He recommends that you "use the standard
annotation types often, and even heavily. Every Java 5
compiler will support them, and their behavior is
well-understood. However, as you get into custom annotations
and meta-annotations, it becomes harder to ensure that the
types you work so hard to create have any meaning outside of
your own development context. So be measured. Use annotations
when it makes sense to, but don't get ridiculous. However you
use it, an annotation facility is nice to have and can really
help out in your development process."

Fermin Castro is interested in what his cluster is up to,
specifically, what kind of resource and performance hit is
entailed as sessions are replicated across a J2EE cluster? He
notes, "once a cluster is up and running, it is usually difficult
to analyze its behavior. The reason for this is that application
servers use low-level APIs to implement their clusters and do not
expose any metrics about what's going on underneath the
application's code." In href="">
Session Replication in J2EE Clusters, he introduces a
replication latency testing tool to measure this overhead, and
provides strategies for analyzing the results and solving problems.

Projects and Communities
, the home page of the href="">JDDAC community
points to an article on href="">Embedded
Java Controllers featuring JStamp and JStik.

The href="">JavaDesktop
community project href="">Flying Saucer is
faster and now includes a web start browser and increased
compliance with CSS 2.1.

Matt_Meyer posts on the Dream Language in today's

. He writes "That is the coolest thing about
Java as a platform vs Java as a language. Java as a
language(please don't hurt me) is a little clunky and
redundant [..] Now it's time for Java as a platform. [..] If
you can live with the abstraction of the VM the Java platform
is pretty awesome. It's hackable, layered, relatively
portable, and it has a very large community of COOL
opensource hackers providing limitless innovative solutions."

Jonathan Simon writes "On this front, I just wanted to point
out - a very cool middle ground. You have a locally running
application with data stored remotely. You have all of the thick
client benefits without any of the nteraction issues. If we can
only get around installation!"

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

Current and upcoming
Java Events

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

Archives and Subscriptions: This blog is delivered
weekdays as the
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.