pom.xml - Added Spring and Hibernate dependencies.
LocationProviderController.java - Added StateCodeList for dropdown on new location page.
Image.java - Added JPA annotations.
Location.java - Added JPA and Hibernate annotations.
LocationProvider.java - Added JPA and Hibernate annotations.
User.java - Added JPA annotations.
LocationProcessingException - Thrown by service when trying to persist to database.
UserAlreadyExistsException - Thrown if user name already exists when creating new account.
LocationProviderService.java - Added 2 new methods: authenticateUser and addLocation.
LocationProviderServiceImpl.java - Added code to createUser to check for existence of username in database. Added authenticateUser and addLocation methods.
HibernateUtil.java - Changed to use AnnotationConfiguration class to process JPA and Hibernate annotations.
hibernate.cfg.xml - Changed mapping for classes instead of resources because using annotations instead of hbm.xml files.
web.xml - Changed the url pattern for the dispatch servlet to listen for more generic urls
addLocation.jsp - New file to add new location information.
index.jsp - Changed to use javascript to assign the method and action attributes of the form.
newLocationProvider.jsp - Changed the modelAttribute parameter of the form to use commandName. White space changes.
provider.jsp - Added code to display provider information and location information.
style.css - New file for formatting web pages.