Created a context.xml file so I can connect to a MySQL Database server.
Created a DatabaseHelper class, that should assist with various database
activities (Getting a DataSource, etc...). Created a TweetServlet that
will act as the /messages endpoint.
Created a framework for accessing and querying the database. For now
this is in the TweetModel but I think I will refactor it. Also added a
doGet stub to the TweetServlet.
The application is now able to connect to a MySQL server and use it. I
run the MySQL server inside a Vagrant VM instance so I added a
Vagrantfile to the project.
Pulling all the tweets from the database and displaying them via a jsp
page.
Refactored the functionality to execute SQL queries.
Changed TweetServlet mapping
Functionality to display a tweet by it's id. Refactored the code for
accessing the database into something that resembles a pseudo DAO
object. Added a jsp to display a tweet by it's id.
Added front-end files to the project. Integration was successful, also
jsp repetition of common elements solved.
Added a base tag to the header jsp, so request to the css file are not
routed to a servlet.
Added functionality to show tweets by their author.
Finished creating release - endpoint for tweets implemented.