struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Tiernay <btier...@hotmail.com>
Subject RE: In regards to Struts 2 Validation.
Date Tue, 11 Dec 2007 00:37:39 GMT

I believe that OVal will soon be a referenced as existing technology for this JSR:

http://sourceforge.net/forum/forum.php?thread_id=1640398&forum_id=488109

 As far as I can tell, they have the most powerful set of features including support for:

- AOP (AspectJ)
- Spring integration (Validation interface)
- BeanShell / ruby / ognl / js / mvel / groovy  constraint expressions
- JPA annotation validation hooks (ex @javax.persistence.OneToOne => @net.sf.oval.constraints.AssertValid)
- Profiles (Multiple configurations per class that allow for runtime switching)
- Object invariants / preconditions / postconditions
- XML annotation overriding

It's worth considering some of there approaches for s2 validation, if not leveraging OVal
as a s2 plugin.

> On Dec 10, 2007 7:02 AM, Philip Luppens  wrote:
>> On Dec 9, 2007 7:42 AM, Tom Schneider  wrote:
>>> Just wanted to chime in here. I have very specific goals that I am
>>> trying to achieve, so I thought I would explain them in detail. (this
>>> is something I've been tasked with at work)
>>> [snip]
>>>
>>> So that's where I'm currently at. I haven't had much time yet to really
>>> dig into this yet. Any additional ideas/suggestions would be greatly
>>> appreciated.
>>> Tom
>>
>> Are there any known implementations of JSR 303 ("Bean Validation") [1]
>> yet ? Jason Carreira started that one some time ago, (based on XWork's
>> validation, I assume). I thought the spec was pretty dead until I saw
>> they're actually giving a session at JavaPolis this week.
>
> The spec lead has recently been changed from Jason to Emmanuel Bernard
> (Red Hat) so there should be progress on this JSR now.
>
> Niall

>

_________________________________________________________________
Discover new ways to stay in touch with Windows Live! Visit the City @ Live today!
http://getyourliveid.ca/?icid=LIVEIDENCA006
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message