International Journal of P2P Network Trends and Technology (IJPTT) – Volume 8 – May 2014
A Comparative Study on Java Mobile Clients with Data Caching in Accessing Information Systems P. Ravi Kiran#1 Y. K. Sundara Kirshna#2 #
Department of Computer Science, Krishna University, Machilipatnam, Andhra Pradesh, India
Abstract – Now-a-days ubiquitous, nomadic, and pervasive computing is not a longer vision but reality. Mobiles are using for voice communication, messaging, multimedia as well as clients for Information Systems (IS). Developing Mobile applications and services using MIDP are major challenges as these clients have limited computing and network resources. We present a comparative study on the two architectures of MIDP based Java mobile client in accessing Information Servers. (1) Implementation of mobile application for MIDP capable mobile phones that can handle data accessing with web services architecture as middleware. (2) MIDP based J2ME driver similar to JDBC embedded in our MIDP applications that directly communicating MySQL from mobile devices without middleware. We also present efficient Data Caching Framework in Java mobile clients to minimize network traffic applicable for both the architectures and issues in accessing databases from them. We identified the problems in the MIDP based J2ME driver architecture and quoted the possibility of its improvement. Keywords – Information Systems (IS), J2ME, Data Caching, MIDP, CLDC, Web Services, MySQL
I. INTRODUCTION AND MOTIVATION Mobile phones are far more ubiquitous when compared to PCs. From 2007 onwards the sales of smart phones exceeds the laptop computers. Mobile phone subscribers are more than 3.3 billion in the world. MIDP (Mobile Identification Device Profile) are dominantly using in designing mobile based applications for games, news, entertainment and many services. The mobile devices are working as clients for Information Servers in handling data access. As the mobile clients have limited computational and memory resources, needs a special architectures to lessen computation and memory requirements. Wireless connectivity is either slow, widely available (GSM, HSCSD, GPRS), or fast, less expensive but not accessible everywhere (WLAN, UMTS), data caching is necessary. In this paper we present a comparison between the two categories of architectures based on the middleware using, in accessing Information Systems (IS) which can utilize a common technique for data caching and issues relating to that. We also discussed the differences in the architectures and their limitations. The remainder of this paper is described as follows. Section 2 briefly describes about the J2ME core concepts configuration, profiles and optional packages. Section 3 explains the web services architecture with middleware in accessing IS. Section 4 describes the architecture of the MIDP
ISSN: 2249-2615
driver which eliminates middleware. Section 5 includes the data caching strategies used in the both the architectures. Section 6 discusses the differences and limitations between the architectures. Section 7 summarizes the study and concludes with the improvements in MIDP driver architecture. II. J2ME CONCEPTS Mobile phone framework needs Java programming language known as Java Micro Edition (J2ME). Mobile phone applications can be used for data communications utilizing the standard protocols like HTTP/HTTPS or socket based communication [1]. These applications supports older GPRS technologies as well advanced technologies like UMTS (3G), EDGE and Wi-Fi [2]. The heart of J2ME consists of three core concepts: Configuration, Profiles and Optional Packages. A.
Configuration
Configuration is a complete Java runtime environment that executes bytecode using Virtual Machine (VM), native code to interface to the underlying system. It provides a complete Java environment supplied by J2ME profiles. J2ME defines two configurations: the Connected limited Device Configuration (CLDC) and the Connected Device Configuration (CDC). The devices with CLDC are in the 160k to 512k memory range and use Kilobyte Virtual Machine (KVM) [3]. The CLDC version 1.1 (JSR 139) mainly provides java.io package used for input and output through data streams and java.microedition.io for the generic framework. Object serialization and Java RMI (Remote Method Invocation) are not supported [7]. B.
Profile
A profile adds domain-specific classes to a configuration to fill in missing functionality and to support uses of a device. There are several profiles in various stages of development. The first profile to be released was the Mobile Identification Device Profile (MIDP), a CLDC based profile for running applications on cell phones and interactive pagers with small screens, wireless HTTP connectivity and limited memory. The most commonly used profile in mobile phones is MIDP 2.0 (JSR 118) is an enhancement for MIDP 1.0. Other profiles like foundation profile and personal profile extends with CDC are used in PDAs.
http://www.ijpttjournal.org
Page 17