Servlet that adds test data to the DB and creates Administrator user.
1. Go to http://localhost:8080/Cinema/AddTestDB .  DO THIS JUST ONCE!!!
2. Login with: Username: admin@mail.com Password: 111111.
3. Explore the DB via http://localhost:8080/Cinema/test.


Check out "\readme\JDBC Realm" so you can set up the JDBC Realm user for authentication. You only have to do it once.

To set-up the DB: Netbeans -> Services -> Java DB [Right click] -> Create Database

DB Name: CinemaDB
DB Username: nbuser
DB Password: nbuser

Then check out the persistence.xml. :]