Mobile Station Execution Environment (MExE( MExE) Developing web applications for PDAs and Cellphones. WAP (Wireless Application Protocol)

Similar documents
M.SARAVANA KARTHIKEYAN

Wireless Internet: layers 3,4,5. Wireless Internet: Layers 3,4,5 Case Study: WAP. WAP: Wireless Application Protocol

Wireless Access Protocol(WAP) architecture

WAP. Bringing the internet to you. Cynthia Luk Marianne Morris Harvey Wong. 4 April, 2002 CMPUT 499

Chapter 3. Technology Adopted. 3.1 Introduction

Glossary. ADO.NET ActiveX Data Objects for.net. A set of data access technologies included in the.net Framework class libraries.

Outline. CS5984 Mobile Computing HTTP. HTTP (especially 1.0) Problems 1/2. Dr. Ayman Abdel-Hamid, CS5984. Wireless Web.

Overview. M-commerce vs. E-commerce

WAP Overview. Ric Howell, Chief Technology Officer, Concise Group Ltd.

Overview of Java 2 Platform, Micro Edition (J2ME )

Mobile Application Development. Introduction. Dr. Christelle Scharff Pace University, USA

4. B2C,B2E Systems: Concepts and Architectures

DAY 3 J2ME March 2007 Aalborg University, Mobile Device Group Mobile Phone Programming

Introduction to LAN/WAN. Application Layer (Part III)

SIM Smart Card Overview

Who am I? Wireless Online Game Development for Mobile Device. What games can you make after this course? Are you take the right course?

GRAPHICAL SIMULATION OF WIRELESS APPLICATION PROTOCOL

Glossary. xii. Marina Yue Zhang and Mark Dodgson Downloaded from Elgar Online at 02/04/ :16:01PM via free access

WAP via ORBCOMM. Andrew R Cardoza, Sias Mostert.

CM0256 Pervasive Computing

WIRELESS APPLICATION PROTOCOL (WAP)

Jawaharlal Nehru Engineering College

Wireless Application Protocol (WAP)

Enabling the Wireless Internet

Page 1. WAP Overview. An overview of the. Wireless Application Protocol to the IAB. Copyright IBM 2000

DAY 3 J2ME Aalborg University, Mobile Device Group. Mobile. Mobile Phone Programming

Project Overview. Readings and References. Initial project motivation. Opportunity. References. CSE 403, Winter 2003 Software Engineering

SECURE SMART GRID DEVICE for HOME AREA NETWORKS Using WIRELESS APPLICATION PROTOCOL

Wireless Application Protocol WAP. F. Ricci 2008/2009

Project Overview. CSE 403, Spring 2003 Software Engineering.

Project Overview. Readings and References. Opportunity. Initial project motivation. References. CSE 403, Spring 2003 Software Engineering

UNIVERSITY EXAMINATIONS: NOV/DEC 2011 REGULATION PERVASIVE COMPUTING PART A

V2.0.0 (Release 2004)

WAP Access to SCADA-Typed Database System

Mobile Applications - 1 Vehicles transmission of news, road condition etc ad-hoc network with near vehicles to prevent accidents

The Wireless Application Protocol

MOBILE IP AND WIRELESS APPLICATION PROTOCOL

EFFECTS OF COMPRESSION ON SYSTEM THROUGHPUT IN WIRELESS APPLICATION PROTOCOL (WAP) 2.0 ARCHITECTURE. KASHIF KHAN. Masters of Computer Science

J2ME ARCHITECTURE AND RELATED EMBEDDED TECHNOLOGIES

WAP - QUICK GUIDE WAP - INTRODUCTION

Lecture 11C Mobile Commerce

ETSI TS V4.3.1 ( )

Minne menet, Mobiili-Java?

Performance Evaluation on WAP and Internet Protocol over 3G Wireless Networks

WAP/ WML : Wireless Protocol wireless protocol

Mobile Internet Technology and Applications Courtesy of Paul Kim (KADO)

ETSI TS V3.4.0 ( )

A Survey Paper on Wireless Access Protocol

BVRIT HYDERABAD College of Engineering for Women Department of Information Technology. Hand Out

Keys to the Success of Mobile Commerce

AUTO DISCOVERY REMOTE CONTROL ADRC GLOSSARY

Dr. Char-Shin Miou Chunghwa Telecom. Co. April 7, 2011

JXTA for J2ME Extending the Reach of Wireless With JXTA Technology

Table of Contents. WAP Process. WAP Architecture. Wireless Transport Protocol Overview. Wireless Session Protocol Overview

Glossary 1. ARPU or Average Revenue per User A method of measuring revenue associated with the delivery of mobile commerce services by MNOs.

UNIT III. Variables: This element supports the following attributes: Attribute Value Description. name string Sets the name of the variable

Wireless Network Security

Developing Mobile Applications

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Multi-User MIDP Game Design

Chapter 4: Networking and the Internet. Figure 4.1 Network topologies. Network Classifications. Protocols. (continued)

Chapter 4: Networking and the Internet

Acknowledgments Introduction p. 1 The Wireless Internet Revolution p. 1 Why Java Technology for Wireless Devices? p. 2 A Bit of History p.

Potential Threats to Mobile Network Security

WAP Security. Helsinki University of Technology S Security of Communication Protocols

Hitachi Releases Smart Card Microcontroller AE45X series Equipped with Contact/Contactless Dual Interface in a Single Chip

PennBench: A Benchmark Suite for Embedded Java

WIRELESS APPLICATION PROTOCOL

V2.0.0 (Release 2004)

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc.

Requirements and Issues of V**s for Mobile Terminals

Chapter 11: Wide-Area Networks and the Internet

Chapter 4: Networking and the Internet. Network Classifications. Network topologies. Network topologies (continued) Connecting Networks.

Smart Card Operating Systems Overview and Trends

CPS221 Lecture: Layered Network Architecture

Device Technologies I J2ME & WinCE

Chapter 2 Application Layer. Lecture 4: principles of network applications. Computer Networking: A Top Down Approach

Proposal for a Mobile Service Control Protocol

Implementation and Analysis of Electronic Medical Records in Mobile Devices

BlackBerry Browser Version 3.2. Technical Reference Guide

DISCIPLINE SPECIFIC 4: WIRELESS APPLICATION PROTOCOL Semester : VI Course Code : 16UCS504 Syllabus UNIT II: The Wireless Markup Language: Overview

Performance Evaluation of XHTML encoding and compression

Page 1. File systems Motivation EEC173B/ECS152C. File systems for limited connectivity (1) File systems consistency problems

Software Development & Education Center. Java Platform, Micro Edition. (Mobile Java)

Wireless Java-enabled MIDP devices as peers in Grid infrastructure

This tutorial is designed for those who would like to understand the basics of i-mode in simple and easy steps.

III/IV B.Tech (Regular/Supplementary) DEGREE EXAMINATION Wireless Networks (14IT602) Scheme of Evaluation

Secure Elements 101. Sree Swaminathan Director Product Development, First Data

Java Card 3 Platform. Peter Allenbach Sun Microsystems, Inc.

Mobile Application Design and Development With the use of J2ME Technology & UML m.khlaif Computer Science Dept Garyounis University

Introduction to computer networking

Wireless Medium Access Control and CDMA-based Communication Lesson 15 i-mode

INTEGRATION OF SECURITY PROTOCOL IN BETWEEN THE NETWORK GATEWAY

Developing Games for J2ME Technology- Enabled Mobile Devices

Orb-Weaver if the radiance of thousand suns were burst at once into the sky that might be the splendor of mighty one.

MOBILE COMPUTING (Common to Computer Science & Engineering and Information Technology)

Airo National Research Journal October, 2016 Volume V, ISSN:

MOBILE COMPUTING Unit V

THE SHORT MESSAGE MANAGEMENT SYSTEM BASED ON J2ME

Transcription:

Developing web applications for PDAs and Cellphones Mobile Station Execution Environment (MExE( MExE) MExE is a standard for defining various levels of wireless communication These levels are called classmarks Mobile devices can support more than one classmark Current Defined classmarks include: Classmark 1: Wireless Application Protocol (WAP) Classmark 2: PersonalJava & JavaPhone (includes classmark 1) Classmark 3: J2ME, CLDC & MIDP 2 Classmark 1: WAP WAP (Wireless Application Protocol) What is WAP? It is a set of protocols for wireless data transmission It strives to be an the equivalent of what the internet is for the wired world Designed to address issues specific to mobile commerce 4

Issues WAP Addresses The limitations of wireless communication Intermittent network connectivity Large latency Providing an easy to uses interface for mobile devices The screens are small Limited input types Security concerns of transmitting wireless data Limited power and computational resources of mobile devices 5 WAP Gateway The WAP gateway provides a solution to the limitations of the wireless networks Mobile users connect to the gateway and any communications they request will be passed through the gateway It provides a access point to the rest of the web Takes over many cpu intensive operations for the mobile device Handles encryption and decryption as different (less strenuous) encryption protocols are used for mobile devices 6 Wireless Application Protocols WAP is based on: WAE (Wireless Application Environment) WML (Wireless Markup Language) WMLScript (the javascript equivalent for WML) WTAI/WTA (Wireless Telephony Application Interface) WSP (Wireless Session Protocol) WTP (Wireless Transaction Protocol) WTLS (Wireless Transport Layer Security) WDP (Wireless Datagram Protocol) 7 Wireless Markup Language WML is XML based Follows strict xml formatting rules Replaces HTML in the WAP browser WML sites are called decks and are made up of cards The cards are the pages that the users views 8

Wireless Markup Language Wireless Markup Language <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD" WML 1.1//EN" "http://www.wapforum wapforum.org/dtd/.org/dtd/wml_1.1.xml"> <wml> <card id=card1>.. </card> <card id=card2>.. </card>.. <card id=card3>.. </card> </wml wml> WML pages have their own DTD A deck is the WML document Enclosed in <wml< wml> >... </wml wml> A card is the WML document Enclosed in <wml< wml> >... </wml Variables defined in a one card are accessible from all cards Some other tags: <!-- -->, <head>, <meta>, <template>, <br< br>, <p>, <table>, <td>, <tr< tr>, <b>, <big>, <em< em>, <a>, <anchor>, <img< img>, <do>, <onevent< onevent>, <postfield< postfield>, <go>, <timer>, <input>, <optgroup< optgroup>, <option>, <select>, <setvar< setvar> These are not all of the tags but as you can see many are the same as in HTML wml> 9 10 WMLScript It is a lightweight version of JavaScript Runs client side Is compiled at a WAP gateway and sent to the device in byte code Not embedded in WML document Stored in a WMLS file (ie( script.wmls wmls) Includes Dialogs, Float, Lang, String, URL and WMLBrower function Libraries 11 Wireless Session Protocol Session level protocol It is the HTTP equivalent for WAP WSP is much more efficient than HTTP due to the bandwidth constraints of mobile devices Uses binary data vs text data 12

Wireless Transaction Protocol Provides both reliable and unreliable data transport Similar to TCP Built to minimize network traffic and be most effective over a wireless link Wireless Transaction Layer Security Security layer protocol Similar to SSL (Secure Socket Layer) Provides authentication and encryption functionality Like SSL it is only used when needed 13 14 Wireless Datagram Protocol Similar to UDP (User Datagram Protocol) Lowest layer WAP protocol Lower layers are normally device dependent and some common interfaces are PPP (Point- to-point Protocol), SMS (Short Messaging Service), and GPRS (General Packet Radio System) WAP and the rest of the web Fewer that 1% of sites are written in WML Google has implemented a tool which converts regular HTML websites to WML for WAP browsers This allows WAP users access to the web content not specifically designed for mobile devices 15 16

What is JavaPhone? Classmark 2: JavaPhone Java Telephony API and its components It was created by the creators of Java, Sun Microsystems It is a Java like API for creating applications on cellular telephones Object Oriented 18 What is it used for? JavaPhone is used to develop applications for use on a variety of mobile devices It can also be used by telephone service providers to provide the connectivity to dynamic information services How does it work? Much like regular Java, JavaPhone relies on an underlying virtual machine, or application environment which allows the telephone OS to seem transparent to the programmer. For JavaPhone this environment is either PersonalJava or EmbbededJava depending on the cellular hardware 19 20

Communications Additional packages are available for communications The Communication API, which allows for communication with serial and parallel ports The SSL package for use by applications to communicate securely communication over TCP/IP sockets Summary JavaPhone is an API that can be used to develop applications for mobile devices in the same way that applications are developed for a computer. It allows for the development of programs to access the web as well as other internet protocols (FTP, STMP, ect.) It also provides portability in an industry where many different hardware and OS implementations exist 21 22 Java 2 Platform Our Focus Classmark 3: J2ME Environment MIDP Mobile Information Device Profile CLDC Connected Limited Device Configuration KVM K Virtual Machine 24

Java 2 Micro Edition -Java Virtual Machine ported onto a wide range of Operating Systems -Growing processing power -More use of portable java -Less use of lower, more efficient languages -J2EE JVM equivalent for the J2ME is the K Virtual Machine (KVM) J2ME Continued Targeted for - Small, Standalone Devices - Connectable Consumer Devices - Cellular phones - Personal Digital Assistants Two Primary Components - Configurations - Profiles 25 26 Configuration Defines Minimum Java Platform for - A range of devices - Requirements for memory and power - Minimum Java Libraries - Virtual Machine Capabilities 27 CLDC (Connected Limited Device Configuration) Specifies Java Environment For - Mobile Phones - Personal Digital Organizers Devices - Limited Memory, 128 kb - 512 kb - Intermittent, low bandwidth network link - Constrained UI s, small screens - Most often wireless K Virtual Machine (KVM) - JVM designed for resource constrained devices - CLDC runs on top of KVM 28

Profile A collection of Java technology based APIs that add on to a Configuration to provide capabilities for a device type and extends its specific demands 29 MIDP (Mobile Information Device Profile) Specifies Java Environment For - Mobile Phones - Personal Digital Organizers Addresses issues such as - User Interface - Store, Manage persistent local data - Networking - Application Model Runs on top of the CLDC Developed by a group of 20 companies representing the wireless industry 30 J2ME Wireless Device Stack J2ME Devices Yellow Pages, Bus schedule, Tickets, Games UI, HTTP 1.1 network Java lang, Java lang.microedition microedition Threads, no Floats Risc processor Rom, Flash Ram 31 32

J2ME Software Active Desktop Access your home desktop from your mobile phone J2ME Software M-Sports Soccer Web Viewer Supports HTML forms, image maps, GIFs, and JPEGs UEMail Mail client that communicates with any POP3/SMTP server Possibly the best soccer simulation available for mobile devices Street Fighter The most famous arcade fighting game, with basic features 33 All this software is available as shareware at http://j2me-software.com/repository/index.jsp 34 J2ME Development Tools - They are available now - Most are free - They are all you need to create mobile Java applications - References http://java.sun.com/j2me/ http://java.sun.com/products/cldc cldc/ http://java.sun.com/products/midp midp/ J2ME Code import javax.microedition.midlet.*; import javax.microedition.io.*; import javax.microedition.lcdui.*; import java.io.*; public class HttpMIDlet extends MIDlet implements CommandListener {}; 35 36

Testing Applications - Available Virtual Mobile Device SmartCards 37 Smart Cards tamper-resistant resistant devices, usually containing an embedded 8-bit 8 microprocessor utilize Application Protocol Data Units (APDU) to communicate with host devices through PIN codes and cryptographic keys Many different kinds including SIM, Java Card, UIM, WIM and S@T Used in cell phones, PDAs,, satellite receivers, credit cards, etc. SIM Cards Subscriber Identity Module Consist of microprocessor, ROM, EEPROM memory, volatile RAM, and serial I/O interface Software usually consists of an OS, file system, and application programs SIM cards rely on their GSM handset for battery and clock 39 40

The SIM Toolkit (STK) API used for securely loading applications onto SIM cards Allows mobile operator to create/provide services by loading them in the SIM without changing anything in the GSM handset. A convenient way of doing this is through Short Message Service (SMS). Once loaded, applications may be triggered through events such as incoming/outgoing calls, call duration, and/or location of the mobile device. Control software in the SIM monitors these events and reports them via SMS to a network based application server. 41 WIM Cards WAP Identity Module Used in conjunction with a SIM card Introduced with WAP spec 1.2 (Wireless Application Protocol) Provides end-to to-end security for WAP applications, improving on the limitations of spec 1.1 Allows the user to store certificates and digital signatures 42