|
From: Seth L. <se...@eh...> - 2004-03-08 23:10:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sam Newman wrote: | Keith, | | At present can validation rules only be configured from in code | attributes? Many people will not be happy using this quite new (and | relatively non-standard) technique. I appreciate this might become more | widespread with the metadata support in 1.5 but it will be a while | before this is universally being used. As it stands, many people dislike | the need for tools like XDoclet. Is there currently support for reading | validation rules from a config file? Much of Keith's work is introducing new interfaces and classes to make writing validators easier. One possible implementation is an attributes based validator. Other options include an implementation based on commons-validator, which uses an external XML file for its rules. Daniel Miller is working on this exact code. If you are waiting for metadata support but don't want jdk 1.5 or xdoclet, look into commons-attributes. It's quite nice. In short, Keith is working on two things: new validation classes and interfaces /and/ an implementation of a commons-attributes validator. Daniel is working on the commons-validator implementation. As with Spring, there are many choices! :) Seth -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFATPl05EIB1scRes8RAivsAJ4kZwNnppDhmrd3LJ+ctf+SGCKoVwCfXc6D AT8Eh5tib2QWx+hZBVsuf68= =odIu -----END PGP SIGNATURE----- |