Presentation • Two Styles > REST > Yahoo, Google, Amazon, Microsoft Live, Most Web 2.0 > SOAP > Ebay, B2B Applications

Presentation • Two Styles > REST > Yahoo, Google, Amazon, Microsoft Live, Most Web 2.0 > SOAP > Ebay, B2B Applications

Enabling the Mobile Web with JavaME Nandini Ramani Co-Chair W3C SVG WG Senior Staff Engineer Sun Microsystems, Inc. Akhil Arora Senior Staff Engineer Sun Microsystems, Inc. Agenda • Web 2.0 • Web Services • Rich UI • Demos • Questions Sun Microsystems 2006 2 Age of Participation Google Maps Community & Interaction Salesforce Flickr Albums Sun Microsystems 2006 3 Mobile Drives the Next Wave Content Management Communications Entertainment Information Gaming Sharing Sun Microsystems 2006 4 Your Personal Dashboard Sun Microsystems 2006 5 Web Services Sun Microsystems 2006 6 What are Web Services? • www for machines > designed for machine-to-machine interactions over a network > Heterogeneity is a given > networking, not presentation • two styles > REST > Yahoo, Google, Amazon, Microsoft Live, Most Web 2.0 > SOAP > eBay, B2B applications Sun Microsystems 2006 7 Why Mobile Web Services? • Compelling Web Services drive ARPU via data • Java tools exist to make it easy for developers to build web applications and mashups in Java • Mobile AJAX in browser has limitations > substantial JavaScript download > application source code (JavaScript) visible > network availability/latency makes user experience spotty > cannot use camera, 3D, bluetooth, local calendar & addrbook, etc Sun Microsystems 2006 8 Java - Powerful Enabling Technology • Java Platform >Ubiquity: Java is on 1.2 Billion Phones >Superior code development tool chain >Broadest access to phone features >Robust, secure, high performance environment >Portability • Based on Open standards >JCP and W3C >Leverages popular Web model (XML, DOM) >Rich user experience with SVG/CDF • Leverage multiple developer communities: graphic artists and Java developers * SVG = Scalable Vector Graphics, a W3C specification * CDF = Compound Document Format, a W3C specification Sun Microsystems 2006 9 Some Use Cases for Mobile Web Services • Mobile Feeds > catching up with blogs offline > liveblogging, lifeblogging > syndication of calendar, traffic, jobs, weather... • Mobile Web 2.0 > maps, traffic, directions, location... > shopping, pricing, reviews, yellowpages... > audio, video, photos, tagging, social networking... > travel, finance... > verticals > mashups Sun Microsystems 2006 10 Demos (1/2) • Feed Reader • Local Search using Yahoo!'s Local and Map Web Services Sun Microsystems 2006 11 Presentation Sun Microsystems 2006 12 Opening the Phone to the Developer New Java Standards defining next-gen wireless platform SMS / MMS Media SIP PIM 3D Graphics Location Bluetooth 2D Graphics Mobile Services Architecture (MSA) Enables the development of services based on previously closed device capabilities Sun Microsystems 2006 13 JSR-226 Overview • Java API to draw, manipulate and animate SVG Tiny 1.1 content • Part of Mobile Service Architecture (JSR-248), both the core subset and the full version • Rich UI through SVG • Complex behavior through Java • DOM API connects SVG and Java • Enables significantly richer UI than LCDUI alone Sun Microsystems 2006 14 JSR 226 Application Model SVG Document Document Object Model Rendering & interactivity <svg width="2cm" height="3cm" viewBox="0 0 200 300"> <g> <rect x="10" y="10" width="180" height="280" fill="none" svg stroke="black"/> <circle cx="100" cy="150" r="100" fill="rgb(255,209,31)"/> </g> <image xlink:href="duke.svg" x="40" y="40" width="120" height="220" /> g image text <text x="100" y="280" font-size="30" text-anchor="middle"> Hello SVG! </text> rect circ </svg> load manipulate render Java Application UI events Sun Microsystems 2006 15 JSR 290 and CDF • Java Language and XML UI Markup Integration >Leverage W3C CDF (WICD MP) >Integration with Web technologies – XHTML Basic 1.1 – ECMAScript CP – CSS 2.1 Mobile – SVG Tiny 1.2 >Binding between markup and Java code >Connection between ECMAScript and Java * ESMP = ECMA Script Compact Profile, a subsetted version of ECMA Script used in Mobile phone * CSS Basic = Cascading Style Sheets, a popular styling language helping separate the content of XHTML pages from their appearance Sun Microsystems 2006 16 Unleash Your Creativity DEVELOPMENT & AUTHORING TARGET DEVICE Java Code MIDlet XML application l Too on rati Markup nteg I XML UI API XML Java VM Engine Create Integrate Deploy Sun Microsystems 2006 17 Demos (2/2) • Contact List demo • Location based service • Tools Sun Microsystems 2006 18 We've Done it Before... ...And We're Doing it Again Sun Microsystems 2006 19 What's Next: Open Sourcing Java Java ME & Java SE Sun Microsystems 2006 20 References • JCP: http://jcp.org/en/home/index • SVG: http://www.w3.org/Graphics/SVG/ • CDF: http://www.w3.org/2004/CDF/ • NetBeans: http://www.netbeans.org/ • Wireless Toolkit: http://java.sun.com/products/sjwtoolkit/ • Community: http://www.java.net Sun Microsystems 2006 21 Discussion Topics • Reduce Fragmentation > Conformance test suites • Collaboration between standards bodies > W3C, JCP Sun Microsystems 2006 22 Thank You! Nandini Ramani [email protected] Akhil Arora [email protected].

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    23 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us