Glassfish, MySQL, REST, and JavaFX