[jboss-user] [EJB/JBoss] - EJB client form validation?

tucker do-not-reply at jboss.com
Mon Oct 16 05:03:14 EDT 2006

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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978472#3978472

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978472

More information about the jboss-user mailing list