NamedQueries for UserEntity and ProductEntity. Simplified LoginBean by just allowing a NamedQuery to do the password check.
Set up seed data using maven-sql-plugin! After you build and deploy, right-click the project and hit "Test". It'll add users named "superuser", "admin", "manager", and "cashier", all with the password "test"