DISQUS

andrewmccall.com: I’ve made a little JSR303 annotation library

  • John Hunsley · 5 months ago
    Nice 1, I like small wrapper packages like this, small steps!
  • andrewmccall · 5 months ago
    Hey John, It's a bit rough around the edges. I was wanted to use the JSR 303 stuff on my beans and let Spring annotate them in the front end like I'd been doing with earlier Hibernate Annotations versions. That was pretty much the main goal and it's just about the least amount of code that can easily accomplish it. Then of course there were some validations I wanted, like email addresses, urls and stuff so I pulled them all out into a separate project and I figured that since I'd find it useful someone else might too. So take it and play with it.

    I'll eventually get around to adding a licence, but it'll be something like Apache 2.

    Got any validation code lying around you want to contribute? I know you've got some phone number stuff. ;)