Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

S2 : XML vs annotation validation - thoughts?

j alex

2007-08-07

Replies:

Hi,

I am about to migrate a S1 app to S2 and need to decide which route to take
regarding validations - XML or annotations? . Our app has a lot of custom
validators involving rules dependent on multiple fields. Is there a specific
benefit to using annotations vs XML ?

Thanks,
Joseph
©2008 junlu.com - Jax Systems, LLC, U.S.A.