ref: https://netbeans.org/kb/docs/web/mysql-webapp.html