50 %
50 %
Information about age

Published on February 4, 2008

Author: Petronilla


Programming with Amazon, Google, and eBay:  Programming with Amazon, Google, and eBay Chunju Tseng (Lu) Outline:  Outline 9/13 (Tuesday) Web Services in a nutshell Overview of Amazon, Google, and eBay APIs Lab Session: Web Services Programming 9/15 (Thursday) Back to World Wide Web 101 Lab Session: Java Web Programming What is Web Services?:  What is Web Services? Web Services: A new way of reuse/integrate third party softwre or legacy system No matter where the software is, what platform it residents, or which language it was written in Based on XML and Internet protocols (HTTP, SMTP…) Benefits: Ease of integration Develop applications faster Web Services Architecture:  Web Services Architecture Simple Object Access Protocol (SOAP) Web Service Description Language (WSDL) Universal Description, Discovery and Integration (UDDI) New Breeds of Web Services:  New Breeds of Web Services Representational State Transfer (REST) Use HTTP Get method to invoke remote services (not XML) The response of remote service can be in XML or any textual format Benefits: Easy to develop Easy to debug (with standard browser) Leverage existing web application infrastructure We will focus on REST services programming in the lab session Really Simple Syndication (RSS) Designed for news-oriented websites to “Push” content to readers Excellent to monitor new content from websites Amazon Web Services (AWS):  Amazon Web Services (AWS) Amazon E-Commerce Service Search catalog, retrieve product information, images and customer reviews Retrieve wish list, wedding registry… Search seller and offer Alexa Web Information Service Retrieve information such as page rank, related sites given a target URL Amazon Simple Queue Service A distributed resource manager to store web services results Google Web APIs:  Google Web APIs Programmatically search web pages using Google Get information about search result including URL, snippet, title and directory category Spell-checking and suggestion eBay API:  eBay API Buyers: Get the current list of eBay categories View information about items listed on eBay Display eBay listings on other sites Leave feedback about other users at the conclusion of a commerce transaction Sellers: Submit items for listing on eBay Get high bidder information for items you are selling Retrieve lists of items a particular user is currently selling through eBay Retrieve lists of items a particular user has bid on Other Free Web Services:  Other Free Web Services Google Maps API Crime mapping: Fine cheap gas: Reuters News Shopping Deals MSN Search Engine Yahoo Highest-rated News Yahoo Financial News Search World Weather RSS Feed Lab Session: Amazon, Google, EBay APIs:  Lab Session: Amazon, Google, EBay APIs Required Software: NetBeans IDE Amazon API ( Google API ( Registered with Amazon and Google Topics: Setup NetBeans Execute Amazon Samples REST with Browser REST with Jakarta HttpClient Programming Google API Setup NetBeans with Amazon:  Setup NetBeans with Amazon Assume NetBeans 4.1 is installed Register Amazon subscription ID Download Amazon Java sample Create NetBeans project Install necessary libraries Execute Amazon code sample Retrieve Customer Information:  Retrieve Customer Information CustomerContentSearch Give name to retrieve customer ID CustomerContentLookup Give customer ID Request WishList information ResponseGroup=CustomerInfo, CustomerLists Receive WishList ID Use Amazon API Reference!! Retrieve Customer WishList and Response Manipulation:  Retrieve Customer WishList and Response Manipulation ListLookup Give list ID and type to retrieve WishList content with a simple browser (REST) ResponseGroup=ListItems,ListInfo Result shows in XML format ListLookup with xml-to-text XSLT Give custom XSL to manipulate response Style= ListLookup with xml-to-html XSLT ResponseGroup=ListItems,ListInfo,Images,SalesRank,ItemAttributes Style= Access Amazon REST Service with Jakarta HttpClient :  Access Amazon REST Service with Jakarta HttpClient Download & install necessary libraries Jakarta HttpClient, Codec JUnit Write first Java program in NetBeans Use previous REST invocation strings Print Amazon response in console Resources: Programming Google API:  Programming Google API Download Google Web API Install Google library Execute Google API demo Write Java codes to search Google Search Google Access cached pages Keyword suggestion Source: Other Resources:  Other Resources Java Web Services Developer Pack Consuming Web Services with NetBeans XSLT Tutorial Lab Session Step-by-step Snapshots See you next time!:  See you next time! Questions are welcome World Wide Web 101:  World Wide Web 101 Static Web Pages:  Static Web Pages Browser Internet Explorer, Mozilla Firefox, Netscape Web Server Apache, IIS HTML Hypertext Markup Language HTTP Hypertext Transfer Protocol Dynamic Web Pages:  Dynamic Web Pages Application Servers Tomcat, IIS, mod_php Server side programming languages ASP, JSP, PHP, cgi, ….. ROR Client side programming languages JavaScript, VBScript Dynamic HTML, XHTML, CSS Other dynamic contents Java Applets, ActiveX, Flash Rich Interactivity Web - AJAX:  Rich Interactivity Web - AJAX AJAX: Asynchronous JavaScript + XML AJAX incorporates: standards-based presentation using XHTML and CSS; dynamic display and interaction using the Document Object Model; data interchange and manipulation using XML and XSLT; asynchronous data retrieval using XMLHttpRequest; and JavaScript binding everything together. Examples: More info: AJAX Application Model:  AJAX Application Model Lab Session: Java Web Programming:  Lab Session: Java Web Programming Required Software: JDK 1.4 or later Apache Tomcat NetBeans IDE (optional) Topics: Install JDK Install Tomcat First Java Server Page Servlet with NetBeans IDE

Add a comment

Related presentations

Related pages

Startseite | AGE

Nur als Mitglied der AGE können Sie sich nach MIC I, II und III zertifizieren lassen. Ein AGE-Ausbildungszentren kann, bei Erfüllung aller Kriterien ...
Read more

Age – Wikipedia

Age, Åge oder âge steht für: Åge, skandinavischer männlicher Vorname; âge, japanischen Computerspieleentwickler; âge, französisch für Alter
Read more Wörterbuch :: age :: Deutsch-Englisch-Übersetzung

Englisch-Deutsch-Übersetzung für age im Online-Wörterbuch (Deutschwörterbuch).
Read more | age | Wörterbuch Englisch-Deutsch

Übersetzung für age im Englisch-Deutsch-Wörterbuch ... Limited Input Mode - Mehr als 1000 ungeprüfte Übersetzungen! Du kannst trotzdem eine ...
Read more

Age of Empires – Wikipedia

Age of Empires ist ein Echtzeit-Strategiespiel, das von Ensemble Studios für die Microsoft-Game-Studios entwickelt wurde.
Read more

Age of Empires 3 (PC) - Test, Download ...

Age of Empires 3 In knapp 365 MByte haben die Entwickler zwei Missionen der Singleplayer-Kampagne und zwei Skirmish-Karten, New England sowie Texas ...
Read more

Latest & Breaking News Melbourne, Victoria | The Age

The Age has the latest local news on Melbourne, Victoria. Read National News from Australia, World News, Business News and Breaking News stories.
Read more

Age of Empires 2 kostenlos spielen - GIGA

Bei GIGA NETZWERK findest du alle Infos zum Age of Empires 2 von Microsoft, wie News, Test, Downloads und Videos.
Read more

Age of Empires Online kostenlos spielen |

In Age of Empires Online gründest du deine eigene Zivilisation. Im Land herrschen endlose Kriege. Nun liegt es an dir, dein Imperium in das mächtigste ...
Read more

Age | Define Age at

Age definition, the length of time during which a being or thing has existed; length of life or existence to the time spoken of or referred to: trees of ...
Read more