The Wayback Machine - https://web.archive.org/web/20080828111808/http://www.javalobby.org/nl/archive/jlnews_20071113o.html
Javalobby logo image
Tuesday, November 13, 2007  

Make Applications More Valuable with Caché

Intersystems IntersystemsBreakthrough database technology combines objects and robust SQL, eliminating object-relational mapping. Built-in RAD environment brings your innovations to market faster.

Download InterSystems Caché® for free now.

 Perspective


Be sure and
check out a
No Fluff Just Stuff
Java conference
coming your way!

11/16-11/18 Chicago
2/08-2/10 San Jose 2/29-3/02 Milwaukee
3/07-3/09 St. Louis
3/14-3/16 Minneapolis
3/28-3/30 Omaha
4/04-4/06 Boston
4/11-4/13 San Diego
4/11-4/13 Portland
4/18-4/20 Jersey City



Interfacing OpenLaszlo Applications to Web Services

Click to download this free article from Manning's "Laszlo in Action"

Also save 25% when you purchase the EARLY ACCESS version of "Laszlo in Action" at Manning.com

Enter code JLLZ at Checkout

 
 A Developer's Perspective
 Next section
Rick Ross is the founder of Javalobby. He is a frequent speaker at Java-related events and a well-known advocate for Java developer interests..

Rick Ross, JavaLobby Founder Google Android: Initial Impressions and Criticism
By Jilles van Gurp

Yesterday, Google released the SDK for Android, their new mobile software platform. Since I work for Nokia, I'm naturally interested in new software platforms for mobile phones. Additionally, since I'm a Java developer, I'm particularly interested in this one. I should at this point mention that these are just my personal views and impressions and that I am not representing Nokia.

I spent half an hour glancing through the API documentation and watched the youtube videos, just to see what is there. This of course does not provide me with enough information for a really detailed review, but it does allow me to extract some highlights that, in my view, will matter enormously for platform adoption:

  • The SDK is Java based. No surprise since they announced it but it is nice to see that this doesn't mean they are doing J2ME but instead use Java as the core implementation platform for all applications on the platform.
  • The Linux kernel and native libraries are just there to run applications on top of Google's custom JVM Dalvik which is optimized for running on embedded hardware.
  • Google has chosen to not implement full Java, any of the ME variants, or support for the many JSRs (mobile and others). This in my view very bad, unnecessary and will be a barrier to developer adoption.
  • Instead a small subset of the Java API is implemented. Probably the closest is the J2ME CDC profile. So why not go all the way and save us developers a few headaches?
  • Additionally Google has bundled a few external libraries (httpclient, junit and a few others). That's nice since they are quite good libraries. I'm especially fond of httpclient, which I miss very much when doing J2ME CLDC development.
  • The bulk of the library concerns android.* packages that control everything from Telephony APIs, power management, SMS to the user interface. Admittedly, some of these things require a custom approach since there is no existing Java APIs or code out there for them.
  • I did not spot any OSGi implementation in the package; Google seems to intent to reinvent components and package management. This is disappointing since it is very popular across the Java spectrum, including J2ME where it is already shipping in some products (e.g. Nokia E90, which supports both OSGi and eRCP).
  • It seems Google is relying on various XML descriptors to define UI and manifest files. This is a bit odd considering their Guice platform which is trying to undo similar madness for server development.
  • There is no mention of any native applications or the ability to write and install native applications
  • The browser seems to be Webkit, the same engine that powers the Apple iPhone browser and the S60 Browser. This is nice but it raises some question marks about mobile Firefox (Google is a major sponsor of Mozilla). Anyway, webkit is an excellent choice.

In my opinion this is all a bit disappointing. Not aligning with an existing profile of Java is a design choice that is regrettable. It makes Android incompatible with everything else out there, which is unnecessary in my view. Additionally, Android seems to duplicate a lot of existing functionality from full Java, J2ME and various open source projects. For example android sports an inter process communication mechanism that is not based on Corba, OSGI, DBUS, RMI, Soap, or any other mechanism that could have filled the gap. I'm sure that in each of these cases there is some valid reason for doing an android specific solution. However, the net result seems reinvention of a lot of wheels. Overall, I doubt that Android APIs are significantly faster, more flexible, usable, etc. than what is already out there.

On the other hand, the platform seems to be open, so not all is lost. Google is planning to release the SDK under Apache 2.0 license. The current SDK however is not under that license yet. This openness comes however with a few strings attached. Basically, it relies on Java's security system. You know, the same mechanism that is used by operators and phone vendors to completely lock down J2ME to restrict access to interesting features (e.g. sending SMS, accessing file system, making phone calls, installing applications). I'm not saying that Google will do this but they certainly enable operators and phone vendors to do this for them and are providing all the necessary hooks to make it really easy. This is not surprising since in the current market, operators insist on this, especially in the US. The likely result will be that Android application developers will have to deal with locked down phones just like J2ME developers have to deal with that today.

The choice for the Apache 2.0 license is a very wise since it is a very liberal license that will make it easy for telecom companies to integrate it with their existing products. Provided that the Android APIs are reasonably well designed, it may be possible to port some or all of it to other platforms. The Apache license ensures that doing so minimizes risk for underlying proprietary platforms.

