1 / 36

Creating a Online Music Store using Amazon Web Services

Creating a Online Music Store using Amazon Web Services . Final Project CS633:851 Joe DosAnjos ~ Puneet Kaur Deepti Madiraju ~ Slavica Pepovska Prem Saggar ~ Nashid Salahuddin Arun Sharma ~ Glenn Pozo. Project Description.

Télécharger la présentation

Creating a Online Music Store using Amazon Web Services

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. Creating a Online Music Store using Amazon Web Services Final Project CS633:851 Joe DosAnjos ~ Puneet Kaur Deepti Madiraju ~ Slavica Pepovska Prem Saggar ~ Nashid Salahuddin Arun Sharma ~ Glenn Pozo

  2. Project Description • Creating a web site that will connect to Amazon Web Services and successfully draw all the music products available on the Amazon Server • Users are able to search our web site for music products which connects to Amazon using web services, and purchase products through Amazon’s shopping process

  3. Project Description (2) • Users are able to view our “Top Ten” searches (what people are looking for), which we are tracking in our MySQL database • Users are able to sample mp3 music on our web site, using the MP3 widget

  4. Project Design/Requirements • For this project, the team decided to use agile software development with rapid prototyping • Considering the fact that our requirements frequently changed and evolved throughout the project life-cycle, agile methods were the most well suited for the task at hand • Project was frequently adapted to the business needs and allowing timeframe, where teamwork was constantly promoted to create balance between requirements and deliverables

  5. Project Design/Requirements • Team meetings conducted every 2-3 days • Recorded sessions from the meeting were posted on Moodle the following day • Requirements: • Install and setup applications needed for the project • Design 3-tier client/server project (Presentation Layer, Application Layer and Database Layer) • Use Amazon Web Services • Use a professional database • Create a presentation

  6. Project’s Architectural Diagram

  7. Project’s Sequence Diagram

  8. Project’s Use Case Diagram

  9. Project DFD Diagram

  10. The Purpose of the Project • To show Development of a 3-tier client server project • To demonstrate Amazon Web Services concepts • To illustrate connectivity to a professional MySQL database • To implement a distributed system using J2EE technologies

  11. Major technologies used • JDBC • JUnit • Java • SQL • JSP/Servlets • Apache Tomcat Server • SOAP • Web Services • Test Driven Development

  12. WAR File • The code was distributed between the developers in a war file (web application archive) • War file contained our JUnit tests, Java server pages, HTML pages, Servlets and Java classes, xml files

  13. Amazon Web Services • One of the requirements for this project was to use Amazon Web Services (AWS) • AWS is a collection of services offered from Amazon via the Internet • For our project we used: • Amazon Elastic Compute Cloud (EC2) • Amazon Widgets • Amazon Associates Web Service (A2S, formerly Amazon E-Commerce Service or ECS)

  14. Amazon Elastic Cloud (EC2) • Amazon Web Service that allows users to rent computers and install their own applications on them • For our project AWS was donated to NJIT, so we as students can gain experience in cloud computing • Amazon virtual server is monitored with Xen system

  15. EC2 continued • XEN system is virtual monitor that allows for several operating systems to be installed on the same computer hardware • XEN is structured with hypervisor, which lies in the most privileged layer • Hypervisor monitors the operating systems installed in the upper layers across the physical CPUs

  16. EC2 continued • Currently supported operating systems are Solaris, Linux and NetBSD (Unix derivative OS) • For our project we used a Linux operating system

  17. Amazon Associates Web Services (A2S) • Part of the Amazon Web Services • It is a application programming interface (API) that can be accessed with SOAP or REST protocols • For our project we used SOAP protocol to access the web service. We chose SOAP because Amazon SOAP is more mature and well documented vs REST

  18. Amazon Associates Web Services (A2S) • A2S allows developers to retrieve information from Amazon’s product catalog, including images, product descriptions, reviews; and interfaces with shopping carts • For our project we decided to retrieve information on music products available in Amazon’s catalog

  19. Amazon Widgets • Part of Amazon Web Services • Customizable elements (via web interface) that users can deploy to their web site to feature products from Amazon’s Catalog • For our project we used Carousel Widget, and Mp3 Widget • For the widget to work we need JavaScript and Flash enabled

  20. Location of the project • http://174.129.241.187:8080/AmazonWebProject/WebContent/index.jsp • Click on the link above to go to the working Implementation of the Music Store Project

  21. Screenshots from the working project

  22. Screenshots from the working project cont. • Previous slide provides a view of the searched results from the Amazon’s product catalog in the left column when the user on the web site typed justin timberlake in the search box • Note that on the right column justin timberlake is displaying a count of 6 searches in the music category. This shows that justin timberlake was searched 6 times on our web site in the music category

  23. Screenshots from the working project cont.

  24. Screenshots from the working project cont. • The previous screenshot provides a view from our MySQL database, showing the count of searches for a Search_String ‘justin timberlake’. Please note that the 2 instances for category All, were from the early stages of our development stage, after which we decided to delete this category

  25. Screenshots from the working project

  26. Screenshots from the working project cont. • The previous screenshot provides a view from our web site, showing results from the search ‘madonna’ • Please note that now on the right column, the count for Madonna has increased to value 7, vs the previous screenshot which showed value of 6

  27. Screenshots from the working project cont.

  28. Screenshots from the working project cont. • The previous screenshot provides a view from our MySQL database, showing the count of searches for a Search_String ‘madonna’ as 7

  29. Screenshots from the working project

  30. Screenshots from the working project cont. • The previous screenshot provides a view from our mp3 clips page, showing the Amazon widget where users can sample mp3 music available in the Amazon’s product catalog

  31. Screenshots from the working project (contact page)

  32. Screenshots from the working project (help page)

  33. Conclusion • Controlling an unpredictable project is a huge responsibility. Quality team work is especially important when using a agile software development approach for the project, because everyone’s work is dependent upon fellow team members. As an example, frequent communication between agile team members plays a vital role in the success of the project's longevity

  34. Conclusion cont. • In our project, we played the role of both, the customer and the developer, and our adaptation to requirement changes were easier than typical real world projects, where the customer will probably want to stick to the original idea and the developers will have to make sure that those requirements are met (depending on budget and resources available for the particular project)

  35. Conclusion cont. • As any other project, time restrictions played an important role in our project and were the main reason for our requirement changes. • Example: We originally decided to implement our own shopping cart, but because of time restrictions of the project, we changed the requirement and decided to use Amazon’s shopping cart instead

  36. References • https://widgets.amazon.com/ • https://affiliate-program.amazon.com • http://aws.amazon.com/ • http://aws.amazon.com/ec2/

More Related