<?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 - Are single element annotations a disaster waiting to happen?</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>Sat, 25 May 2013 23:04:38 -0400</pubDate>


    <item>

        <title>Re: Are single element annotations a disaster waiting to happen?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[James, to the user of annotations is doesn't matter a single bit if they contain the functionality themselves or if through inspection the functionality is given. When I talked about &quot;use&quot; I obviously mean the users of your library, not the...]]></description>
        

        <pubDate>Sat, 11 Mar 2006 03:15:00 -0500</pubDate>

        

        <jf:creationDate>Sat, 11 Mar 2006 03:15:00 -0500</jf:creationDate>
        <jf:modificationDate>Sat, 11 Mar 2006 03:15:00 -0500</jf:modificationDate>
        <jf:date>Mar 11, 2006</jf:date>
        <jf:author>gbevin</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Are single element annotations a disaster waiting to happen?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[Geert,<br><br>&quot;you use them as methods or functions&quot;?<br><br>Methods/functions have functionality in them.  Annotations do not.  Annotations merely hold information, they do not provide any functionality.  That's why we have to use the...]]></description>
        

        <pubDate>Wed, 08 Mar 2006 12:28:52 -0500</pubDate>

        

        <jf:creationDate>Wed, 08 Mar 2006 12:28:52 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 08 Mar 2006 12:28:52 -0500</jf:modificationDate>
        <jf:date>Mar 8, 2006</jf:date>
        <jf:author>James Carman</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>And that's just the tip of the iceberg...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[<blockquote>my question was:  how did it end up sucking so bad </blockquote>Of course, you are entitled to your opinion, but had you taken part in the debates back then, you would understand all the compromises and decisions that were made better and I'm...]]></description>
        

        <pubDate>Wed, 08 Mar 2006 10:19:39 -0500</pubDate>

        

        <jf:creationDate>Wed, 08 Mar 2006 10:19:39 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 08 Mar 2006 10:19:39 -0500</jf:modificationDate>
        <jf:date>Mar 8, 2006</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>XML confiig is a disaster</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[<blockquote>How can you say that annotations is a night mare compared to XML? In an XML you have to keep track of the method name and signature and that is a maintenance nightmare, if anything.</blockquote>Do you really think that having the webservice...]]></description>
        

        <pubDate>Wed, 08 Mar 2006 03:09:52 -0500</pubDate>

        

        <jf:creationDate>Wed, 08 Mar 2006 03:09:52 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 08 Mar 2006 03:09:52 -0500</jf:modificationDate>
        <jf:date>Mar 8, 2006</jf:date>
        <jf:author>Guido Anzuoni</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>And that's just the tip of the iceberg...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[<blockquote>you're two years too late and I don't really want to dive back into all this.The spec is there and it's final, so how about discussing how to use it well instead of trying to change the past?</blockquote><br>You're right, and I'm just...]]></description>
        

        <pubDate>Wed, 08 Mar 2006 00:54:53 -0500</pubDate>

        

        <jf:creationDate>Wed, 08 Mar 2006 00:54:53 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 08 Mar 2006 00:54:53 -0500</jf:modificationDate>
        <jf:date>Mar 8, 2006</jf:date>
        <jf:author>Clinton Begin</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>And that's just the tip of the iceberg...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[<blockquote>  I seriously don't get it Cedric. </blockquote>Obviously.<br><blockquote> How did this get screwed up so bad?  I'm seriously losing faith in Sun and the JCP, especially when I'm seeing better stuff come from the ivory tower at...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 22:33:39 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 22:33:39 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 22:33:39 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>And that's just the tip of the iceberg...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[<blockquote>It would have broken existing code.</blockquote><br>I think that's a big load of BS.  Using very simple pattern matching you could determine the difference between:<br><br>&nbsp;&nbsp;public annotation Todo {<br>&nbsp;&nbsp;}<br><br>And...]]></description>
        

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

        

        <jf:creationDate>Tue, 07 Mar 2006 10:38:03 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 10:38:03 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Clinton Begin</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Are single element annotations a disaster waiting to happen?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[<blockquote>@interface Param2 is about as ugly as it gets imho. Of course if there's no option, you have to do that, but it's a last resource. </blockquote>It's not the last resort, it's the only resort if you want to evolve your API without breaking any...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 09:04:16 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 09:04:16 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 09:04:16 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>XML confiig is a disaster</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[Annotations only make sense when there's a one-to-one mapping between the meta data and the entities in your class. Whenever the meta data is more structured and provides concepts that are not directly related to classes, methods, properties, or than...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 04:32:05 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 04:32:05 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 04:32:05 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>gbevin</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>XML confiig is a disaster</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[How can you say that annotations is a night mare compared to XML? In an XML you have to keep track of the method name and signature and that is a maintenance nightmare, if anything.]]></description>
        

        <pubDate>Tue, 07 Mar 2006 04:19:59 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 04:19:59 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 04:19:59 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Bj??rn Caroll</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Are single element annotations a disaster waiting to happen?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[Come on Cedric, you don't *use* annotations as types, you use them as methods or functions. You have a name, with brackets and a series of name-value pairs. You don't implement an interface or extend an abstract class.<br><br>Euhm @interface Param2 is...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 02:05:57 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 02:05:57 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 02:05:57 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>gbevin</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Are single element annotations a disaster waiting to happen?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[<blockquote>When I have a method that has additional arguments,</blockquote>Annotations are *types*, you can't compare them to methods.<br><br>Add a method to an interface, you break clients.<br><br>Add an non-default annotation type member to an...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 01:57:28 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 01:57:28 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 01:57:28 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>Are single element annotations a disaster waiting to happen?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[Cedric, I specifically talked about &quot;single element annotations&quot; and said nothing about &quot;the entire annotation design&quot;. Annotations are not meant to have the same purpose of use as regular methods or interfaces in that you don't...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 01:43:38 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 01:43:38 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 01:43:38 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>gbevin</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>


    <item>

        <title>Are single element annotations a disaster waiting to happen?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[Geert,<blockquote>Cedric,instead of being forced to use 'value' as the single element name, you can from the beginning give everything a semantically correct name which continues to be used for the entire life of the annotation. Now, everybody is forced...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 01:25:31 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 01:25:31 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 01:25:31 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>6</jf:replyCount>
    </item>


    <item>

        <title>And that's just the tip of the iceberg...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=39305</link>

        

        
            <description><![CDATA[<blockquote>What, pray tell, would have been wrong with this:<br><br>public annotation Todo {<br>&nbsp;&nbsp;String whatToDo = &quot;nothing&quot;;<br>}</blockquote>It would have broken existing code.<br><br>Would have been fun to have you on the Experts...]]></description>
        

        <pubDate>Tue, 07 Mar 2006 01:22:19 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Mar 2006 01:22:19 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Mar 2006 01:22:19 -0500</jf:modificationDate>
        <jf:date>Mar 7, 2006</jf:date>
        <jf:author>Cedric Beust</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>



</channel>
</rss>

