140 likes | 272 Views
VR eCommerce. By: Mike Pigott and Ryan Jerchau. The Project. Exploring VR eCommerce systems using existing technology to fill today’s needs. Using Quicktime VR and Servlets/JSPs to create a new customer experience: Destination shopping In store panoramas Object rotations on key items.
E N D
VR eCommerce By: Mike Pigott and Ryan Jerchau
The Project • Exploring VR eCommerce systems using existing technology to fill today’s needs. • Using Quicktime VR and Servlets/JSPs to create a new customer experience: • Destination shopping • In store panoramas • Object rotations on key items
What We’re Doing Right Now • Working with the Town of Saratoga. • Creating a destination based on Saratoga’s main strip, Broadway • Making a prototype eCommerce interface with Celtic Treasures and Mabou
What Does This Have To Do With NetProg?!?!?!11??! • Earlier in the semester we made a proof of concept prototype • Used Amazon.com’s web services to provide eCommerce style functionality • Allowed rapid development
In Search of an E-Commerce Platform • Our Solution Must Co-Exist With Existing e-Commerce Systems • Avoid Reinventing an e-Commerce System • Search for an Existing, Fully Functional Platform
Amazon E-Commerce Service • Amazon’s Entire e-Commerce Platform, Available Via Web Services • http://aws-beta.amazon.com/AWSAlexa/AWSAlexa.wsdl
Apache Axis • Java Web Services Toolkit • Considered to be the Next Generation of Apache SOAP • Built with a WSDL Java Translator
Using the Web Service //Sets the search information itemIds[0]=itemId; responseGroups[0]="ItemAttributes"; responseGroups[1]="Images"; requests[0]= new ItemLookupRequest(); requests[0].setItemId(itemIds); requests[0].setResponseGroup(responseGroups); searchInfo.setSubscriptionId(config.getProperty("aws.subscriptionID")); searchInfo.setRequest(requests); //Performs the lookup try { response=port.itemLookup(searchInfo); } catch (RemoteExceptione){ throw new UrpException("Unable to perform search",e); }
Getting the Response //The ItemAttributes Response Group dvdInfo=response.getItems(0).getItem(0).getItemAttributes(); //The Images Response Group dvdImage=response.getItems(0).getItem(0).getMediumImage(); dvd=newDVD(); dvd.setActors(dvdInfo.getActor()); dvd.setDirectors(dvdInfo.getDirector()); dvd.setPrice(dvdInfo.getListPrice().getFormattedPrice()); dvd.setReleaseDate(dvdInfo.getReleaseDate()); dvd.setStudio(dvdInfo.getStudio()); dvd.setTitle(dvdInfo.getTitle()); dvd.setUpc(dvdInfo.getUPC()); if(dvdImage!=null){ Imageimage= newImage( dvdImage.getURL(), dvdImage.getWidth().getValue(), dvdImage.getHeight().getValue()); dvd.setImage(image); }
Using Servlets and JSPs • Servlets • Used to parse and validate requests • Perform the actual Web Searches • JSPs • Display the Query Results • Book Information • DVD Information • Error Messages
Other Web Services • Amazon • Shopping Cart Functionality • Federal Express • Estimate Shipping Cost • Google • Search for Competing Retailers and Prices
Demo! • http://pigotm.stu.rpi.edu/vr_ecommerce