<?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 ()</title>
	<atom:link href="http://blog.gerardin.info/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.gerardin.info</link>
	<description>Java and the wonderful world of OO</description>
	<lastBuildDate>Fri, 12 Mar 2010 20:04:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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</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>Is HTML5 Ready Yet?</title>
		<link>http://blog.gerardin.info/archives/706</link>
		<comments>http://blog.gerardin.info/archives/706#comments</comments>
		<pubDate>Wed, 10 Mar 2010 15:31:00 +0000</pubDate>
		<dc:creator>olivier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=706</guid>
		<description><![CDATA[Just attended Mark Pilgrim&#8217;s talk this morning at confoo.ca about HTML5.
I&#8217;ll spare you the list of novelties and changes&#8230; HTML5 actually does two things:

solves a lot of the current problems with HTML and AJAX apps that required ugly Javascript hacks work around (like initial focus, empty text, typed form fields, etc.)
brings new functionalities much required for new [...]]]></description>
			<content:encoded><![CDATA[<p>Just attended Mark Pilgrim&#8217;s talk this morning at confoo.ca about HTML5.</p>
<p>I&#8217;ll spare you the list of novelties and changes&#8230; HTML5 actually does two things:</p>
<ul>
<li>solves a lot of the current problems with HTML and AJAX apps that required ugly Javascript hacks work around (like initial focus, empty text, typed form fields, etc.)</li>
<li>brings new functionalities much required for new generation RIA apps (geolocation, storage, offline, video/audio support, etc.)</li>
</ul>
<p>Apparently it does that very well, allowing compatibility with older markup when possible, complying with standards&#8230; and HTML5 is already there in the latest versions of Chrome, Safari, Firefox and Opera.</p>
<p>Google is obviously pushing hard for HTML5, and the not-so-hidden goal is to get rid of the Flash plugin. Mark said several times during his presentation &#8220;look, no Flash!&#8221;&#8230; With Google and Apple openly trying to push Flash out of the picture, Adobe has a lot to do <img src='http://blog.gerardin.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>BTW check those links:</p>
<ul>
<li><a href="http://isHTML5ready.com" class="liexternal">http://isHTML5ready.com</a></li>
<li><a href="http://isHTML5readyyet.com" class="liexternal">http://isHTML5readyyet.com</a></li>
</ul>
<p>PS: <a href="http://www.pythian.com/news/9237/liveblogging-html5-confoo-keynote" target="_blank" class="liexternal">liveblog of Mark&#8217;s session</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/706/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</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" ><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>0</slash:comments>
		</item>
		<item>
		<title>EricDaugherty.com: Does Write Once Run Anwhere Work?</title>
		<link>http://blog.gerardin.info/archives/691</link>
		<comments>http://blog.gerardin.info/archives/691#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:04:56 +0000</pubDate>
		<dc:creator>olivier</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[GWT]]></category>
		<category><![CDATA[WORA]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=691</guid>
		<description><![CDATA[Eric Daugherty:
Realistically, I think tools like GWT are the future.  As a Flex developer, I enjoy the ability to quickly and easily create rich applications that will render the same on ever user&#38;apos;s machine.  But I would prefer that the Flex applications would compile to HTML and JavaScript, so they could be run [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gerardin.info/wp-content/uploads/2009/05/java_logo.png" ><img class="size-full wp-image-214 alignleft" style="border: 0pt none; margin-left: 10px; margin-right: 10px;" title="java_logo" src="http://blog.gerardin.info/wp-content/uploads/2009/05/java_logo.png" alt="" width="65" height="119" /></a>Eric Daugherty:</p>
<p><em>Realistically, I think tools like GWT are the future.  As a Flex developer, I enjoy the ability to quickly and easily create rich applications that will render the same on ever user&amp;apos;s machine.  But I would prefer that the Flex applications would compile to HTML and JavaScript, so they could be run native in the browser.</em></p>
<p>via <a href="http://blog.ericdaugherty.com/2010/02/does-write-once-run-anwhere-work.html" class="liexternal">EricDaugherty.com: Does Write Once Run Anwhere Work?</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/691/feed</wfw:commentRss>
		<slash:comments>0</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</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" ><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>Kindle Development Kit to use Java</title>
		<link>http://blog.gerardin.info/archives/683</link>
		<comments>http://blog.gerardin.info/archives/683#comments</comments>
		<pubDate>Mon, 08 Feb 2010 12:01:15 +0000</pubDate>
		<dc:creator>olivier</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[kindle]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=683</guid>
		<description><![CDATA[Amazon has unveiled the details of its development kit for its Kindle e-book reader.
The so called &#8220;Kindle development kit for active content&#8221; (or KDK) will be based on Java 1.4 Personal Basis Profile (JSR 217); custom additional APIs will be available for networking, local storage, specific UI components, etc. (see javadoc).
As strongly as I feel [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon has unveiled the details of its development kit for its Kindle e-book reader.</p>
<p>The so called &#8220;Kindle development kit for active content&#8221; (or KDK) will be based on Java 1.4 Personal Basis Profile (<a href="http://java.sun.com/javame/reference/apis/jsr217/" target="_blank" class="liexternal">JSR 217</a>); custom additional APIs will be available for networking, local storage, specific UI components, etc. (see <a href="http://kdk-javadocs.s3.amazonaws.com/index.html" target="_blank" class="liexternal">javadoc</a>).</p>
<p>As strongly as I feel about <a href="http://blog.gerardin.info/archives/306" target="_blank" class="liexternal">not actually owning what&#8217;s on your Kindle</a>, this comes as a good news for Java when its future is being questioned after the Oracle merger.</p>
<p>You can read the KDK FAQ <a href="https://kindlepublishing.amazon.com/gp/vendor/kindlepubs/kdk/get-content?id=200436000" target="_blank" class="liexternal">there</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/683/feed</wfw:commentRss>
		<slash:comments>2</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</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 two [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gerardin.info/wp-content/uploads/2010/02/calendar1.jpg" ><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>10</slash:comments>
		</item>
		<item>
		<title>James Gossling: &#8220;so long, old friend&#8221;</title>
		<link>http://blog.gerardin.info/archives/668</link>
		<comments>http://blog.gerardin.info/archives/668#comments</comments>
		<pubDate>Fri, 22 Jan 2010 11:42:24 +0000</pubDate>
		<dc:creator>olivier</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=668</guid>
		<description><![CDATA[This is what James Gossling posted on his blog yesterday&#8230;

Like so many commenters, I also spent the majority of my professional career with Sun technologies, mostly Java. Whatever happens next, it&#8217;s a new era that begins. Fortunately, the company with a big G has embraced Java, and that is probably where the future lies, because [...]]]></description>
			<content:encoded><![CDATA[<p>This is what James Gossling posted on <a href="http://blogs.sun.com/jag/" target="_blank" class="liexternal">his blog</a> yesterday&#8230;</p>
<p><a href="http://blog.gerardin.info/wp-content/uploads/2010/01/SunRIPsmall.jpg" ><img class="alignleft size-full wp-image-669" title="SunRIPsmall" src="http://blog.gerardin.info/wp-content/uploads/2010/01/SunRIPsmall.jpg" alt="" width="630" height="492" /></a></p>
<p>Like so many commenters, I also spent the majority of my professional career with Sun technologies, mostly Java. Whatever happens next, it&#8217;s a new era that begins. Fortunately, the company with a big G has embraced Java, and that is probably where the future lies, because I have strong doubts about what Oracle will do with Java.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/668/feed</wfw:commentRss>
		<slash:comments>0</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</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;
BTW, [...]]]></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>0</slash:comments>
		</item>
		<item>
		<title>Google Collections Library 1.0 final</title>
		<link>http://blog.gerardin.info/archives/660</link>
		<comments>http://blog.gerardin.info/archives/660#comments</comments>
		<pubDate>Mon, 04 Jan 2010 14:19:42 +0000</pubDate>
		<dc:creator>olivier</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[collections]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=660</guid>
		<description><![CDATA[The Google Collections Library 1.0 is a set of new collection types, implementations and related goodness for Java 5 and higher, brought to you by Google. It is a natural extension of the Java Collections Framework.
We have finally (Dec 30, 2009) released version 1.0-final! The API is now frozen: there will be no more source- [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>The Google Collections Library 1.0 is a set of new collection types, implementations and related goodness for Java 5 and higher, brought to you by Google. It is a natural extension of the Java Collections Framework.<br />
We have finally (Dec 30, 2009) released version 1.0-final! The API is now frozen: there will be no more source- or binary-incompatible changes, except those that can be performed via a minimum 18-month-long deprecation window.</p></blockquote>
<p><a href="http://code.google.com/p/google-collections/" target="_blank" class="liexternal">Project page</a></p>
<p><a href="http://google-collections.googlecode.com/files/google-collect-1.0.zip" target="_blank" class="lizip">Download Google Collections Library 1.0-final</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/660/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
