1 Reply Latest reply on Oct 17, 2006 6:36 AM by Guy Coleman

    EJB client form validation?

    Michael Tucker Newbie

      I have a swing application accessing EJBs. When users enter information into a form on the client I want to be able to validate the lengths of text fields etc before they actually get submitted to the database. Does anyone know a good way to do this? I don't want to have to specify all the fields lengths again in my code if i've already got them in my xdoclet tags. Is there a way to generate some sort of validator from the tags that i can call before submitting the fields to the databse and then catching the exceptions if it's too long?