Example web app made in Netbeans with Java Server Pages and a JDBC connection to Derby.