I personally haven't tried NetBeans in many years, so couldn't say specifically what you need to do, but here are some points to consider:
* The correct name of the type is javax.validation.Constraint * This is not an interface to be implemented, but an annotation to be applied to the constraint annotation you define. * You must be sure that your project has the Java Bean Validation API available as a compilation dependency in order to create your custom constraint * You must have a Java Bean Validation implementation, such as Apache BVal, available at runtime in order to use or test your custom constraint It seems as though you need a good basic Java Bean Validation tutorial. If you google the phrase "Java Bean Validation tutorial" you will get a number of promising hits. Matt On Tue, Feb 25, 2014 at 10:17 AM, enombe ewane <[email protected]>wrote: > am trying to implement javax.validation.constaint on netbeans 7.3.1 > but seems it does not exist.what else can i do > > On 2/23/14, Matt Benson <[email protected]> wrote: > > The main goal of the Apache BVal project is to provide implementations of > > the various versions of the Java Bean Validation specification. This > being > > the case, I admit I'm having a bit of a hard time understanding what it > is > > you want to know. > > > > Matt > > On Feb 23, 2014 6:33 PM, "enombe ewane" <[email protected]> wrote: > > > >> i want to participate in this project but what i find difficult is why > >> the java bean validation is implemented here > >> > >> On 2/22/14, Umesh Awasthi <[email protected]> wrote: > >> > I believe before starting to get hang on the code, you need to get > >> > understanding about JSR303 specification , what it is , why it is > being > >> > used etc. > >> > > >> > Also your question are still not very clear? > >> > > >> > 1. Do you want to learn it so as you can contribute to bean validation > >> > project? > >> > 2. Do you want to use it for your own application (for validation) > >> > > >> > In case you want to go for first option, you need to have clear > >> > understanding about JSR303 specifications and for the second options > >> > you > >> > have to be clear what all you want to use and can ask those specific > >> > questions > >> > > >> > hope it will help you > >> > > >> > > >> > > >> > > >> > On Sun, Feb 23, 2014 at 1:12 PM, enombe ewane <[email protected]> > >> > wrote: > >> > > >> >> i Will want something to help me start start studying the source > codes > >> >> something i should know before i beging > >> >> > >> > > >> > > >> > > >> > -- > >> > With Regards > >> > Umesh Awasthi > >> > http://www.travellingrants.com/ > >> > > >> > > >
