MIDPath 0.3 Design

Design

Click here for full size

Source: Dia file

Description of the layers

  • MIDP2 API: this layer contains the MIDP API but few logic
  • Implementation layer: this layer contains the real implementation of MIDP (almost all the logic is there)
  • Adaptation layer: the lower layer which provides functionalities needed by the implementation layer

UI Toolkits

SDLToolkit

  • Advantages:
    • Adapted to interpreted mode because intensive processing is in the native part
    • Fast
  • Drawbacks:
    • Require many SDL libraries
VirtualToolkit

  • Advantages:
    • Pure java :
      • Highly portable to other graphics backend (framebuffer, SWT, OpenGL, ...)
      • Allows fast deployment in particular environment (embedded devices)
      • UI behavior independent of the graphics backend.
  • Drawbacks:
    • Not adapted to interpreted mode (could be slow)

MIDPath for CLDC JVMs

Another goal of MIDPath is to work on top of a free CLDC JVM (like Cacao JVM). In order to make it working, the adaptation layer should contain as few as possible non cldc-compliant code: it should minimize the size of the J2SE/CDC/native code to port.

Version 14.1 last modified by Administrator on 05/01/2009 at 16:16

Comments 0

No comments for this document

Attachments 3

Image
midpathdesign-150108.png 1.1
PostedBy: Administrator on 05/01/2009 (84kb )
BIN
midpathdesign-150108-2.dia 1.1
PostedBy: Administrator on 05/01/2009 (8kb )
Image
midpathdesign-150108-s.png 1.1
PostedBy: Administrator on 05/01/2009 (51kb )

Creator: Administrator on 2009/01/05 15:21
This wiki is licensed under a GNU Free Documentation License
XWiki Enterprise 1.5.11446 - Documentation