160 likes | 254 Views
Framework and application bytecode size. kXML parser. Application. Utility classes. Graphics. Logic (MIDlet). Data (XML file). MIDP. CLDC. Internet. Jar file. MIDlet. my Paros web site. Web server. XML. JAXP. Database. JDBC. JSP pages. Internet. Internet. Mobile network.
E N D
Framework and application bytecode size kXML parser Application Utility classes Graphics Logic (MIDlet) Data (XML file) MIDP CLDC
Internet Jar file MIDlet myParos web site Web server XML JAXP Database JDBC JSP pages
Internet Internet Mobile network Web server download jar file Bluetooth J2ME compatible device 2 HTTP 1 JAR kXML parser J2ME compatible device Base station download jar file Web server (end-to-end HTTP) JAR kXML parser
web server <HTML> <%> script code <%> </HTML> <HTML> <BODY> ……. ……. </BODY> </HTML> Database Application server
JDBC Java Server Page (JDBC method invocations) SQL Database JDBC Driver
Internet Mobile network Information retrieval through a wireless network Base station request handheld device response request Web servers response IEEE 802.11 Wireless network access point laptop
J2ME, J2SE and J2EE server communicator PDA PC mobile phone workstation Optional packages screen phone laptop smart phone set-top box and net TV pager Optional packages J2EE Optional packages Optional packages J2SE Profile Level MIDP PDA Profile Personal Profile Game Profile RMI Profile Configuration Level CLDC CDC J2ME Java card Virtual Machine Level KVM Card VM JVM CVM Java Language
J2ME platform levels Java application Profile Configuration Libraries JVM Operation System Device hardware J2SE CLDC CDC
J2ME Characteristics and architecture • Java Virtual Machine • Virtual Hardware (Processor) • KVM (K Virtual Machine) • Min. 128 kByte, typ. 256 kByte • Optimized for low performance devices • Might be a co-processor • Configurations • Subset of standard Java libraries depending technical hardware parameters (memory, CPU) • CLDC (Connected Limited Device Configuration) • Basic libraries, input/output, security – describes Java support for mobile devices • Profiles • Interoperability of heterogeneous devices belonging to the same category • MIDP (Mobile Information Device Profile) • Defines interfaces for GUIs, HTTP, application support, … Applications Profile (MIDP) Configurations (CDC, CLDC) Java Virtual Machine (JVM, KVM) Operating system (Symbian, Palm, WinCE) Hardware (SH4, ARM, 68k, ...)
MIDlets development & deployment MIDP Networking
Integrating J2ME with WAP and i-mode Content producers Wireless portals Portable terminals WML / cHTML browser Static content Web server orWAP gateway J2ME applications Dynamic content Content transcoding Application Management Software J2ME applications (jar files) Application provisioning MIDP CLDC
Installing… Stop Choose game: Backgammon Battleship Black Jack Chess Back Buy Wireless network Confirm: Buy Battleship game for: € 3.00 Back Buy J2ME application provisioning WML, cHTML, XHTML, XML Gateway 1 WAP / i-mode site Application Descriptor (*.jad) 2 J2ME device Application Management Software jar file Content provider 3 Application advertisementthroughWAP ori-mode Application selection by the user The AMS downloadsthe J2ME application 2 3 1
End-to-End Architecture for m-Commerce Client-tier Web-tier Backend-tier MIDlet GUI XML (JAXP) J2ME device Data (Oracle, SQL Server, MySQL) JSP pages WML microbrowser WML WAP gateway WAP device cHTML cHTML microbrowser Web server & application server i-mode device