Back to search

University of British Columbia

Using AspectJ to build a software product line for mobile devices

Abstract

dc:description

Software development for mobile devices has become very popular in the last few years. There are hundreds of programmable micro devices on the market, each having different properties in terms of memory capacity, screen size, networking protocols, audio/video support, peripheral extensions and software platforms. Despite the technical differences of these devices, people use them in a similar fashion for communicating, organizing and interacting with their personal data. For a mobile software developer, it would save a great deal of time and effort to program an application in a way that allows it to run on all of these devices without modification. However, the variability of hardware in these mobile phones, PDA's or music players has led the vendors to provide additional levels of software support for different devices. For example, with the Java programming language, vendors and standards bodies have introduced optional, device specific libraries (APIs) that only run on certain hardware devices. A software developer can thus not rely on standard programming practices to build an application that can run on multiple platforms and still offer features that take advantage of unique functionality that is only embedded in specific devices. We call this the device API fragmentation problem. One potential way to ease the development of a common application for a variety of devices is using Aspect-Oriented Programming (AOP) techniques to build a software product line. The basic idea is to modularize features into aspects and to use the weaving technology in aspect-oriented programming to bind features into different instances of the product line. In this thesis, we evaluate an approach for building a software product line for mobile devices using J2ME and AspectJ. We present different implementations of a prototype application to compare the AspectJ product line approach with standard object-oriented techniques that are currently used to build families of mobile Java software in industry. The results indicate that AspectJ provides a good solution to the device API fragmentation problem by maintaining modularity of features.

Degree

thesis:*
Name thesis:degree_name
Master of Science - MSc
Level thesis:degree_level
master's
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
University of British Columbia
Year dc:date
2005

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Young, Trevor J.

Rights

dc:rights
Statement dc:rights
  • For non-commercial purposes only, such as research, private study and education. Additional conditions apply, see Terms of Use https://open.library.ubc.ca/terms_of_use.
Language dc:language
eng

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/2429/16920

Chain of custody

source
Harvested from
University of British Columbia
Base URL
circle.library.ubc.ca/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Young, Trevor J.. Using AspectJ to build a software product line for mobile devices. master's thesis, University of British Columbia, 2005. http://hdl.handle.net/2429/16920