/COMP5347A2

A simple E-Commerce System consists of three components: a web front end powered by Struts2 running on local host, a shipping component running on a separate server within the same administrative domain and an inventory component running on third party premises. The inventory component provides basic product information such as product id, name and price. Suppose our simple E-Commerce System specialises in selling photos. We use flickr.com to simulate an inventory component and communicate with it through flickr API

Primary LanguageJava

COMP5347A2

##Technology involved Struts2, Ajax, REST, Third-party APIs(Flickr), mysql

##Project specification refer to Assignment.pdf

##How to run ###Requirements

  • Two different Tomcat server
  • MySql server
  • Java 1.7 or later

###steps

  1. execute A2.sql script in mysql server
  2. config two seperate Tomcat server one for front end:
  • Tomcat Admin port number: 8005
  • HTTP/1.1 port number: 8090
  • AJP/1.3 port number: 8009

another for shiping component

  • Tomcat Admin port number: 9005
  • HTTP/1.1 port number: 9000
  • AJP/1.3 port number: 9009
  1. modify frontend and shipping pom.xml individually in order to match the tomcat dependencies to your own runtime target
  2. build the project and deploy them to each server accordinglly