[hibernate-issues] [Hibernate-JIRA] Created: (HV-432) Create a Java agent to enfore method level validation (design by contract)

Hardy Ferentschik (JIRA) noreply at atlassian.com
Wed Feb 9 07:54:05 EST 2011


Create a Java agent to enfore method level validation (design by contract)
--------------------------------------------------------------------------

                 Key: HV-432
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-432
             Project: Hibernate Validator
          Issue Type: Task
          Components: engine
    Affects Versions: 4.2.0.Final
            Reporter: Hardy Ferentschik
             Fix For: 4.x


Google released Contract for Java - http://code.google.com/p/cofoja/ - which is a Java implementations for Design by Contract. Googles version uses a set of annotations, an annotation processor and a runtime java agent (see their documentation).

We have all the pieces for doing this as well.
* We have the constraint annotations 
* We have an annotation processor (obviously it does something else now, but we know how to write one)
* And we have Byteman

I wonder whether we couldn't put these things together and create our own Contract for Java.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list