<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>try {} catch () &#187; GWT</title>
	<atom:link href="http://blog.gerardin.info/archives/category/gwt/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.gerardin.info</link>
	<description>Java, Agile, the Web and other nice things</description>
	<lastBuildDate>Tue, 14 Jun 2011 09:48:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>GWT Designer now available for free!</title>
		<link>http://blog.gerardin.info/archives/754</link>
		<comments>http://blog.gerardin.info/archives/754#comments</comments>
		<pubDate>Tue, 21 Sep 2010 10:50:52 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[instantiations]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=754</guid>
		<description><![CDATA[In case you missed it, Google announced last week that the tools from the rcently acquired company Instantiations were now available for free! This is a great news because it includes GWT Designer, the famous (and only so far) graphical designer for GWT&#8230; It&#8217;s the perfect complement to the Google plugin for Eclipse. Google Web [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gerardin.info/wp-content/uploads/2009/04/gwt-logo.png" class="liimagelink"><img class="alignleft size-full wp-image-140" style="border: 0pt none; margin: 8px;" title="Logo GWT" src="http://blog.gerardin.info/wp-content/uploads/2009/04/gwt-logo.png" alt="" width="100" height="100" /></a>In case you missed it, Google announced last week that the tools from the rcently acquired company Instantiations were now available for free!</p>
<p>This is a great news because it includes GWT Designer, the famous (and only so far) graphical designer for GWT&#8230; It&#8217;s the perfect complement to the Google plugin for Eclipse.</p>
<p><a href="http://googlewebtoolkit.blogspot.com/2010/09/google-relaunches-instantiations.html" class="liexternal">Google Web Toolkit Blog: Google Relaunches Instantiations Developer Tools &#8211; Now Available for Free</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/754/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Slides from my GWT2 presentation at YaJUG</title>
		<link>http://blog.gerardin.info/archives/734</link>
		<comments>http://blog.gerardin.info/archives/734#comments</comments>
		<pubDate>Sun, 16 May 2010 05:54:52 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[GWT 2.0]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=734</guid>
		<description><![CDATA[YaJUG gwt2 View more presentations from Olivier Gérardin.]]></description>
			<content:encoded><![CDATA[<div style="width:425px" id="__ss_4113542"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/ogerardin/ya-jug-gwt2" title="Ya jug gwt2" class="liexternal">YaJUG gwt2</a></strong><object id="__sse4113542" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=yajuggwt2-100516004958-phpapp01&#038;stripped_title=ya-jug-gwt2" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse4113542" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=yajuggwt2-100516004958-phpapp01&#038;stripped_title=ya-jug-gwt2" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/" class="liexternal">presentations</a> from <a href="http://www.slideshare.net/ogerardin" class="liexternal">Olivier Gérardin</a>.</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/734/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Slides from my presentation at confoo.ca</title>
		<link>http://blog.gerardin.info/archives/711</link>
		<comments>http://blog.gerardin.info/archives/711#comments</comments>
		<pubDate>Fri, 12 Mar 2010 20:01:51 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[confoo]]></category>
		<category><![CDATA[slides]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=711</guid>
		<description><![CDATA[GWT = easy AJAX View more presentations from Olivier Gérardin.]]></description>
			<content:encoded><![CDATA[<div style="width:425px" id="__ss_3411461"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/ogerardin/gwt-easy-ajax" title="GWT = easy AJAX" class="liexternal">GWT = easy AJAX</a></strong><object width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=confoo-cagwt-100312105300-phpapp02&#038;rel=0&#038;stripped_title=gwt-easy-ajax" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=confoo-cagwt-100312105300-phpapp02&#038;rel=0&#038;stripped_title=gwt-easy-ajax" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/" class="liexternal">presentations</a> from <a href="http://www.slideshare.net/ogerardin" class="liexternal">Olivier Gérardin</a>.</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/711/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smart GWT 2.1 has just been released.</title>
		<link>http://blog.gerardin.info/archives/701</link>
		<comments>http://blog.gerardin.info/archives/701#comments</comments>
		<pubDate>Fri, 05 Mar 2010 13:16:49 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[smartGWT]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=701</guid>
		<description><![CDATA[If you don&#8217;t know yet, SmartGWT is a cool GWT tookit made by Sanjiv Jivan (the guy who wrote GWT-ext). It is primarily intended to build SmartClient frontends, but it is also available standalone under LGPL license. SmartGWT is fast becoming a strong alternative to GWT-ext (stuck because of license issues) and Ext-GWT (very buggy [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gerardin.info/wp-content/uploads/2010/03/smartgwt_logo.png" class="liimagelink"><img class="alignleft size-full wp-image-703" style="border: 0pt none; margin: 10px;" title="smartgwt_logo" src="http://blog.gerardin.info/wp-content/uploads/2010/03/smartgwt_logo.png" alt="" width="55" height="55" /></a>If you don&#8217;t know yet, SmartGWT is a cool GWT tookit made by Sanjiv Jivan (the guy who wrote GWT-ext). It is primarily intended to build <a href="http://www.smartclient.com/" target="_blank" class="liexternal">SmartClient</a> frontends, but it is also available standalone under LGPL license. SmartGWT is fast becoming a strong alternative to GWT-ext (stuck because of license issues) and Ext-GWT (very buggy and full of bad design choices).</p>
<p>SmartGWT 2.1 is out with <a href="http://www.smartclient.com/smartgwt/release_notes.html#2_1" target="_blank" class="liexternal">lots of novelties</a>.</p>
<p><a href="http://code.google.com/p/smartgwt" target="_blank" class="liexternal">SmartGWT on Google Code</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/701/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google Web Toolkit Blog: GWT 2.0.2 is now available</title>
		<link>http://blog.gerardin.info/archives/687</link>
		<comments>http://blog.gerardin.info/archives/687#comments</comments>
		<pubDate>Mon, 15 Feb 2010 15:51:21 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=687</guid>
		<description><![CDATA[Bugfix release&#8230; Read blog entry Download]]></description>
			<content:encoded><![CDATA[<p><a href="http://googlewebtoolkit.blogspot.com/2010/02/gwt-202-is-now-available.html" class="liimagelink"><a href="http://blog.gerardin.info/wp-content/uploads/2009/04/gwt-logo.png"><img class="alignleft size-full wp-image-140" title="Logo GWT" src="http://blog.gerardin.info/wp-content/uploads/2009/04/gwt-logo.png" alt="" width="100" height="100" /></a></a></p>
<p>Bugfix release&#8230;</p>
<p><a href="http://googlewebtoolkit.blogspot.com/2010/02/gwt-202-is-now-available.html" class="liexternal">Read blog entry</a></p>
<p><a href="http://code.google.com/webtoolkit/download.html" target="_blank" class="liexternal">Download</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/687/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GWT and JavaScript Date hell</title>
		<link>http://blog.gerardin.info/archives/674</link>
		<comments>http://blog.gerardin.info/archives/674#comments</comments>
		<pubDate>Wed, 03 Feb 2010 13:40:34 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[Date]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=674</guid>
		<description><![CDATA[You&#8217;d think that in 2010, date processing is something that is easily done in Java (and hence GWT), in a consistent cross-platform way. And you&#8217;d be wrong. When I&#8217;m talking date processing, I mean simple calendar date (not time) operations, like: get today&#8217;s date, add a number of days, compute the number of days between [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gerardin.info/wp-content/uploads/2010/02/calendar1.jpg" class="liimagelink"><img class="alignleft size-thumbnail wp-image-679" style="margin: 10px;" title="calendar" src="http://blog.gerardin.info/wp-content/uploads/2010/02/calendar1-150x150.jpg" alt="" width="150" height="150" /></a>You&#8217;d think that in 2010, date processing is something that is easily done in Java (and hence GWT), in a consistent cross-platform way. And you&#8217;d be wrong.</p>
<p>When I&#8217;m talking date processing, I mean simple calendar date (not time) operations, like: get today&#8217;s date, add a number of days, compute the number of days between two dates, etc. The original sin, so to speak, is that Java doesn&#8217;t have a class to represent a day; Java&#8217;s Date class is actually more like a timestamp: it encapsulates a moment in time (with a millisecond precision) stored as the number of milliseconds to/from the moment called &#8220;epoch&#8221;, which is arbitrarily fixed at January 1, 1970, 00:00:00 GMT.</p>
<p>The methods related to date components (day of month, month, year, etc.) have all been deprecated since the apparition of the Calendar class (JDK 1.1). The trouble is, Calendar isn&#8217;t available in GWT&#8217;s JRE emulation library. So what do most programmers do? They use the deprecated methods of class Date. For example to create a Date that corresponds to a given day, they would use new Date(y, m, d). Well it&#8217;s deprecated, but it works, right?</p>
<p>Wrong. When instantiating a Date object using these deprecated methods, each JavaScript implementation tries to do its best to guess the correct timestamp, based on things such as the current time zone and whether Daylight Savings Time was effective at that time, and of course these rules vary by OS, JavaScript implementation and depend on the client&#8217;s regional settings. I&#8217;m not going into details now, but the bottom line is: you can&#8217;t expect to get a consistent behaviour.</p>
<p>Actually, if you might not notice this problem if all you do is manipulate local dates that were created on the client-side; the problem really becomes a nightmare when you mix locally instanciated dates with serialized dates from the server.</p>
<p>We&#8217;ve spent an incredible amount of energy and time to work around this issue, which is made worse by GXT&#8217;s DateWrapper and DateTextField. The awkward but kind-of working solution that we use now is to subtract Date.getTimezoneOffset() from Date.getTime() in order to &#8220;cancel out&#8221; the client&#8217;s time zone and DST. Not pretty.</p>
<p>If I had to do my current project again, I would definitely stay away from the Date type on the client side. As primitive as it may sound, if I have to manipulate dates without a time part, I would stick to using a (day, month, year) triplet and do as little date calculations on the client-side as possible.</p>
<p>You&#8217;ve been warned!</p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/674/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>GWT sighting in Palm&#8217;s webOS Mojo SDK</title>
		<link>http://blog.gerardin.info/archives/665</link>
		<comments>http://blog.gerardin.info/archives/665#comments</comments>
		<pubDate>Tue, 05 Jan 2010 21:39:08 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[palm]]></category>
		<category><![CDATA[webOS]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=665</guid>
		<description><![CDATA[While exploring the code samples that come with Palm&#8217;s SDK for webOS (named Mojo), I was pleasantly surprised to see that one of the samples (MojoMsgSample) uses GWT and the Google App Engine for the &#8220;cloud&#8221; part of the sample! It&#8217;s a basic publish/subscribe app, but still it&#8217;s nice to find oneself in known territory&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>While exploring the code samples that come with <a href="http://developer.palm.com/index.php?option=com_content&amp;view=article&amp;id=1642" target="_blank" class="liexternal">Palm&#8217;s SDK for webOS</a> (named Mojo), I was pleasantly surprised to see that one of the samples (MojoMsgSample) uses GWT and the Google App Engine for the &#8220;cloud&#8221; part of the sample! It&#8217;s a basic publish/subscribe app, but still it&#8217;s nice to find oneself in known territory&#8230;</p>
<p>BTW, has anyone attempted to wrap the Mojo SDK in GWT? I&#8217;d be thrilled to be able to write webOS apps in GWT <img src='http://blog.gerardin.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/665/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>It&#8217;s official: GWT 2.0.0 (with SpeedTracer)</title>
		<link>http://blog.gerardin.info/archives/617</link>
		<comments>http://blog.gerardin.info/archives/617#comments</comments>
		<pubDate>Wed, 09 Dec 2009 13:36:58 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[GWT 2.0]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=617</guid>
		<description><![CDATA[Finally, as anticipated Google set the &#8220;release&#8221; tag on GWT 2.0 and announced it at its Campfire One event yesterday. In addition to the well-known major new features (development mode, Code splitting, UiBinder, ResourceBundle), Google comes with a new tool named Speedtracer to measure the performance of Ajax applications inside the browser. SpeedTracer is only available for Chrome [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gerardin.info/archives/125/gwt-logo" rel="attachment wp-att-140" class="liimagelink"><img class="alignleft size-full wp-image-140" style="margin-left: 8px; margin-right: 8px; border: 0px solid black;" title="Logo GWT" src="http://blog.gerardin.info/wp-content/uploads/2009/04/gwt-logo.png" alt="Logo GWT" width="100" height="100" /></a>Finally, as anticipated Google set the &#8220;release&#8221; tag on GWT 2.0 and announced it at its Campfire One event yesterday. In addition to the well-known major new features (development mode, Code splitting, UiBinder, ResourceBundle), Google comes with a new tool named <a href="http://code.google.com/webtoolkit/speedtracer/" target="_blank" class="liexternal">Speedtracer </a>to measure the performance of Ajax applications inside the browser. SpeedTracer is only available for Chrome at the moment, unfortunately only on platforms where extensions are supported, <del>which means not on Mac currently</del> <em>(actually it does work on Macs, see comments to this post)</em>&#8230;</p>
<p><img class="aligncenter" title="SpeedTracer interface" src="http://code.google.com/webtoolkit/speedtracer/images/SpeedTracer-SluggishnessDetail.png" alt="" width="416" height="412" /></p>
<p>The online docs have been updated and are still IMHO a model of how online documentation for a project should be done: clear, concise, well structured, complete yet progressive, with examples&#8230; it&#8217;s almost fun to read. I wish every project had docs like this.</p>
<p><a href="http://code.google.com/webtoolkit/download.html" target="_blank" class="liexternal">Download GWT, SpeedTracer or the Eclipse plugin</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/617/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>GWT 2.0 RC2 available</title>
		<link>http://blog.gerardin.info/archives/605</link>
		<comments>http://blog.gerardin.info/archives/605#comments</comments>
		<pubDate>Sun, 29 Nov 2009 22:06:36 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[GWT 2.0]]></category>
		<category><![CDATA[release candidate]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=605</guid>
		<description><![CDATA[The release is coming closer&#8230; Christmas gift anyone? GWT 2.0 RC2 is available from this link. The Google plugin for Eclipse has been updated as well to 1.2 RC2 Caution Windows users who installed the IE plugin, you&#8217;ll have to uninstall it and install a new version (details there).]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gerardin.info/archives/125/gwt-logo" rel="attachment wp-att-140" class="liimagelink"><img class="alignleft size-full wp-image-140" style="border: 0pt none; margin-left: 10px; margin-right: 10px;" title="Logo GWT" src="http://blog.gerardin.info/wp-content/uploads/2009/04/gwt-logo.png" alt="Logo GWT" width="100" height="100" /></a>The release is coming closer&#8230; Christmas gift anyone?</p>
<p>GWT 2.0 RC2 is available from <a href="http://code.google.com/p/google-web-toolkit/downloads/list?can=1&amp;q=gwt-2.0.0-rc2" target="_blank" class="liexternal">this link</a>. The Google plugin for Eclipse has been updated as well to 1.2 RC2</p>
<p>Caution Windows users who installed the IE plugin, you&#8217;ll have to uninstall it and install a new version (details <a href="http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a594a8559fe7805d" target="_blank" class="liexternal">there</a>).</p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/605/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The book is out&#8230; Le livre est sorti&#8230;</title>
		<link>http://blog.gerardin.info/archives/577</link>
		<comments>http://blog.gerardin.info/archives/577#comments</comments>
		<pubDate>Wed, 18 Nov 2009 21:45:41 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[book]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=577</guid>
		<description><![CDATA[The same day as GWT 2.0 RC1, that has to be a good sign&#8230; (cliquez sur le livre pour feuilleter une sélection de pages)]]></description>
			<content:encoded><![CDATA[<p>The same day as GWT 2.0 RC1, that has to be a good sign&#8230;<br />
<br />(cliquez sur le livre pour feuilleter une sélection de pages)<br />

<div align=center><script src="http://www.divvaroom.com/book/bt-moteur/getdivvaflip.js?k=bGtnXo5gltmgpZRnxJ/Pj5Jgm9nPosVhxKCd&amp;w=160&amp;h=150" type="text/javascript"></script></div>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/577/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

