Best tools for
mobile application development
Tutorial Details:
Best tools for mobile application development
Best tools for mobile application development
By: By Michael Juntao Yuan
A comparative review of four J2ME IDEs
new technology's successful adoption often depends on its development tools. Good tools help new developers more easily get started and make experienced developers more productive. For instance, the success of Microsoft's programming environment is closely associated with the success of its Visual Studio tools.
The J2ME (Java 2 Platform, Micro Edition) technology is still relatively new. Strong development tools, especially IDEs, will greatly help J2ME's adoption among wireless application developers. In this article, I review four J2ME IDE products:
Borland JBuilder 7 Enterprise with MobileSet 3
Sun Microsystems' Sun ONE (Open Network Environment) Studio 4 Mobile Edition
Metrowerks CodeWarrior Wireless Studio 7
S5 Systems' jVise (based on IBM Eclipse technology)
Landscape of J2ME development tools
Different wireless devices have different limitations in terms of memory size, screen size, input methods, and computing speed. Also, vendors' J2ME implementations might contain vendor-specific add-on APIs that leverage special underlying hardware/OS features.
The diversified device market naturally results in diversified development tools. Each device vendor has its own SDK, device emulators, and performance analysis tools. Some SDKs even come with their own build project-management and source-code editing tools. One example is Sun's J2ME Wireless ToolKit (J2MEWTK). J2MEWTK contains a reference implementation of J2ME/MIDP (Mobile Information Device Profile) and has multiple device emulators that run on Unix/Linux and Windows platforms. J2MEWTK also has performance profile tools and real memory usage monitors. All those tools can be administrated from a central control panel called kToolBar. kToolBar can also build and package ready-to-deploy JAR/Jad programs from development directories. However, mastering all these tools and testing applications on all emulators can prove tedious.
A J2ME IDE eases development by integrating device vendor SDKs with other tools. Developers can then have a unified IDE interface for all supported SDKs. IDEs also improve developer productivity and the quality of deliverable applications.
Who should use an IDE?
I do not recommend IDEs to novice developers. Such developers must learn several different things at once: the Java language, J2ME APIs and packages, the IDE itself. An IDE's convenience features can easily obscure what's really happening under the hood. You might end up developing a set of skills tied to a specific IDE. IDEs can help, however, if you already know what you are doing. They can automate many tedious processes for an experienced developer.
J2ME IDE buyer's guide
I evaluated this article's J2ME IDEs according to the following aspects:
General productivity features: I evaluated those features beneficial to all Java development projects, not those specific to J2ME. Those features include editor, project-manager, debugger, architecture-designer, and documentation tools, plus tools for advanced programming techniques (refactoring, unit testing, and so on).
Third-party SDK integration: Support for multiple SDKs is a core feature for any J2ME IDE. But IDE vendors have difficulties tracking and integrating support for each individual SDK. The Unified Emulator Interface (UEI) specification standardizes the programming interface between SDKs and IDEs. UEI-compatible SDKs and IDEs are guaranteed to work with each other. In my evaluation, I discuss what SDKs the IDEs support out of the box, whether the IDEs support UEI, and how difficult it is to switch between SDKs in a project.
Post-compilation tools: J2ME applications are mobile applications that require a high level of security and performance. Code obfuscation can prevent people from reverse-engineering your class files and reduce code size. Special optimization techniques are available from IDE vendors and their partners. J2ME applications can also be post processed and optimized for deployment devices based on the resources available for specific device types. These post-processing, obfuscation, and optimization tools fall into this post-compilation category.
Over-the-air (OTA) deployment support: J2ME applications are often deployed over public wireless networks. J2ME OTA specifications standardize the process for discovering, downloading, authenticating, authorizing, verifying, and executing a mobile Java application. OTA specifications require properly formatted meta files on the server side and Java Application Manager (JAM) on the mobile device side. The server also requires special configurations to support OTA meta types. The OTA process can become quite complex with the upcoming release of MIDP 2.0. An IDE should help generate those meta files automatically. A good IDE should also integrate OTA-compliant JAM clients to test the deployment within the IDE.
End-to-end mobile application development: J2ME devices are not powerful enough to process or store large amounts of information by themselves; J2ME applications are often thick clients for some backend enterprise application servers. Thus, a first-rate IDE should allow developers to build entire end-to-end projects. That minimizes learning costs and project coordination efforts.
Documentation and tutorials: Java mobile application development is a sophisticated process involving many aspects of software engineering. IDEs provide tools to automate many tasks; however, due to the development process's intrinsic complexity, novice programmers often find it hard to use those features correctly. Tutorials and detailed case studies prove essential for an IDE's efficient adoption.
J2ME GUI (graphical user interface) builders: Some IDEs have RAD (rapid application development) tools that allow developers to construct mobile user interfaces visually. Those tools appeal to developers from the desktop world?those familiar with J2SE (Java 2 Platform, Standard Edition) RAD tools. However, use J2ME visual GUI builders with caution: because wireless devices differ in screen sizes, the same UI design might appear differently on various devices. For example, a Palm PDA can display four command buttons in a row. But a cell phone might ask you to choose from a list of four commands when you click a Menu button. So what you see on the GUI builder might not be what you eventually get on a particular device.
JBuilder 7 Enterprise with MobileSet 3
Borland JBuilder is a renowned Java IDE with three editions: Personal, Standard (SE), and Enterprise. All JBuilder editions can run on multiple platforms including Windows, Linux, Solaris, and Mac OS X. To support J2ME development on JBuilder, you must install an add-on module called MobileSet. Currently MobileSet only runs on Windows, but support for more platforms is planned.
JBuilder Personal is available free of charge from Borland's Website. JBuilder SE costs $399 (September 2002), and the Enterprise edition costs $2,999. You can download 30-day free trial licenses for both the Standard and Enterprise editions. Although free, the Personal edition offers little value. It lacks some basic productivity features. For example, you cannot even manage your source code through package hierarchies, which makes developing large projects with many classes difficult.
In contrast, JBuilder 7 Enterprise offers a rich set of tools that support Java application (especially J2EE (Java 2 Platform, Enterprise Edition) applications) design, development, testing, and deployment. It is bundled with Borland's own J2EE application server, Borland InterBase SQL database, and a trial edition of the company's Optimizeit Suite, a Java optimization tool. The shrink-wrapped software comes with three tutorial documentation books. Not only do those books provide JBuilder usage case studies, they also serve as good resources for learning general Java application development.
To develop J2ME applications on top of any JBuilder 7 edition, you must install MobileSet, a free download from Borland's Website. After running the installer, MobileSet adds new wizards, compile/runtime environments, and menu items to your existing JBuilder installation. The following review focuses on JBuilder 7 Enterprise.
General productivity features: JBuilder 7 Enterprise offers top-notch Java productivity features. It has a powerful editor, compiler, and debugger. More advanced features include multiple JVM and runtime support, UML (Unified Modeling Language) visualization tools, tools for designing application logic (for example, visual EJB (Enterprise JavaBean) designers), integrated unit-testing support, refactoring tools, and javadoc tools. For enterprise applications, JBuilder supports automatic generation of Web and enterprise archives (WAR/EAR) and deployment on all leading application servers. Using JBuilder, you can also easily integrate powerful third-party tools, such as CVS (Concurrent Versioning System) for source code management and Ant for custom builds, into your project.
Third-party SDK integration: The only J2ME platform JBuilder supports is MIDP. JBuilder MobileSet supports J2MEWTK, Nokia, Siemens, and Sprint PCS SDKs. But the MobileSet download itself only contains J2MEWTK to get you started; you must download other SDKs separately. Since JBuilder supports UEI, I expect it will support most future SDKs. The tool allows you to switch among multiple JVMs and runtime environments in a project, which simplifies multiple platform development.
Post-compilation tools: JBuilder MobileSet has built-in support for class file obfuscation through RetroGuard 1.1. The bundled Optimizeit Suite further optimizes application size and performance.
OTA deployment support: With JBuilder Enterprise, I could easily generate jar manifest files and jad files for my MIDP project. Projects can deploy onto a p
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Best tools for
mobile application development
View Tutorial: Best tools for
mobile application development
Related
Tutorials:
Program Java devices -- An
overview - JavaWorld July 1999
Program Java devices -- An
overview - JavaWorld July 1999 |
Solve real problems with aglets, a type of
mobile agent - JavaWorld May 1997
Solve real problems with aglets, a type of
mobile agent - JavaWorld May 1997 |
Program your Palm in Java, Part 1: The PalmOS
Emulator - JavaWorld November
1999
Program your Palm in Java, Part 1: The PalmOS
Emulator - JavaWorld November
1999 |
Program your Palm in Java, Part 1: The PalmOS
Emulator - JavaWorld November
1999
Program your Palm in Java, Part 1: The PalmOS
Emulator - JavaWorld November
1999 |
Product Review:
Kawa 4.0 -
JavaWorld June
2000
Product Review:
Kawa 4.0 -
JavaWorld June
2000 |
Build database-powered mobile applications on the
Java platform
Build database-powered mobile applications on the
Java platform |
Finalists announced for
JavaWorld
Editors' Choice Awards
Finalists announced for
JavaWorld
Editors' Choice Awards |
Sync up Palm OS with J2ME
Sync up Palm OS with J2ME |
Unleash mobile agents
using Jini
Unleash mobile agents
using Jini |
Rumble in the
jungle: J2EE versus .Net, Part
1
Rumble in the
jungle: J2EE versus .Net, Part
1 |
Best tools for
mobile application development
Best tools for
mobile application development |
Let the mobile
games begin, Part 2
Let the mobile
games begin, Part 2 |
Java tools reign
supreme - JavaWorld celebrates the
leading Java tools
Java tools reign
supreme - JavaWorld celebrates the
leading Java tools |
High-availability mobile applications
High-availability mobile applications |
Develop state-of-the-art mobile
games
Develop state-of-the-art mobile
games |
Sun Studio 10 Software Just Released
This world-class development environment is now extended to the AMD64 architecture and delivers reliable, scalable, and high-performance applications for the Solaris 10 Operating System. |
We are providing Downloadable Version of Mandrake 10.1 Power Pack Linux CD's.
We are providing Downloadable Version of Mandrake 10.1 Power Pack Linux CD's.
Mandrake 10.1 Power Pack Linux
Now Available Mandrake 10.1 Power Pack CD's
Power Pack is a Linux system that will appeal to all advanced users. It's great for Office |
What is WAP? Detailed discussion of WAP API with examples.
What is WAP? Detailed discussion of WAP API with examples.
Learn WAP in 60 minutes
W ireless Application Protocol or WAP for short, allows the developers to develop next generation web application for cellular devices. Through WAP enabled mobile |
NetBeans IDE 4.1
Out-of-the-box support for J2EE 1.4 and Web Services. Check out what early access release 2 can do for you! |
Easy Emulation With New NetBeans Mobility Pack 4.0
With the click of a button, switch back and forth between different emulation environments while developing one set of code. It's never been this easy to take advantage of Java technology's cross-platform capabilities. |
|
|
|