100 likes | 198 Views
Presentation 11: SOAP on small devices. Outline. Which small devices? What are the limitations and what kind of support do they offer for SOAP SDK’s available. Which small devices?. Embedded computers Windows CE Others (native) PDA’s Pocket PC’s Windows CE, eC++, eVB
E N D
Outline • Which small devices? • What are the limitations and what kind of support do they offer for SOAP • SDK’s available
Which small devices? • Embedded computers • Windows CE • Others (native) • PDA’s • Pocket PC’s • Windows CE, eC++, eVB • .NET Compact Framework & Pocket PC API • Palm • Running J2ME/J2SE or native Palm (C++) • Mobile phones • J2ME CLCD MIDP • Native (Symbian C++, Personal Java) • Smartphone API (Orange SPV, Motorola)
Problems with small computers • Limited memory and processing power • Limited storage facilities (no hard drive) • Limited bandwidth (for mobile phones using GSM/GPRS) • UMTS soon to enter (and Edge, and distributed WLAN) • Not possible with .NET Framework or J2SE JDK, big XML parser API’s – big footprints • SOAP and XML is bandwidth + processor demanding! • CONCLUSION: • SOAP CLIENT ONLY – NOT SERVER • Lightweight parser capabilities – not all features
Pocket PC (Windows CE) • Pocket PC and Windows CE based operating systems does not have built in SOAP facilities • But it is possible • Using Microsofts SOAP implementation for Windows CE • http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k2/html/ppc_reservices.asp • Or using Simon Fells PocketSOAP COM component – which even Microsoft has welcomed • http://www.pocketsoap.com/pocketsoap/ • .NET Compact Framework • SOAP is integrated in the .NET framework. No need to use eMbedded Visual Studio
SmartPhone API • As with the Windows CE – using Embedded Visual Studio 3.0 it is possible to consume Web services for the Smartphone platform • http://msdn.microsoft.com/webservices/building/othertools/default.aspx?pull=/library/en-us/dnsmtphn/html/sphonweb.asp • All links are available at the course website • BUT THIS IS NOT AN EASY TASK • You may wish to wait until .NET Compact Framework is available for the SmartPhone API
J2ME • Ap. 50% of all new mobile phones support the Java 2 Mobile Edition SDK • No build-in support for SOAP (yet) • Does not run the JVM – but KVM (Kilo Virtual Machine) • Therefore you cannot use AXIS and others • But the at least two open source projects, one of them KSOAP, building on the Enhydra kXML is designed for Mobile Phones and PDA’s (like the Palm) • http://kxml.enhydra.org/ • kSOAP: http://ksoap.org (footprint: 42K) • WingFoot: http://www.wingfoot.com/ (footprint: 35K)
Developing for J2ME • Take a look at http://www.javasoft.com/J2ME • CLCD, MIDP • May want to download JBuilder Enterprise Edition Trial Version from http://www.borland.com • Also download MobileSet • Important with Enterprise Edition because of JAD file • Comes complete with J2ME JDK, Screen designer, Emulator, as well as JAD deployment utillity