
 
multiplatform considerations that allow better 
coverage in different mobile devices. 
The situations described above were our motivation 
to build an Adaptive File Transfer Middlewar 
(AFTM) that can be capable of running on different 
operating systems and allow mobile applications to 
send and receive files from an external storage 
server, connected to Internet through different 
wireless technologies, taking into account the cost 
and quality of the service. The AFTM was tested by 
developing a File Backup Service (FBS) for mobile 
phones, which offers a service of swapping files 
between the mobile device and an external storage 
server in a transparent way. Users of this application 
perceive a virtual storage space, which is higher than 
the real memory space included in the mobile 
device. FBS is similar to a file caching service, 
reason why it integrates an efficient replacing policy 
to optimize the file access time. 
The rest of the paper is structured as follows. 
Section II describes related work; some of the 
systems described in Section II gave technical 
support to the Adaptive File Transfer Middleware 
(AFTM). Section III presents the AFTM 
architecture, which is divided in three main parts: 
Client-side application layer, Core connection layer 
and Server-side application layer. In Section IV, a 
mobile application named File Backup Service 
(FBS) is presented. This application was developed 
as a use case for testing the AFTM. Section V 
includes final comments and mentions ongoing 
work. 
2 RELATED WORK 
Mobile file systems like Coda (Satyanarayanan et al., 
1990)(Kistler et al., 1992)
, Odyssey (Satyanarayanan, 
1996
), Bayou (Demers, 1994) and Xmiddle (Mascolo et 
al., 2002
), worked with the data sharing-oriented 
problem in distributed computing environments. 
This problem could be directly related to the file 
transfer problem in mobile phones. Although with 
different focus, all of these systems try to maximise 
the availability of the data using data replication, 
each one differing in the way that they maintain 
consistency in the replicas. Coda provides server 
replications and disconnected operations; it allows 
access of data during the disconnection period and 
focuses on long-term disconnections, which more 
often occurs in mobile computing environments. 
Odyssey is the successor of Coda, which has been 
improved introducing context-awareness and 
application-dependent behaviors that allow the use 
of these approaches in mobile computing settings. 
The Bayou system is a platform to build 
collaborative applications, its emphasis is on 
supporting application-specific conflict detection 
and resolution. It has been designed as a system to 
support data sharing among mobile users and is 
intended to run in mobile computing environments. 
The system use a read-any/write-any replication 
scheme, thus the replicated data are only weakly 
consistent. Unlike previous systems, Bayou exploits 
application knowledge for dependency checks and 
merges procedures. (Lui et al, 1998) propose a 
mobile file system, NFS/M, based on the NFS 2.0 
and the Linux platform. It supports client-side data 
caching in order to improve the system performance, 
reducing the latency during weak connection 
periods. (Atkin et al., 2006) propose other file 
system that, like NFS/M, supports client-side 
caching. Some applications like (
GSpaceMobile, 2009) 
and (Emoze, 2009)
, enable the file transfer between 
mobile devices and external storage servers. 
However, these applications only consider a 
proprietary storage server. 
(Boulkenafed and Issarny, 2003) present a 
middleware service that allows collaborative data 
sharing among ad hoc groups that are dynamically 
formed according to the connectivity achieved by 
the ad hoc WLAN. These middleware enable to 
share and manipulate common data in a 
collaborative manner (e.g, working meet, network 
gaming, etc.) without the need for any established 
infrastructure. They implemented their middleware 
service within a file system in order to evaluate it. 
The result was a distributed file system for mobile 
ad hoc data sharing. It is worth mentioning that the 
performance measurements were done on a platform 
of ten laptops, and they only use IEEE 802.11b 
WLAN in ad hoc mode, unlike AFTM, which is able 
to use Wi-Fi, GSM, GPRS or UMTS networks. 
(Belimpasakis et al, 2008) propose a content sharing 
middleware for mobile devices using different 
protocols (UPnP, Atom and WebDAV), providing 
interfaces for applications, in order to allow 3rd 
party developers to create applications with sharing 
capabilities. The middlewares mentioned above 
make use of both Wi-Fi and GPRS wireless 
networks. However, they consider neither 
transferring files through a messaging system like 
MMS nor the portability issue. We have decided to 
develop AFTM using J2ME, offering portability. 
 
DCNET 2010 - International Conference on Data Communication Networking
46