<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Enums &amp; GWT</title>
	<atom:link href="http://chaoticjava.com/posts/enums-gwt/feed/" rel="self" type="application/rss+xml" />
	<link>http://chaoticjava.com/posts/enums-gwt/</link>
	<description>The internet, design patterns, frameworks and Java</description>
	<lastBuildDate>Sat, 05 Nov 2011 18:39:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Chaotic Java &#187; Blog Archive &#187; Enums, Generics and for-each loops in GWT 1.5</title>
		<link>http://chaoticjava.com/posts/enums-gwt/comment-page-1/#comment-29346</link>
		<dc:creator>Chaotic Java &#187; Blog Archive &#187; Enums, Generics and for-each loops in GWT 1.5</dc:creator>
		<pubDate>Sat, 05 Apr 2008 05:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/enums-gwt/#comment-29346</guid>
		<description>[...] the set of Java language features added to Java 5 by adding support for enums (much better than my workaround enum), generics and for-each loops. GWT itself even uses generics for the asynchronous calls, so that [...]</description>
		<content:encoded><![CDATA[<p>[...] the set of Java language features added to Java 5 by adding support for enums (much better than my workaround enum), generics and for-each loops. GWT itself even uses generics for the asynchronous calls, so that [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Smith</title>
		<link>http://chaoticjava.com/posts/enums-gwt/comment-page-1/#comment-23706</link>
		<dc:creator>Adrian Smith</dc:creator>
		<pubDate>Thu, 07 Feb 2008 12:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/enums-gwt/#comment-23706</guid>
		<description>FYI: This has slightly different semantics from the Java 5 enums, as the Java enums are all singletons, and thus can be compared by identity, and don&#039;t need to use the equals method.

http://www.databasesandlife.com/java-5-enums-can-be-compared-with/</description>
		<content:encoded><![CDATA[<p>FYI: This has slightly different semantics from the Java 5 enums, as the Java enums are all singletons, and thus can be compared by identity, and don&#8217;t need to use the equals method.</p>
<p><a href="http://www.databasesandlife.com/java-5-enums-can-be-compared-with/" rel="nofollow">http://www.databasesandlife.com/java-5-enums-can-be-compared-with/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://chaoticjava.com/posts/enums-gwt/comment-page-1/#comment-17844</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 30 Nov 2007 15:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/enums-gwt/#comment-17844</guid>
		<description>Sorry, to correct that last post, I meant to say &quot;I don&#039;t use any of that stuff in client-side code,&quot; not &quot;I don&#039;t use any of that stuff in Eclipse&quot;.</description>
		<content:encoded><![CDATA[<p>Sorry, to correct that last post, I meant to say &#8220;I don&#8217;t use any of that stuff in client-side code,&#8221; not &#8220;I don&#8217;t use any of that stuff in Eclipse&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://chaoticjava.com/posts/enums-gwt/comment-page-1/#comment-17843</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 30 Nov 2007 15:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/enums-gwt/#comment-17843</guid>
		<description>You can feel free to use any level of JDK to compile, along with those options, when compiling your server code.  GWT does its own compiling directly from source, and so as long as you keep track of what&#039;s client (and server) and what&#039;s ONLY server, you&#039;re fine. 

For example, my servlets and server code all use Generics, for-each loops, etc.  I just make sure I don&#039;t use any of that stuff in Eclipse.  It takes some getting used to (for example, my Eclipse project is set against 1.5, so not everything that compiles in the project would compile under GWT), but it&#039;s worth having stuff like Generics on the server side.

When it comes to anything serialized over RPC, though, you&#039;re stuck with 1.4 on both the client and the server, as you&#039;ve said.  Clever solution anyway, and hopefully GWT 1.5 will come out soon (which includes J2SE 1.5 support)</description>
		<content:encoded><![CDATA[<p>You can feel free to use any level of JDK to compile, along with those options, when compiling your server code.  GWT does its own compiling directly from source, and so as long as you keep track of what&#8217;s client (and server) and what&#8217;s ONLY server, you&#8217;re fine. </p>
<p>For example, my servlets and server code all use Generics, for-each loops, etc.  I just make sure I don&#8217;t use any of that stuff in Eclipse.  It takes some getting used to (for example, my Eclipse project is set against 1.5, so not everything that compiles in the project would compile under GWT), but it&#8217;s worth having stuff like Generics on the server side.</p>
<p>When it comes to anything serialized over RPC, though, you&#8217;re stuck with 1.4 on both the client and the server, as you&#8217;ve said.  Clever solution anyway, and hopefully GWT 1.5 will come out soon (which includes J2SE 1.5 support)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avah</title>
		<link>http://chaoticjava.com/posts/enums-gwt/comment-page-1/#comment-12861</link>
		<dc:creator>Avah</dc:creator>
		<pubDate>Thu, 11 Oct 2007 18:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/enums-gwt/#comment-12861</guid>
		<description>For clarity&#039;s sake: In private exchange of letters, I&#039;ve approved it - and the code snippet can be found &lt;a href=&quot;http://www.wikicodia.com/wiki/GWT_Enum&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.

Thanks Mohammad!</description>
		<content:encoded><![CDATA[<p>For clarity&#8217;s sake: In private exchange of letters, I&#8217;ve approved it &#8211; and the code snippet can be found <a href="http://www.wikicodia.com/wiki/GWT_Enum" rel="nofollow">here</a>.</p>
<p>Thanks Mohammad!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad</title>
		<link>http://chaoticjava.com/posts/enums-gwt/comment-page-1/#comment-12808</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Wed, 10 Oct 2007 07:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/enums-gwt/#comment-12808</guid>
		<description>Can I post this code snippet to Wikicodia?</description>
		<content:encoded><![CDATA[<p>Can I post this code snippet to Wikicodia?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avah</title>
		<link>http://chaoticjava.com/posts/enums-gwt/comment-page-1/#comment-12301</link>
		<dc:creator>Avah</dc:creator>
		<pubDate>Thu, 04 Oct 2007 14:38:30 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/enums-gwt/#comment-12301</guid>
		<description>Kris: Maybe I was misunderstood. I didn&#039;t mean I could compile with 1.5 options - I just compiled the server code against the JDK 1.6 (actually, the entire project - but obviously only the server code is being compiled using javac).

Basically, just point your dependency libraries (or classpath) to the JDK 1.6&#039;s library. Then you can use stuff like &lt;code&gt;java.util.concurrency&lt;/code&gt; etc.</description>
		<content:encoded><![CDATA[<p>Kris: Maybe I was misunderstood. I didn&#8217;t mean I could compile with 1.5 options &#8211; I just compiled the server code against the JDK 1.6 (actually, the entire project &#8211; but obviously only the server code is being compiled using javac).</p>
<p>Basically, just point your dependency libraries (or classpath) to the JDK 1.6&#8242;s library. Then you can use stuff like <code>java.util.concurrency</code> etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://chaoticjava.com/posts/enums-gwt/comment-page-1/#comment-12286</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Thu, 04 Oct 2007 06:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/enums-gwt/#comment-12286</guid>
		<description>Hi,
  If I create an Eclipse project for GWT it creates a package for server code. How can I just compile the server package with 1.5 option? Or is there a better way to structure your project so you can leverage 1.5+ features on the server side code.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  If I create an Eclipse project for GWT it creates a package for server code. How can I just compile the server package with 1.5 option? Or is there a better way to structure your project so you can leverage 1.5+ features on the server side code.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

