I've created a project in Netbeans using PrimeFaces, JavaDB, Glassfish 4.1.1 and JavaEE8. Here's three things that I can't solve by myself: 1. I can't create new "faktura" - the project doesn't write anything to "klient" table and I can't match "faktura" with "usluga". 2. I don't know how to change DB fields "id" to be autonumeric. 3. Combobox choice should be more user-friendly.