A New Strategy of Language Pack Management for Wireless Apps
By Huang Chang & Tong Chun Jie2005-04-18
Introduction
In traditional wireless solutions, device-side applications are too weak to achieve globalization completely because of hardware and software limitations. However, on-demand level globalization support is a critical requirement for global e-business clients such as PDAs, which have adequate network capacity but low storage capacity.This article describes a new application development paradigm that takes advantage of the OSGi service platform to achieve globalization features in wireless applications. We describe our approach from an architecture perspective with a focus on how to manage language packs required by wireless applications in an on-demand environment and exemplify it with an implementation on IBM Service Management Framework™.
Because of the popularity of mobile devices today, the devices are always moving from one place to another, from one country to another, and even from one region to another. Interaction with users from different countries and different cultural backgrounds casts an increasing demand on globalization features for device applications. Implementation of globalization features in applications for mobile devices is quite different compared with that for desktops or servers. The primary difference is the different hosting environments in terms of hardware and software capacity. Therefore, globalization support is a critical concern in designing applications for global e-business clients such as PDAs, which have adequate network capacity but low storage capacity.
The OSGi specifications define a standardized, component-oriented computing environment for networked services. Currently, a wide range of device vendors have implemented the OSGi specifications and empowered their device products with OSGi as the hosting platform for wireless applications. A remarkable feature of the advantages of OSGi is its component-based architecture, which enables device-side applications to load required components from the management sever in the run time. In this sense, application components can be customized to be on-demand in order to meet the shortage in device storage.
In this article, we investigate the feasibility that takes advantage of OSGi's componentization feature to enable globalization support in wireless applications. Specifically, under the componential programming framework of OSGi, we encapsulate each language pack (LP) supported by wireless applications into different OSGi components called bundles so that they can be requested and delivered separately in the run time. Also, by leveraging the service registry mechanism in Service Management Framework, the device application, as a single executable, can switch among global users of different locales with a minimum user intervention footprint and can always keep itself on.
Tutorial Pages:
» Use the Service Management Framework to Develop Globalized Wireless Apps
» Introduction
» PC Versus Mobile Devices
» OSGi Overview
» OSGi-based LP Loading Strategy
» Service Management Framework
» Design Model for an Exemplary Implementation
» Language Pack Bundle
» LPProxy Bundle
» LPInvoker Bundle
» In Summary
» Resources
First published by IBM DeveloperWorks
