Since there are Apache license compatible implementations, +1 for the adapter approach.
On Thu, Feb 26, 2009 at 12:45 PM, Gerhard Petracek < [email protected]> wrote: > ok i just added the details to ensure that there are no misunderstandings. > > -> +1 > > > regards, > gerhard > > > > 2009/2/26 Matthias Wessendorf <[email protected]> > >> On Thu, Feb 26, 2009 at 11:19 AM, Gerhard Petracek >> <[email protected]> wrote: >> > hello matthias, >> > >> > yes - the license of the api (and also of hibernate validator v4 as ri >> > impl.) is asl 2.0 >> > anyway, you can use every impl.! currently just the api of the spec. is >> >> yes, I just wanted to say, IF apache offers an impl, we should go with >> that... >> >> -M >> >> > required. >> > the current maven dep. of this module is: >> > ... >> > <groupId>javax.validation</groupId> >> > <artifactId>validation-api</artifactId> >> > ... >> > >> > at the moment the hello world example uses the ri impl. however, that >> isn't >> > a dependency of the integration module. >> > -> we can change the dependency of the example at any time. >> > >> > regards, >> > gerhard >> > >> > >> > >> > 2009/2/26 Matthias Wessendorf <[email protected]> >> >> >> >> On Thu, Feb 26, 2009 at 9:41 AM, Gerhard Petracek >> >> <[email protected]> wrote: >> >> > hello, >> >> > >> >> > this week i started with the integration of jsr 303. >> >> > >> >> > the good news: the base mechanism is already working (without >> changing >> >> > existing api's) >> >> > the very good news: it's working with the existing jsf versions (as >> you >> >> > can >> >> > see in the jsr 303 public draft it normally requires some >> adjustments) >> >> > >> >> > instead of an own impl. of the spec. i suggest an adapter for >> existing >> >> > implementations which just uses the bean-validation api. -> if a >> project >> >> >> >> +1 on an adapter, since the RI (as far as I know) is licensed to ASL >> 2.0 >> >> (kudos to JBoss/the EG for that) >> >> >> >> I am not sure if the Jakarta folks (they have some simple validations) >> >> plan >> >> to write one, if so we should (IMO) focus on that one... >> >> >> >> -M >> >> >> >> > already uses bean-validation outside the view-layer, you just have >> one >> >> > bean-validation implementation for the whole project. furthermore, >> >> > extval >> >> > will additionally provide some of its currently available features >> [1] >> >> > (as >> >> > much as possible). >> >> > >> >> > regards, >> >> > gerhard >> >> > >> >> > [1] >> http://people.apache.org/~gpetracek/myfaces/extval/comparison.html<http://people.apache.org/%7Egpetracek/myfaces/extval/comparison.html> >> >> > >> >> >> >> >> >> >> >> -- >> >> Matthias Wessendorf >> >> >> >> blog: http://matthiaswessendorf.wordpress.com/ >> >> sessions: http://www.slideshare.net/mwessendorf >> >> twitter: http://twitter.com/mwessendorf >> > >> >> >> >> -- >> Matthias Wessendorf >> >> blog: http://matthiaswessendorf.wordpress.com/ >> sessions: http://www.slideshare.net/mwessendorf >> twitter: http://twitter.com/mwessendorf >> > > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > -- Hazem Ahmed Saleh Ahmed Author of (The Definitive Guide to Apache MyFaces and Facelets): http://www.amazon.com/Definitive-Guide-Apache-MyFaces-Facelets/dp/1590597370 Web blog: http://www.jroller.com/page/HazemBlog [Web 2.0] Google Maps Integration with JSF: http://code.google.com/p/gmaps4jsf/ http://www.theserverside.com/tt/articles/article.tss?l=IntroductiontoGMaps4JSF
