On Saturday 28 March 2009 20:42:32 Musachy Barroso wrote:
> I wanted to get some discussion going on the possibility of using a
> third party framework for validation, and deprecating XWork's one in
> the future. If there is a good library, well documented and powerful,
> which does all we need, I don't really see the point in maintaining
> our own implementation. Thoughts?
>
> //look mom, I am tryin' to deprecate more code!
>
> musachy
>

Advantages - 
1. Most likely less code for us to maintain
2. Oval implements the closest thing to a validation standard for beans in 
java that I know of
3. Possibly reducing the training curve of new developers adopting struts
4. Being abstracted to a plugin allows for future enhancement via dropping in 
other validation implementations

Disadvantage - 
- We don't own Oval and will not have much say in its future. I would say that 
if using OGNL should have taught us anything is that if we want to use it as a 
dependency, we should volunteer on that side of things so that we can make 
sure it is maintained in the future (probably not a problem with Oval, but 
wouldn't hurt).

Despite listing a disadvantage, I'm still +1 on this. I think users will 
likely welcome the added features of validation through Oval.

-Wes



-- 

Wes Wannemacher
Author - Struts 2 In Practice 
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to