<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Transparently adding metadata to POJOs</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Mon, 20 May 2013 17:29:18 -0400</pubDate>


    <item>

        <title>Why?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[Could you please spare a thought for the people who will have to work on this later. Transparent means invisible. <br><br>If this breaks or needs change, you're in trouble. As soon as you have to change it, you are faced with a load of invisible layers...]]></description>
        

        <pubDate>Thu, 09 Mar 2006 17:55:05 -0500</pubDate>

        

        <jf:creationDate>Thu, 09 Mar 2006 17:55:05 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 09 Mar 2006 17:55:05 -0500</jf:modificationDate>
        <jf:date>Mar 9, 2006</jf:date>
        <jf:author>George Petrov</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Nice but please use real Java code for constraints</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[Since these are merely the most simplest of constraints. Adding constraints about the mime type, content transformation, dimension attributes, etc etc are not directly mappable to the Java type of the bean property. For example:<br><br>addConstraint(new...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 17:56:37 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 17:56:37 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 17:56:37 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>gbevin</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Nice but please use real Java code for constraints</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[<blockquote>MaxLength and NotNull can both be used by database structure creation logic, form building logic, validation logic, ...</blockquote><br>Why don't you transform { String#length() } and { Object != null } to database structure creation logic,...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 16:28:06 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 16:28:06 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 16:28:06 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Carl Rosenberger</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Nice but please use real Java code for constraints</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[Carl, you can write those if you want. By implementing <a href="http://rifers.org/docs/api/com/uwyn/rife/site/MetaDataBeanAware.html" target="_blank">MetaDataBeanAware</a>, you received the instance of person that it's associated with.<br><br>However,...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 15:41:22 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 15:41:22 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 15:41:22 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>gbevin</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Nice but please use real Java code for constraints</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[<blockquote>The simplest example of such metadata would look something like the following, <br><br>&nbsp;&nbsp;public class Pet {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private String name;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public void...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 15:15:10 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 15:15:10 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 15:15:10 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Carl Rosenberger</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Transparently adding metadata to POJOs</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[The MetaData super type is not needed, the only thing that actually needs to be present is the MetaDataMerged interface. This will make the base class automatically implement the interfaces of the meta data class through delegation. I have not much...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 13:09:14 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 13:09:14 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 13:09:14 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>gbevin</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Transparently adding metadata to POJOs</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[I don't pretend to fully understand what your MetaData supertype does, but in AspectJ if you wanted to make Pet support Validation as a separate aspect, you'd write this:<br><br>public aspect PetValidationSupport {<br><br>&nbsp;&nbsp;declare parents :...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 12:57:42 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 12:57:42 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 12:57:42 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Adrian Colyer</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Transparently adding metadata to POJOs</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[Hi Dave,<br>hmm it seems that the example has been chosen by Steph with RIFE's validation system in mind. It is a bit different than others in that it collects validation errors and invalid subjects in a Validated object instance. It's very convenient to...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 12:03:22 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 12:03:22 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 12:03:22 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>gbevin</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Transparently adding metadata to POJOs</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[The classloader/bytecode manipulation is cool, but couldn't you just do:<br><br>Validated validated = Validator.getValidated(pet);]]></description>
        

        <pubDate>Tue, 07 Mar 2006 11:53:42 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 11:53:42 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 11:53:42 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>David Tauzell</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Transparently adding metadata to POJOs</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39308</link>

        

        
            <description><![CDATA[<a href="http://rifers.org/blogs/gbevin/2006/3/2/rife_1_4_released" target="_blank">RIFE 1.4</a> has implemented a mechanism that is able to add metadata to POJOs via the classloader without modifying the POJOs themselves. This feature is automatic,...]]></description>
        

        <pubDate>Mon, 06 Mar 2006 10:08:46 -0500</pubDate>

        

        <jf:creationDate>Mon, 06 Mar 2006 10:08:46 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 06 Mar 2006 10:08:46 -0500</jf:modificationDate>
        <jf:date>Mar 6, 2006</jf:date>
        <jf:author>Steph Meslin-Weber</jf:author>
        <jf:replyCount>9</jf:replyCount>
    </item>



</channel>
</rss>

