Description
Extend Assignment#4 to add two the following two features:
1. Deal Match Guarantees feature.
2. Recommender feature
Required Functionalities for Deal Match
Guarantees Feature:
See below an illustration for a screen-shot of BestDeal web site for the
required Deal Match feature
Use the python script provided to create the DealMatches.txt
File
The python script will connect to Twitter server in order to get
the current deals of BestBuy under the screen_name
BestBuy_Deals
The python script will connect to MySQL server for BestDeal app
in order to get the list of products
The python script will compare the product names retrieved from
MySQL server to the products names retrieved from
screen_name BestBuy_Deals on Twitter server and it will write
the tweets that have the products names that match the product
names retrieved from MySQL server in the product table into
DealMatches.txt file.
When BestDeal app is started by Tomcat server, it will read ANY
2 Tweets/lines from DealMatches.txt file and display them on
BestDeal app homepage along with links to the individual products
that BestDeal app can match of the offered/displayed deals by
BestBuy on the homepage of BestDeal app.
All new code added for this feature shall be placed in a class called
DealMacthes.java
Display the respective
products that are
available in best buy
tweets
Display the tweets for
products that matches
with best buy Products
If no data for any
product found in best
buy twitter account
display no offers
found
Required Functionalities for Recommender
Feature:
Based on the history of the user purchases and the transactions table that
you created in the prior assignment and after the user makes a purchase,
your enterprise web application, shall make three product recommendations
for the logged in user, see below an illustration.
Your recommendation must exclude products that are returned and
transactions that are disputed
The application
recommended the
following products after
the purchase.

