1 / 63

Projet LuxDeal

Projet LuxDeal. Mathieu Baeumler, Fabrice Daugan & David Hoeung. Presentation of LuxDeal. An exchange based service. LuxDeal Features. Login, Logout, User profile and settings Search an offer by : Category City Country Keywords Submit, see an offer Propose a deal with another member

lyris
Download Presentation

Projet LuxDeal

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Projet LuxDeal Mathieu Baeumler, Fabrice Daugan & David Hoeung

  2. Presentation of LuxDeal • An exchange based service

  3. LuxDeal Features • Login, Logout, User profile and settings • Search an offer by : • Category • City • Country • Keywords • Submit, see an offer • Propose a deal with another member • Multi-languages

  4. Problématiques • …

  5. Considerations • Battery life • Memory • CPU • Bandwidth • Design

  6. SOAPSimple Object Access Protocol • Based on XML • Procedure calls on remote objects • Exchange of structured, typed informations on the Web • Support of severals protocols and internet formats (SMTP, MIME, HTTP…)

  7. SOAP • Creation of Web-services • Define elements to specify : • Method’s name • parameters • retourned type

  8. Royco minute SOAP

  9. SOAP • SOAP requests: LIEBIG <soap:Body> <ns1:login xmlns:ns1="urn:LuxdealService"> <username xsi:type="xsd:string">cedrprus</username> <password xsi:type="xsd:string">newpass</password> </ns1:login> </soap:Body>

  10. Apache SOAP • Popular : • Java • Complet API • Open source

  11. Server Tomcat • Developed by Apache (project jakarta) • HTTP Server • Servlets Container

  12. JerryMouseTomcat • Two objects : • An initialization class (servlet) • Connection to MYSQL, DB’ managing, authentification • An implementation class • Service’s method

  13. JerryMouseTomcat • Definition of Web-service: • ‘web.xml’ • Parameters of service (login root, path…) • ‘deploymentDescriptor.xml’ • Profils of functions

  14. Mysql with Easy-php

  15. Soap admin

  16. Smartphone Mobile-base smartphone device Windows CE

  17. Smartphone Toolkit Smartphone 2002 SDK, eMbedded Visual C++ 3.0 Smartphone 2003 SDK eMbedded Visual C++4.0 SP2 Visual Studio .NET 2003 CF

  18. Developing the application Two problems to resolve : Deals with Windows User Interface No MFC ATL Win 32 API Messaging with SOAP MS Soap Toolkit not available for eMbedded Visual C++ HTTP + XML

  19. HTTP WinInet API InternetOpen() ConnMgrEstablishConnectionSync() InternetConnect() HttpOpenRequest() HttpSendRequest() InternetReadFile()

  20. XML Format SOAP message Parsing XML using MSXML DOM using COM

  21. CSoapConnector

  22. Designing User Interface With the IDE resource editor Dialog Control String table Multi User Language

  23. Message Loop and Callback

  24. Creating CDialogNWT

  25. Architecture No MVC No Document/View A dialog class by Dialog resource

  26. j2me I About j2Me II Networking III Application creation IV Emulation

  27. j2me I About j2Me

  28. MIDlet (MID Application)

  29. Mobile Information Device caracteristics : MID

  30. MIDP assumptions on MIDs

  31. MIDP Classes Libraries

  32. MIDP Architecture

  33. j2me Non usual life cycle of MIDLet

  34. Life cycle Pause the MIDLet Restart the MIDLet Destroy the MIDLet 3 states Create the MIDLet Start the MIDLet

  35. MIDP 1.0 & 2.0 UI Class Hierarchy

  36. MIDlet composition

  37. JAR file

  38. JAD file

  39. j2me I About j2Me II Networking

  40. SOAP Libraries : KSOAP 1.2 or KSOAP 2.0 http://ksoap.enhydra.org/

  41. KSOAP 1.2 Libraries : Use KXML 2.0 http://kxml.enhydra.org/

  42. SSL Libraries : KSSL or SSL http://kssl.enhydra.org/

  43. j2me I About j2Me II Networking III Application creation

  44. j2me

  45. SDK’s • Beta Release of the J2ME Wireless Toolkit 2.1 (WTK21) • Sprint PCS Java Wireless Toolkit 1.0.3_01 • Sony Ericsson SDK 1.2 • Siemens Mobility Toolkits (SMTK) for Java™ • Motorola SDK v4.0 for J2ME • Nokia Developer's Suite for J2ME(TM) 2.0 (2.6.2003) • Impronto Developer Kit for Linux

  46. Application creation 1) Compilation 2) Preverification 3) Obfuscation 4) Jarring and JAD updating 5) Deployment

  47. Compilation • Depending on targeted device • Simple javac Wireless Tool Kit 2.1 example : Motorola example : javac -g:none -bootclasspath ..\simulators\WTK21\lib\midp20.zip;..\lib\soap -d ..\tmpclasses ..\src\luxdeal\*.java javac -target 1.1 -O -bootclasspath ..\simulators\motorolaA760\lib\midp.zip;..\lib\soap -d ..\tmpclasses -classpath ..\tmpclasses ..\src\luxdeal\*.java

More Related