Additionally, the license also allows for some interesting other things to happen. For example, there's the Apache Harmony project that is still working on a full implementation of Java. Reusing this work might of course also make much of android.* redundant. Additionally, there is a lot of interesting mobile Java code under eclipse's EPL, which is similar to the Apache license. This includes eRCP, an embedded version of the eclipse application framework. Eclipse also provides a popular OSGi implementation called equinox. Again, lack of OSGi is a missed opportunity and I don't care what they put in its place.

Frankly, I don't understand why Google intends to ignore the vast amount of existing implementation out there. It seems like a bad case of "not invented here" to me. Ultimately, this will slow adoption. There are already too many Java platforms for the mobile world and this is yet another one. The opportunity was to align with mainstream Java, as Sun is planning to do over the next few years. Instead Google has chosen to reinvent the wheel. We'll just have to see how good a job they did. Luckily, the Apache license will allow people to rip this thing apart and do something more productive with it. OpenMoko + some apache licensed Java code might be nice. Also our Nokia Maemo platform can probably benefit from some components. Especially the lower level stuff they've done with the VM and kernel might be interesting.

Until next time,
Jilles van Gurp
http://www.jillesvangurp.com

 
 DZ Top Links
 
 DZone Top Links
 Next section
 Back to top
most clicked this week from dzone.com

dzone

Most-clicked links this week

 
 Popular at JL
 
 Popular at Javalobby
 Next section
 Back to top
A recap of some of the most popular and active Javalobby.org discussions this week.
Eclipse RCP "clearly superior" to NetBeans?? May I disagree?

On the latest issue of eWeek, Mike Milinkovic, director of Eclipse Foundation, says that "Eclipse Platform is CLEARLY superior to NetBeans". May I disagree? And what about the rationale?

Full Discussion Posted By: Fabrizio Giudici - (62 Replies)

Why is the source code of web applications So Ugly?

Servlets with HTML, Java-HTML mixed, expression languages, custom tags, XML navigation and meta-programming.... AJAX is here to complicate all. Why is the web application development so strange?

Full Discussion Posted By: Jose María Arranz Santamaría - (48 Replies)

Red Hat Joins the OpenJDK

Newsflash: "Red Hat and Sun Collaborate to Advance Open Source Java Technology!" What does this mean? And who should be next?

Full Discussion Posted By: Geertjan - (42 Replies)

Web frameworks peaking toward obsolescence

The RIA model is a simpler approach for building web applications relative to the server-side frameworks that have been so pervasive. What was complex becomes simpler, lighter weight - more natural.

Full Discussion Posted By: Roger Voss - (39 Replies)

Is Android good for Java?

What does the Android platform mean to the future of Java on mobile devices? Is it the breakthru for Java based rich clients?

Full Discussion Posted By: Olaf Geibig - (26 Replies)

 White Papers & Announcements
 
 Whitepapers
 Next section
 Back to top
Enterprise Ajax - Transcend the Hype

Ajax is all the rage these days. The pioneers of Ajax have taken tremendous strides toward proving Ajax techniques that can deliver true benefits to web application users through a richer interaction model than standard web applications can provide. It seems that Ajax will be ubiquitous on the Web in no time flat. This paper examines various levels of Ajax development that the enterprise developer might entertain, and explores some of the pitfalls that will be encountered along the way. It goes on to describe key concepts around server-side Ajax solutions, and shows how the ICEfaces technology can easily be used to deliver rich enterprise applications in Java.

Download Full White Paper Posted by: Icesoft

 Product Announcements
 Next section
 Back to top
Product and service announcements for Java developers.
Fanurio time tracking for freelancers v1.8 released

Atelier Software has released Fanurio, a Windows and Mac OS X time tracking and billing application designed for freelancers. With Fanurio you can easily organize your work, track time and create invo

Full Announcement & Discussion Posted By: Cosmina Stefanache - (0 Replies)

JProfiler 5.1 by ej-technologies

JProfiler is an all-in-one Java profiler JProfiler 5.1 includes reworked reference views, a new source viewer and many usability improvements.

Full Announcement & Discussion Posted By: Ingo Kegel - (0 Replies)

KonaKart integration module for OpenCms

The purpose of this module is to demonstrate how the eCommerce / shopping cart functionality of KonaKart can be integrated into an OpenCms application.

Full Announcement & Discussion Posted By: Paolo Sidoli - (0 Replies)

A03 Look And Feel 3.0 has been released

A03 Look And Feel 3.0 has been released. It includes a new FileChooser, a new ColorChooser with Color Picker capability, new configuration parameters and a new optimized Fade Effect.

Full Announcement & Discussion Posted By: Davide Raccagni - (0 Replies)

dotCMS 1.5.1 released – Open Source CMS, Web CRM and eCommerce

