android & monkey web services

14
Android By: Eduardo Silva [email protected] Jonathan Gonzalez [email protected] Lightweight Web Services with Monkey

Upload: jonathan-gonzalez

Post on 22-Nov-2014

3.410 views

Category:

Technology


2 download

DESCRIPTION

Proposal for web services improvement on Android software stack using Monkey HTTP Daemon

TRANSCRIPT

Page 1: Android & Monkey Web Services

Android

By: Eduardo Silva [email protected] Jonathan Gonzalez [email protected]

Lightweight Web Services with Monkey

Page 2: Android & Monkey Web Services

< Goal >

“Empower Android devices with an HTTP Service layer where applications and framework components can expose their own web services through a lightweight low level component.”

Page 3: Android & Monkey Web Services

< Android Architecture >

Page 4: Android & Monkey Web Services

Our proposal...

Page 5: Android & Monkey Web Services

< Our proposal >

Add an HTTP service layer into the app framework.

Page 6: Android & Monkey Web Services

< Terms used >

● Instance = web server process

● Requester = any SW component that request to own a service

● Service = Unique URI address used to identify communication with a requesters : e.g: http://192.168.1.1/STATUS

Page 7: Android & Monkey Web Services

< HTTP Service / Roles >

● Handle web server instances● Register services for requesters● Proxy web server communication

Page 8: Android & Monkey Web Services

Communication Diagram

Page 9: Android & Monkey Web Services
Page 10: Android & Monkey Web Services

How ?

Page 11: Android & Monkey Web Services

● HTTP Service application written in Java compliant with Dalvik virtual machine, it exports com.android.http_service.* ● Web Services Instance Monkey HTTP Daemon (web server)

● How Instances and HTTP Service talk ? Through Monkey Duda interface

Page 12: Android & Monkey Web Services

Why Monkey ?

Page 13: Android & Monkey Web Services

…because Monkey Loves Android

Monkey Features● web server designed for embedded devices (ARM)● It's asynchronous, events oriented● It has a flexible Plugin interface (API)● It's binary size is only 55 KB● It's very very fast

Page 14: Android & Monkey Web Services

We expect to implement this HTTP layer through GsoC 2012, this is a really good improvement!

Monkey Team