Up til now, in part 1 and part 2 there was hardly any validation. Everything was of type String, and the only constraint we implemented was for some fields to be required. That’s not very real world. Let’s make our application more robust by adding some extra constraints such as checks on correct date and e-mail formatting, a check on whether the provided username is unique and checks on min and max length of strings. For this purpose we are using JSF validation (mainly). (more…)
December 22, 2007
December 17, 2007
Part 2 of 3 Basic web app extended to full CRUD
December 15, 2007
Part 1 of 3 Basic example web app with Glassfish, NetBeans 6.0, JSF and EJB3
Keywords: DAO, MVC, JSF, Session Facade, NetBeans 6.0, EJB3, GlassfishV2
If you’re looking for a walkthrough on setting up a basic web application using the DAO / MVC patterns with Glassfish V2 you’ve come to the right place. Here’s a HOWTO.
(more…)