Dotmarketing released dotCMS 1.5.1 (http://www.dotcms.org) today which provides over a 150 fixes and improvements to a feature rich, open-source J2EE enterprise class web content management system.

Full Announcement & Discussion Posted By: Will Ezell - (0 Replies)

Salesforce.com Users Meet Open Source Data Mashups from Apatar

Salesforce.com customers can complete integration projects in just days using Apatar's "no coding" open source approach to integration

Full Announcement & Discussion Posted By: Alex - (0 Replies)

Date for next UK/London JBoss User Group announced

JBoss Development and training house Business Systems Group Ltd. (BSG) announced the date for the next meeting of UK/London JBoss

Full Announcement & Discussion Posted By: Radim Marek - (1 Replies)

ztemplates 0.9.8 pojo webframework

Released version 0.9.8 of ztemplates * a small modular pojo framework for webapps * full url format control * not visible to the web-client * statefree * compatible: JSP, Apache Velocity, AJAX..

Full Announcement & Discussion Posted By: Gerd Ziegler - (1 Replies)

froglogic Joins Eclipse Foundation

Hamburg, 12 November 2007 - froglogic GmbH, the makers of the automated Java GUI testing tool Squish, today announced that it has joined the Eclipse Foundation.

Full Announcement & Discussion Posted By: Reginald Stadlbauer - (0 Replies)

Enterprise Sign On Engine - Beta 2

We am extremely pleased to announce the Beta 2 release of the Enterprise Sign On Engine, which brings several enhancements and bug fixes over the Beta 1 release.

Full Announcement & Discussion Posted By: Bradley Beddoes - (2 Replies)

Lobo Browser 0.97.3

Lobo is an open source web browser that is written entirely in Java. It is being developed with the aim to support HTML 4, Javascript and CSS2.

Full Announcement & Discussion Posted By: The Lobo Project - (2 Replies)

Apache Wicket 1.3: first release candidate

Apache Wicket releases the first release candidate for the 1.3 version. Wicket is an open source component oriented web application framework.

Full Announcement & Discussion Posted By: Martijn Dashorst - (1 Replies)

WinRun4J V0.1.0 released

NT Service support. DDE (for file assocations) support. Improved classpath handling. Console version.

Full Announcement & Discussion Posted By: Peter Smith - (2 Replies)

EZMorph 1.0.4 Released

EZMorph is simple java library for transforming an Object to another Object. This release adds 3 new morphers, assertions on Lists and fixes an important bug when multiple morphers are registered.

Full Announcement & Discussion Posted By: Andres Almiray - (2 Replies)

SimpleCenter 4.2 Now Available

One application for all your digital media and devices! Clean your music library with Enhanced Music Descriptions. Purchase music with no DRM restrictions from the SimpleCenter Music Store

Full Announcement & Discussion Posted By: Ajay Kanagala - (1 Replies)

SwingRCP 1.0 for Eclipse

SwingRCP is a platform for developing Swing based applicatins to run on the Eclipse Rich Client Platform.

Full Announcement & Discussion Posted By: Charles Tai - (2 Replies)

POJO (Wire Mining) Application Server - Release Version 1.0

Its certainly unusual, like nothing else out there, this newbie may even be the most powerful application server on earth.

Full Announcement & Discussion Posted By: POJO NUT - (1 Replies)

Query Analyzer in Caché Monitor 0.36 fixed

Query Analyzer in Caché Monitor 0.36 fixed: Release 0.36 fix a bug with JDBC Driver for Caché Version 2007.1

Full Announcement & Discussion Posted By: Andreas Schneider - (0 Replies)

ItsNat, Natural AJAX, released

ItsNat is an innovative open source (GNU AGPL v3) Java AJAX Component Web Framework. It offers a Natural Approach: simulates a Universal W3C Java Browser in the server, view=HTML!,logic=Java W3C DOM!

Full Announcement & Discussion Posted By: Jose María Arranz Santamaría - (2 Replies)

Scriptella ETL 1.0 BETA - Open Source Extract-Transform-Load Tool

Scriptella project team announced the availability of Scriptella ETL 1.0 BETA. This release introduced support for external ETL files and other notable features and bug fixes.

Full Announcement & Discussion Posted By: Fyodor Kupolov - (1 Replies)

 Your Account
 
 Your Account
 Next section
 Back to top
Manage your account info for this and other Javalobby publications.
Manage your Javalobby membership details

Click on the following links to:


 Contact Info
 Next section
 Back to top
Here's how to reach us, we love to hear from you.
Email us
Send news items to editor@javalobby.org
Send questions, complaints, or suggestions to feedback@javalobby.org
Send advertising inquiries to advertise@javalobby.org
 
Call us
Our number is (919) 678-0300. We'd love to hear from you!

 Legal
 Back to top
The fine print we'd rather avoid completely.
Feel free to redistribute this newsletter in part or in full to your friends.

Javalobby News is a service mark of DZone, Inc.
Copyright ©2001-2007 DZone, Inc.

Thank you for your continued support of Javalobby. If you prefer not to receive the Javalobby weekly newsletter, send an e-mail to unsubscribe-jlnews@javalobby.org and please ensure the actual email address to be removed is present.
Javalobby.org, 113 Legault Drive, Cary NC 27513 USA