<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.infosupport.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Paul Bakker - All Comments</title><link>http://blogs.infosupport.com/blogs/paul_bakker/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>re: Testing Grails REST services</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/08/20/testing-grails-rest-services.aspx#43732</link><pubDate>Mon, 30 Nov 2009 22:48:48 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:43732</guid><dc:creator>Steve Dalton</dc:creator><description>&lt;p&gt;Thanks Paul &lt;/p&gt;
&lt;p&gt;The controller.response.getContentAsString bit was just what I was looking for.&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=43732" width="1" height="1"&gt;</description></item><item><title>re: Open source, free Community Edition of IntelliJ</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/10/15/open-source-free-community-edition-of-intellij.aspx#29266</link><pubDate>Fri, 16 Oct 2009 06:58:47 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:29266</guid><dc:creator>Ryur</dc:creator><description>&lt;p&gt;Nice. I&amp;#39;m going to try it.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m now an Eclipse-user, but it is sometimes so slow, even on a new MacBookPro.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=29266" width="1" height="1"&gt;</description></item><item><title>re: JavaFx Charts</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/07/10/javafx-charts.aspx#19738</link><pubDate>Fri, 25 Sep 2009 09:18:25 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:19738</guid><dc:creator>Paulb</dc:creator><description>&lt;p&gt;Fernando, &lt;/p&gt;
&lt;p&gt;You should just use a Java library for this. That&amp;#39;s one of the advantages of JavaFX, you can use existing Java code/libraries. It&amp;#39;s best to only write your UI code in JavaFX, the language is not intended to be a all purpose language like Java.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=19738" width="1" height="1"&gt;</description></item><item><title>re: JavaFx Charts</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/07/10/javafx-charts.aspx#19732</link><pubDate>Fri, 25 Sep 2009 04:30:13 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:19732</guid><dc:creator>Erno de Weerd</dc:creator><description>&lt;p&gt;FC,&lt;/p&gt;
&lt;p&gt;As someone with a C background:&lt;/p&gt;
&lt;p&gt;What&amp;#39;s with the End everywhere:&lt;/p&gt;
&lt;p&gt;If ... Then&lt;/p&gt;
&lt;p&gt;Else&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;Sub ...&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;And why do I HAVE to put the If and the Then on a single line?&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the Then good for anyway?&lt;/p&gt;
&lt;p&gt;In Java (and C/C++/C#/...) we have free formatting; we can put nearly anything on any line so we need a way to tell the compiler when we have reached the start and the end of a statement. and { ... } is waaaayyyy shorter than Begin ... End&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=19732" width="1" height="1"&gt;</description></item><item><title>re: JavaFx Charts</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/07/10/javafx-charts.aspx#19713</link><pubDate>Thu, 24 Sep 2009 05:03:27 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:19713</guid><dc:creator>Fernando Cassia</dc:creator><description>&lt;p&gt;Totally unrelated question.... is there support in JavaFX for common protocols like POP3 and IMAP?. Any standard classes I can call?.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d need to fetch data (not the actual emails but sender info and subject lines) from an IMAP account.&lt;/p&gt;
&lt;p&gt;Thoughts? Comments? Expletives?&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;FC&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=19713" width="1" height="1"&gt;</description></item><item><title>re: JavaFx Charts</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/07/10/javafx-charts.aspx#19712</link><pubDate>Thu, 24 Sep 2009 05:00:34 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:19712</guid><dc:creator>Fernando Cassia</dc:creator><description>&lt;p&gt;As someone whom comes with a Visual Basic background, you know what drives me crazy?&lt;/p&gt;
&lt;p&gt;The damn &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;bracket chars&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;everywhere. &lt;/p&gt;
&lt;p&gt;And why do bracket chars need to be on a single line?&lt;/p&gt;
&lt;p&gt;Why &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;this&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Instead of {this}&lt;/p&gt;
&lt;p&gt;??&lt;/p&gt;
&lt;p&gt;FC&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=19712" width="1" height="1"&gt;</description></item><item><title>re: Testing Grails REST services</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/08/20/testing-grails-rest-services.aspx#19615</link><pubDate>Sat, 19 Sep 2009 13:35:56 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:19615</guid><dc:creator>Stephane</dc:creator><description>&lt;p&gt;It&amp;#39;d be nice if the example showed how to unit test this RESTful GET request for example:&lt;/p&gt;
&lt;p&gt;curl --request GET --header &amp;quot;Content-Type: text/xml&amp;quot; &lt;a rel="nofollow" target="_new" href="http://localhost:8080/restful/rest/admin/1"&gt;localhost/.../1&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=19615" width="1" height="1"&gt;</description></item><item><title>re: log4j in Websphere Portal Server 5.1</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2008/01/16/log4j-in-Websphere-Portal-Server-5.1.aspx#16707</link><pubDate>Fri, 21 Aug 2009 21:30:26 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:16707</guid><dc:creator>Sean</dc:creator><description>&lt;p&gt;checkout my post, it will solve your problem.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://mycrappytechnologyblog.wordpress.com/2009/08/18/websphere-portal-log4j-hell/"&gt;mycrappytechnologyblog.wordpress.com/.../websphere-portal-log4j-hell&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=16707" width="1" height="1"&gt;</description></item><item><title>re: Testing Grails REST services</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/08/20/testing-grails-rest-services.aspx#16706</link><pubDate>Fri, 21 Aug 2009 14:39:52 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:16706</guid><dc:creator>Just one punctuation mark this time. - Nick</dc:creator><description>&lt;p&gt;Paul,&lt;/p&gt;
&lt;p&gt;Sorry to come across snarly in the first post.&lt;/p&gt;
&lt;p&gt;Thank you for your example. &amp;nbsp;How to test sending / expecting different formats will come in helpful when testing my controllers (RESTful or not).&lt;/p&gt;
&lt;p&gt;The point I was trying to make was that the article is titled &amp;quot;Testing Grails REST services&amp;quot;, but does nothing as far as testing anything RESTful. &amp;nbsp;When people are trying to learn about RESTful services, and they come across an article like this, they will believe that all a RESTful service means is that it can do some sort of content negotiation.&lt;/p&gt;
&lt;p&gt;I just had a lost feeling after reading, and felt a buzzword was used to get attention to the article. &amp;nbsp;There is far to much of that out here.&lt;/p&gt;
&lt;p&gt;But again, thank you, and sorry again for the first post coming across like that, should have probably waited to post or not posted anything at all.&lt;/p&gt;
&lt;p&gt;-- Nick&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=16706" width="1" height="1"&gt;</description></item><item><title>re: Testing Grails REST services</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/08/20/testing-grails-rest-services.aspx#16705</link><pubDate>Fri, 21 Aug 2009 12:51:42 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:16705</guid><dc:creator>gphreak</dc:creator><description>&lt;p&gt;I wonder why people using punctuation marks in large packs always end up to be idiots.&lt;/p&gt;
&lt;p&gt;Nice example, Paul, thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=16705" width="1" height="1"&gt;</description></item><item><title>re: Testing Grails REST services</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/08/20/testing-grails-rest-services.aspx#16696</link><pubDate>Thu, 20 Aug 2009 20:33:09 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:16696</guid><dc:creator>Paulb</dc:creator><description>&lt;p&gt;It&amp;#39;s a simplified example. The example controller is not a REST service, it just returns XML, but a full blown service can be tested the same way. It would just be more code.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=16696" width="1" height="1"&gt;</description></item><item><title>re: Testing Grails REST services</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/08/20/testing-grails-rest-services.aspx#16695</link><pubDate>Thu, 20 Aug 2009 19:09:01 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:16695</guid><dc:creator>where is the REST????</dc:creator><description>&lt;p&gt;So...this is really on how to send a format to a controller in a test...not really how to test a REST service???&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=16695" width="1" height="1"&gt;</description></item><item><title>JavaFX 1.2 Folder Visualizer</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2009/07/10/javafx-charts.aspx#16676</link><pubDate>Tue, 18 Aug 2009 08:37:46 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:16676</guid><dc:creator>Paul Bakker</dc:creator><description>&lt;p&gt;Last year I blogged about a small JavaFX project I implemented called Folder-Visualizer. The tool lets&lt;/p&gt;
&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=16676" width="1" height="1"&gt;</description></item><item><title>re: Why not Groovy all the time?</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2008/05/30/Why-not-Groovy-all-the-time_3F00_.aspx#16469</link><pubDate>Mon, 03 Aug 2009 21:37:57 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:16469</guid><dc:creator>Paulb</dc:creator><description>&lt;p&gt;Good question. I don&amp;#39;t have much problems debugging Groovy. There is often some extra clutter in stacktraces compared to Java, but most of the time it&amp;#39;s still easy to find where the code you wrote is broken. I do use Intellij for all Groovy stuff, which gives me clickable stacktraces, making it more easy to find the interesting information in a stacktrace.&lt;/p&gt;
&lt;p&gt;What I do find however, is that I sometimes introduce bugs by making simple typos. In Java the compiler stops you from doing this, but in Groovy it doesn&amp;#39;t. If you&amp;#39;re lucky (most cases) the errors shows up as soon as you try to start the app, but it introduced some minor bugs that I overlooked too. This can be solved by better unit testing, which is easier in Groovy. A good IDE helps too, but isn&amp;#39;t always enough because the dynamic nature of Groovy. Using more static typing helps too, but defeats the purpuse of using a dynamic language... ;-)&lt;/p&gt;
&lt;p&gt;I still do feel it&amp;#39;s a major drawback compared to static typed languages. That being said, I would still choose Groovy for most code at the moment.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=16469" width="1" height="1"&gt;</description></item><item><title>re: Why not Groovy all the time?</title><link>http://blogs.infosupport.com/blogs/paul_bakker/archive/2008/05/30/Why-not-Groovy-all-the-time_3F00_.aspx#16466</link><pubDate>Mon, 03 Aug 2009 20:27:42 GMT</pubDate><guid isPermaLink="false">56f6167b-0c51-4839-ab2d-34653eeb5c9c:16466</guid><dc:creator>Jeremy Flowers</dc:creator><description>&lt;p&gt;How easy do you find debugging Grovy compared to Java?&lt;/p&gt;
&lt;p&gt;See:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.troymaxventures.com/2008/07/switch-your-test-to-groovy-maybe-not.html"&gt;www.troymaxventures.com/.../switch-your-test-to-groovy-maybe-not.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Congrats on winning the Radrace contest with Jamie BTW &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.infosupport.com/aggbug.aspx?PostID=16466" width="1" height="1"&gt;</description></item></channel></rss>