<?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/"
	xmlns:cc="http://creativecommons.org/ns#" >

<channel>
	<title>BK</title>
	<atom:link href="http://www.bartkummel.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bartkummel.net</link>
	<description>Professional website of Bart Kummel</description>
	<lastBuildDate>Wed, 25 Jan 2012 10:48:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<cc:license >Creative Commons Attribution-ShareAlike CC BY-SA</cc:license><dc:rights  >Creative Commons Attribution-ShareAlike CC BY-SA</dc:rights>		<item>
		<title>Interesting stuff in JSF 2.2</title>
		<link>http://www.bartkummel.net/2012/01/interesting-stuff-in-jsf-2-2/</link>
		<comments>http://www.bartkummel.net/2012/01/interesting-stuff-in-jsf-2-2/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 10:48:37 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[JSR]]></category>

		<guid isPermaLink="false">http://www.bartkummel.net/?p=193</guid>
		<description><![CDATA[Arjan Tijms wrote a nice article on what&#8217;s going on in the development of JavaServer Faces 2.2 (JSR 344). Pretty interesting stuff! I just hope we don&#8217;t have to wait for Java EE 7 to put those useful features into action&#8230;]]></description>
			<content:encoded><![CDATA[<p>Arjan Tijms wrote a nice article on <a href="http://jdevelopment.nl/jsf-22/" target="_blank">what&#8217;s going on in the development of JavaServer Faces 2.2</a> (JSR 344). Pretty interesting stuff! I just hope we don&#8217;t have to wait for Java EE 7 to put those useful features into action&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2012/01/interesting-stuff-in-jsf-2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site moved and updated</title>
		<link>http://www.bartkummel.net/2012/01/site-moved-and-updated/</link>
		<comments>http://www.bartkummel.net/2012/01/site-moved-and-updated/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 17:00:24 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.bartkummel.net/?p=188</guid>
		<description><![CDATA[In an effort to consolidate our family&#8217;s websites to a single hosting provider and because I was not satisfied with my previous blog hosting, I have moved my blog to a new hosting facility. In the process, I&#8217;ve also done &#8230; <a href="http://www.bartkummel.net/2012/01/site-moved-and-updated/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In an effort to consolidate our family&#8217;s websites to a single hosting provider and because I was not satisfied with my previous blog hosting, I have moved my blog to a new hosting facility. In the process, I&#8217;ve also done a redesign of the entire site. Read on to learn more about the technical details&#8230;</p>
<p><span id="more-188"></span></p>
<p>Previously, this blog was hosted on a <abbr title="Software as a Service">SAAS</abbr>-solution. I was not really satisfied, because the (proprietary) software was too limited, less easy to use than promised and there were no signs that it would improve soon. So I decided to go for a more common and more open solution, a self-hosted <a href="http://www.wordpress.org" target="_blank">WordPress</a> blog. The reason I went with the SAAS guys some years ago was I didn&#8217;t want to fiddle with manually uploading PHP-files, managing MySQL-databases and that sort of things. I found out that this is not needed anymore, even for self-hosted installations. My hosting provider (<a href="http://www.ixlhosting.nl/" target="_blank">iXL hosting</a>) offers a nice control panel (<a href="http://www.directadmin.com/" target="_blank">DirectAdmin</a>) with a wizard (<a href="http://installatron.com/" target="_blank">Installatron</a>) to install and update software. So installing WordPress was just a matter of some mouse clicks and entering some names!</p>
<p>I also found out that WordPress (3.3) has become a very mature platform, for which a plethora of useful plugins is available. This is what I did to create my redesigned website:</p>
<ul>
<li>Luckily, my old SAAS-blog-host had a WordPress-export module. So I could easily import my blog content using the <a href="http://wordpress.org/extend/plugins/wordpress-importer/" target="_blank">WordPress Importer plugin</a>.</li>
<li>I found the <a href="http://wordpress.org/extend/themes/pilcrow" target="_blank">Pilcrow WordPress theme</a> very nice, but I like sans-serif typefaces more than serifs, so I made some small changes to the CSS style sheet.</li>
<li>I didn&#8217;t like the default images of the theme, so I removed them and added some pictures of my own. I slightly adapted the theme functionality to automatically use all images found in a certain folder and add an optional description for each image.</li>
<li>Of course the old blog software created different URLs than WordPress does. Luckily, I found a wonderful plugin called <a href="http://urbangiraffe.com/plugins/redirection/" target="_blank">Redirection</a>, which made it possible to redirect the old URLs to the new locations, based on powerful regular expressions. The plugin also monitors 404 errors, which helped me find even more old URLs to redirect than the ones I&#8217;d figured out myself.</li>
<li>Being a blog about programming, I needed a solution for syntax highlighting code examples. I went for the <a href="http://www.phodana.de/wordpress/wp-plugin-syntax-highlighter-compress/" target="_blank">Syntax Highlighter ComPress</a> plugin. Simple and easy to use, with very nice results.</li>
<li>Sometimes I write multiple articles on the same topic. The <a href="http://justintadlock.com/archives/2009/06/09/series-wordpress-plugin" target="_blank">Series plugin</a> by Justin Tadlock offers a nice solution to group those articles together.</li>
<li>I tracked my old site via Google Analytics and I wanted to continue using that. I found quite a lot of WordPress plugins for Google Analytics and I chose <a href="http://ronaldheft.com/code/analyticator/" target="_blank">Analyticator</a>, which seems to work great. A side effect of continuing to use GA, is that the site statistics just continue, as if the site wasn&#8217;t moved. Nice!</li>
</ul>
<p>One of the nice things is that I didn&#8217;t have to down- or upload any file in the process. All plugins can be installed easily from within the management console of WordPress. Kudos to the WordPress developers for creating such a mature and easy to use platform!</p>
<p>Let me know in the comments what you think of the new site and what your own experiences are with blogging solutions!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2012/01/site-moved-and-updated/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JFall 2011</title>
		<link>http://www.bartkummel.net/2011/11/jfall-2011/</link>
		<comments>http://www.bartkummel.net/2011/11/jfall-2011/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 09:59:04 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[Conference]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[JFall]]></category>
		<category><![CDATA[NLJUG]]></category>

		<guid isPermaLink="false">http://localhost:8888/wordpress/?p=5</guid>
		<description><![CDATA[Last Wednesday, I visited <a title="JFall 2011 Web site" href="http://www.nljug.org/jfall/" target="_blank">JFall 2011</a>. As expected, it was a very good conference again. I tried to <a href="http://twitter.com/bkummel" target="_blank">tweet</a> about some sessions I attended, but I had some weird problem with both of the Twitter-apps I have on my iPhone&#8230; So, instead I&#8217;ll give my take on those sessions here, in retrospect.
 <a href="http://www.bartkummel.net/2011/11/jfall-2011/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last Wednesday, I visited <a title="JFall 2011 Web site" href="http://www.nljug.org/jfall/" target="_blank">JFall 2011</a>. As expected, it was a very good conference again. I tried to <a href="http://twitter.com/bkummel" target="_blank">tweet</a> about some sessions I attended, but I had some weird problem with both of the Twitter-apps I have on my iPhone… So, instead I’ll give my take on those sessions here, in retrospect.<span id="more-52"></span></p>
<h2>Neo4J! What else?</h2>
<p>This was one of the “early bird” sessions, taking place before the offical opening and keynote. Despite the early start, there were quite a lot of attendees. I think it was worth getting up early! <a title="Ron van Weverwijk's blog" href="http://www.weverwijk.net/wordpress/" target="_blank">Ron van Weverwijk</a> did a good job introducing graph databases and Neo4J. Most of the time, I find sessions about NoSQL databases and the like very interesting, but often it is difficult to see any practical use in the near future. After all, most of us aren’t working on the next big thing in social networking. At least, I am not. Most of the time I am working for clients that already have a relational database and they just want a new front end for it.</p>
<p>The nice thing in this session was, that Ron told us about a project he did in exactly such a corporate environment where there was already a relational database. They didn’t change or remove that database. Only for the specific case where the graph database was offering an advantage, they exported the data they needed to the graph database. A clever and pragmatic approach. I hope I’ll find an apportunity to do something similar once…</p>
<h2>Keynote by Tomas Nilsson</h2>
<p>The Oracle-keynote was a little disappointing. Although <a title="Tomas Nilsson on LinkedIn" href="http://www.linkedin.com/pub/tomas-nilsson/0/598/80" target="_blank">Tomas</a> is a fascinating storyteller, it was difficult to get a big picture from the collection of anecdotes he told us. If there was a big picture, I’d say it was that Oracle isn’t such a pleasant company to work for. And despite the fact that the company is run by lawyers and marketeers, we should trust them to be good for Java, since half of their revenue depends on Java. Well, I guess I will never trust any large corporation, but I think we as Java community have to admit that Oracle did a good job in getting the development of the Java platform back to speed again. So, let’s just hope Tomas was right on this…</p>
<h2>JBoss Forge</h2>
<p><a title="Paul Bakker's blog" href="http://paulonjava.blogspot.com/" target="_blank">Paul Bakker</a> did a very interesting session about <a href="https://docs.jboss.org/author/display/FORGE/Home" target="_blank">JBoss Forge</a>, formerly known as Seam Forge. I had never heard of it before, but after this talk I’m certainly going to try it. JBoss Forge offers a CLI for creating <strong>and</strong> maintaining Maven POM files. With the JBoss Forge shell, one can rapidly setup a new project. This type of project setup is of course known from frameworks like Spring Roo, Ruby on Rails and the like. But the good thing about Forge is, that it can be used for <strong>any</strong> Java project, as long as you are able to build it with Maven. Paul put an emphasis on the fact that Forge not just creates pom-files, but also maintains them. (And it can also create and maintain other configuration files and even Java classes…) He also showed that it is relatively simple to create your own Forge plugin. All in all, this was a very good session, packed with demos. I really enjoyed it. I hope I will be still as impressed when I try Forge myself…</p>
<h2>Introduction to JavaFX 2.0</h2>
<p>A nice session by <a title="Michael Heinrichs' blog" href="http://blog.netopyr.com/" target="_blank">Michael Heinrichs</a><em>. </em>The downsides of this session were the lack of code demos and the fact that I didn’t learn anything new. But there was also one really cool aspect of this talk: Michael coded all his slides in JavaFX. And the slides were, of course, very fancy. Unfortunately his code was not clean enough to share, he told me afterwards. Nevertheless, it’s still a very cool idea!</p>
<h2>Microsoft keynote on a Java conference…</h2>
<p>The afternoon keynote was provided by Microsoft. I think it’s brave of them to show up at a Java conference. Of course, they were there to tell about their Azure platform and how it can be used to deploy Java apps in the cloud. I was not impressed. It turns out Azure is not much more than a bunch of managed virtual machines running Windows Server. In order to run a Java EE application on Azure, one has to tinker with Windows .cmd scripts to bootstrap an application server. And of course, the application server itself also has to be deployed. Although Microsoft calls it a PAAS, I think it’s actually not much more than a IAAS…</p>
<h2>Migrating Spring to Java EE 6</h2>
<p>Again a very good session by <a title="Paul Bakker's blog" href="http://paulonjava.blogspot.com/" target="_blank">Paul Bakker</a>. He showed a pragmatic way to migrate an existing Spring application to a standards-compliant Java EE 6 application. He was honest: his approach isn’t a silver bullet and it still takes a lot of time to migrate. But, as Paul put it: “Given an outdated application that needs to be migrated anyway, why not migrate it to the standard?” I think he’s totally right! And he showed us a doable migration path. Afterwards, I heard other attendees complaining that “he told us upfront that the talk wouldn’t be a shoot out, but is was.” I assume those people were mainly Spring-fans, having trouble saying goodbye to Spring. But let’s face it: we really don’t need Spring anymore, the good ideas from Spring are all incorporated in the Java EE 6 standard, most of them even in an improved form. Of course, we should be grateful to the guys from the Spring framework, and I think Paul gave them enough credits. But we have to move on!</p>
<h2>Looking at Groovy 1.8</h2>
<p>The last talk I attended was by <a title="Hubert's blog" href="http://mrhaki.blogspot.com/" target="_blank">Hubert Klein Ikkink</a>. He had almost no slides, but instead showed us lots of cool new features of Groovy 1.8 with simple and illustrative demos. The talk also served as a nice (re-)intruduction to Groovy for people (like me) lacking any experience with the powerful alternative JVM-language. I don’t know if I’m going to use Groovy in the near future. But I hope for sure that Groovy can be for the Java language what Spring was for the Java EE platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2011/11/jfall-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Java software on a Mac: file management</title>
		<link>http://www.bartkummel.net/2011/09/developing-java-software-on-a-mac-file-management/</link>
		<comments>http://www.bartkummel.net/2011/09/developing-java-software-on-a-mac-file-management/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 17:00:37 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[file management]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://localhost:8888/wordpress/?p=6</guid>
		<description><![CDATA[For a developer, file management is an essential task. More than the average computer user, the location and name of a file matters to a developer. Often, (sets of) files have to be copied, either on the local machine or to or from a network share. Sometimes the command line is very fast and efficient for file management tasks. However, as directory structures get more complex, I prefer a visual file management tool, as it gives me a better overview of the structure.
 <a href="http://www.bartkummel.net/2011/09/developing-java-software-on-a-mac-file-management/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For a developer, file management is an essential task. More than the average computer user, the location and name of a file matters to a developer. Often, (sets of) files have to be copied, either on the local machine or to or from a network share. Sometimes the command line is very fast and efficient for file management tasks. However, as directory structures get more complex, I prefer a visual file management tool, as it gives me a better overview of the structure.<span id="more-6"></span></p>
<p>Short after switching to the Mac, I was pretty satisfied with the default file manager on Mac OS: <a href="http://en.wikipedia.org/wiki/Finder_(software)" target="_blank">Finder</a>. Finder is a pretty good file manager, at least it is better than the <a href="http://en.wikipedia.org/wiki/Windows_explorer" target="_blank">Windows Explorer</a>. But, like Explorer, Finder needs some tweaking to make it more suitable for programmers:</p>
<ul>
<li>First of all, as a programmer I want to see the file extensions, so I enable the “<a href="http://www.wikihow.com/Show-File-Extensions-in-Finder-on-a-Mac" target="_blank">Show all file extensions</a>” option.</li>
<li>Since changing file extensions is more common in programming, I disabled the “Show warning before changing the extension” option.</li>
<li>Then I set the list view as default view, via “View” &gt; “Show View Options”, “Always open in list view”, “Use as Defaults”.</li>
</ul>
<p>After applying these tweaks, I was pretty satisfied for a while. However, after using Finder for a longer period, I had collected some annoyances:</p>
<ul>
<li>I too often found myself positioning two Finder-windows next to each other to be able to drag files from one location to another.</li>
<li>It sometimes confused me that directories were not listed at the top, as I was used to on other systems.</li>
<li>There’s no easy way to open a finder window without using the mouse, unless you remember to keep always one window open, so you can Command-Tab to it.</li>
</ul>
<p><a href="http://totalfinder.binaryage.com/"><img class="alignleft size-thumbnail wp-image-104" title="totalfinder" src="http://www.bartkummel.net/wp-content/uploads/2012/01/totalfinder-150x150.png" alt="" width="150" height="150" /></a>Then I stumbled upon <a href="http://totalfinder.binaryage.com/" target="_blank">TotalFinder</a>, an add-on for the OS X Finder. It adds several very handy functions, which helped me to overcome my annoyances:</p>
<ul>
<li>TotalFinder has a “dual mode”, which shows two adjacent views. Pretty much like the good old Norton Commander and its clones (Midnight Commander, …). No more aligning Finder windows before dragging and dropping files!</li>
<li>TotalFinder adds tabs to reduce the clutter. Although this is the most prominent feature, it is not as important to me as the dual mode and the other tweaks.</li>
<li>TotalFinder can show directories on top, just as I was used to.</li>
<li>The (optional) Visor mode can make TotalFinder to slide into view at the press of a shortcut key. Now I have the finder at my fingertips!</li>
<li>TotalFinder adds a pretty handy “copy path” menu to the context menu; especially time-saving if combined with the Terminal.</li>
</ul>
<p>Long story short: File management on the Mac is a joy since I found TotalFinder! It keeps the good parts of Finder and adds some excellent features to make it more suitable for a software development environment. At US$ 18, I think it is reasonably priced. I have only one wish for a future version: it would be very nice to have an “Open in Terminal” option in the context menu, that would also integrate with <a href="/blog/2011/8/16/developing-java-software-on-a-mac-command-line.html">TotalTerminal</a>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2011/09/developing-java-software-on-a-mac-file-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Java software on a Mac: text editing</title>
		<link>http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-text-editing/</link>
		<comments>http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-text-editing/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 11:00:37 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://localhost:8888/wordpress/?p=7</guid>
		<description><![CDATA[<p><span>For the largest part of the Java development work, you use of course an <span><a title="Integrated Development Environment" href="http://en.wikipedia.org/wiki/Integrated_development_environment" target="_blank">IDE</a></span>. As I mentioned in </span><a href="/journal/2011/8/9/developing-java-software-on-a-mac-copy-paste.html">the previous article in this series</a><span>, the major <span>IDEs</span>, such as </span><a href="http://eclipse.org/" target="_blank">Eclipse</a> and <a href="http://netbeans.org/" target="_blank"><span><span>NetBeans</span></span></a><span>, run on a Mac without problems. But apart from an <span>IDE</span>, a lightweight but capable stand alone text editor comes in handy quite often. Of course OS X comes with </span><a href="http://en.wikipedia.org/wiki/TextEdit" target="_blank"><span><span>TextEdit</span></span></a>, that is comparable to <a href="http://en.wikipedia.org/wiki/WordPad" target="_blank"><span><span>WordPad</span></span></a> on Windows. It&#8217;s a simple word processor with the capability to edit plain text files. It can do the job, but it lacks some programming-oriented features.</p>
<p><span>So I started looking for an additional text editor. Since I use such an editor only as additional tool besides my <span>IDE</span>, I&#8217;m not willing to pay (much) for it. On Windows, there is a plethora of free or cheap text editors available and although the number is lower, there are quite a few good options for the Mac as well. I picked a few for evaluation&#8230;</span></p>
 <a href="http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-text-editing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For the largest part of the Java development work, I use of course an <a title="Integrated Development Environment" href="http://en.wikipedia.org/wiki/Integrated_development_environment" target="_blank">IDE</a>. As I mentioned in <a href="/journal/2011/8/9/developing-java-software-on-a-mac-copy-paste.html">the previous article in this series</a>, the major IDEs, such as <a href="http://eclipse.org/" target="_blank">Eclipse</a> and <a href="http://netbeans.org/" target="_blank">NetBeans</a>, run on a Mac without problems. But apart from an IDE, a lightweight but capable stand alone text editor comes in handy quite often. Of course OS X comes with <a href="http://en.wikipedia.org/wiki/TextEdit" target="_blank">TextEdit</a>, that is comparable to <a href="http://en.wikipedia.org/wiki/WordPad" target="_blank">WordPad</a> on Windows. It’s a simple word processor with the capability to edit plain text files. It can do the job, but it lacks some programming-oriented features.<span id="more-7"></span></p>
<p>So I started looking for an additional text editor. Since I use such an editor only as additional tool besides my IDE, I’m not willing to pay (much) for it. On Windows, there is a plethora of free or cheap text editors available and although the number is lower, there are quite a few good options for the Mac as well. I picked a few for evaluation…</p>
<h2>jEdit</h2>
<p><img class="alignleft  wp-image-71" title="jEdit-logo" src="http://www.bartkummel.net/wp-content/uploads/2012/01/jEdit-logo.png" alt="" />Of course there is <a href="http://www.jedit.org/" target="_blank">jEdit</a>. Being open source and written in Java, it instantly gets some sympathy points from me. However, it suffers from a common problem of cross-platform applications: the user interface feels non-native on every platform. It seems this distracts even more on the Mac platform, where slick design is the standard. On the other hand, jEdit is very versatile and the project exists for many years, still releasing updates regularly. The editor isn’t very lightweight though, and it can take some time getting used to. All in all jEdit is a capable editor and I keep it installed on my system for some special functionalities offered by some of the many plug-ins that are available. (You should browse the <a title="jEdit plugin directory" href="http://plugins.jedit.org/" target="_blank">plugin directory</a> to get an idea of the huge amount of plug-ins.) Despite all this, jEdit didn’t become my favorite text editor for everyday text editing…</p>
<h2>The classics</h2>
<p><img class="alignleft size-full wp-image-83" title="vim-editor_logo" src="http://www.bartkummel.net/wp-content/uploads/2012/01/vim-editor_logo.png" alt="" width="75" height="75" />A text editor overview is not complete without mentioning the “classics”: VI and Emacs. <a href="http://en.wikipedia.org/wiki/History_of_Mac_OS_X" target="_blank">Being a Unix operating system</a>, Mac OS X comes with the command line versions of <a href="http://www.vim.org/" target="_blank">Vim</a> and <a href="http://www.gnu.org/software/emacs/" target="_blank">Emacs</a> pre-installed. They’re accessible by typing the right command (<tt>vi</tt> or <tt>emacs</tt>) at the OS X Terminal. I’m not a huge fan of either, but I do use Vim occasionaly when I want to view a file or do some minor editing from the command line. But if you are a fan of one, it is good to know that GUI versions of both editors are available: <a href="http://code.google.com/p/macvim/" target="_blank">MacVim</a> and <a href="http://aquamacs.org/" target="_blank">Aquamacs</a>. <img class="alignright size-full wp-image-67" title="Emacs-logo" src="http://www.bartkummel.net/wp-content/uploads/2012/01/Emacs-logo.png" alt="" width="75" height="60" />And if you ever try one of the command-line versions and you don’t know how to exit: VI can be quit by typing a colon (:), followed by ‘q’. If that doesn’t work, you might have to press ⎋ Esc before typing the colon and/or you might have to add an exclamation mark (‘!’) after the q. Emacs can be exited by typing Control-X followed by Control-C. (That is ⌃ Control, not ⌘ Command!) So to round up this section: I only use the command line version of Vim occasionally and I don’t feel the need for installing a GUI version of one of those classic editors.</p>
<h2>Smultron</h2>
<p><img class="size-full wp-image-78 alignleft" title="smultron" src="http://www.bartkummel.net/wp-content/uploads/2012/01/smultron.png" alt="" width="128" height="128" />Smultron is a Mac-only editor. What I understand is that it was quite popular a few years ago. Back then it was developed as an open source project and was available for free. The open source development stalled in 2009, but the last released free version can still be downloaded from <a href="http://sourceforge.net/projects/smultron/" target="_blank">Smultron’s Sourceforge page</a>. It seems to work, even on OS X Lion, although I didn’t test is very thouroughly. Recently, <a href="http://www.peterborgapps.com/smultron/" target="_blank">Peter Borg announced the reincarnation of the Smultron editor</a> as a commercial product in the Mac OS App Store. Two versions are available: version 4 is for OS X 10.7 (Lion) only, while version 3.8.4 also works on previous versions of Mac OS X. Both versions cost US$ 4.99, which Apple converts to € 3.99 in the European App Store. I did not test the commercial version, as I found a good free alternative (see below). However, some features of the new version 4 sound attractive: Smultron seems to be one of the first Mac text editors to support the <a href="http://en.wikipedia.org/wiki/Mac_OS_X_Lion#New_or_changed_features" target="_blank">new Resume, Auto Save and Versions features of OS X Lion</a>. Maybe I’ll give it a try someday…</p>
<h2>TextWrangler</h2>
<p><img class="alignleft size-full wp-image-80" title="TextWrangler_Logo" src="http://www.bartkummel.net/wp-content/uploads/2012/01/TextWrangler_Logo.png" alt="" width="128" height="128" />A very good and free text editor on the Mac is <a href="http://www.barebones.com/products/textwrangler/" target="_blank">TextWrangler</a> from <a href="http://www.barebones.com/" target="_blank">Bare Bones Software</a>. The company calls it the “little brother” of their <a href="http://www.barebones.com/products/bbedit/" target="_blank">BBEdit</a> product. While “little brother” sounds as if we’re talking about a rather limited product, TextWrangler actually is a very capable and versatile general purpose text editor. (It seems the BBEdit product, priced at US$ 39.99 at the moment, is targetted at web-developers to be used as their main editor.)</p>
<p>Apart from the usual features, like line numbering, syntax highlighting, advanced search and replace, TextWrangler even has an excellent compare tool, that handles file-to-file as well as directory-to-directory comparissons. (The compare tool is somewhat hidden though, it is reachable via the menu: <strong>Search</strong> &gt; <strong>Find Differnces…</strong>.) As with Smultron, TextWrangler is written exclusively for Mac OS, so it integrates really well with the system and it sports a slick look and feel, just like other Mac OS applications. For now, TextWrangler is my favorite text editing companion for every day use.</p>
<h2>Conclusions</h2>
<p>Well, this is clearly just a personal evaluation of some text edit options for the Mac. There are way more options available, but I didn’t have the time to evaluate them all. There’s a <a href="http://en.wikipedia.org/wiki/Category:Mac_OS_X_text_editors" target="_blank">list of Mac text-editors on Wikipedia</a>, although the list isn’t updated since October 2006. Various other websites publish such lists as well. I want to stress that I just mentioned my personal favorites here and I wouldn’t dare to say that one solution is better than another in general. I hope you enjoyed this article. Please feel free to share your experiences with any of the mentioned editors or any other editor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-text-editing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Java software on a Mac: command line</title>
		<link>http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-command-line/</link>
		<comments>http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-command-line/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 11:00:10 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://localhost:8888/wordpress/?p=8</guid>
		<description><![CDATA[As a developer, I have to use the command line every now and then. In fact, that was one of the reasons for me to chose a MacBook Pro over a Windows machine. Even on the most recent versions of Windows, the command line application still uses some MS-DOS-derived command shell. Admitted, they implemented auto-completion, but it&#8217;s still a pretty limited environment. Mac OS X on the other hand is a Unix-based operating system. Hence the Mac OS X Terminal has the same super powers as many other Unix and Linux command lines.
 <a href="http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-command-line/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As a developer, I have to use the command line every now and then. In fact, that was one of the reasons for me to chose a MacBook Pro over a Windows machine. Even on the most recent versions of Windows, the command line application still uses some MS-DOS-derived command shell. Admitted, they implemented auto-completion, but it’s still a pretty limited environment. Mac OS X on the other hand is a Unix-based operating system. Hence the Mac OS X Terminal has the same super powers as many other Unix and Linux command lines.<span id="more-8"></span></p>
<p>I have also worked on an Ubuntu system for a while. I did not like it so much. But one thing I did like very much, is a nice little application called <a href="http://guake.org/" target="_blank">Guake terminal</a>. It’s a terminal window that’s always available within one keypress, but never gets in the way. It just slides into view when you press the right key, and slides away when you press it again. Making the window semi-transparent, you can even see your desktop or other open windows behind it.</p>
<p><img class="alignleft size-full wp-image-82" title="totalterminal-64" src="http://www.bartkummel.net/wp-content/uploads/2012/01/totalterminal-64.png" alt="" width="64" height="64" />Until recently, I did not find a Guake alternative for Mac OS X. But today I stumbled on <a href="http://totalterminal.binaryage.com/" target="_blank">TotalTerminal</a>: the search is over! TotalTerminal is a Terminal add-on. That means it extends the existing OS X Terminal with hotkey powers, instead of being a separate program to run in place of the terminal. That’s a good thing, since the OS X Terminal already has a lot of good features, which still can be used with TotalTerminal. So by configuring a display profile for Terminal with a nice, translucent background and a pretty font (like e.g. Monaco) and combining that with TotalTerminal, I now have a beautiful pop-over terminal available anywhere, with just one press of a button!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Java software on a Mac: copy &amp; paste</title>
		<link>http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-copy-paste/</link>
		<comments>http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-copy-paste/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 16:30:32 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://localhost:8888/wordpress/?p=9</guid>
		<description><![CDATA[<p>I recently got a new job and my <a href="http://www.vxcompany.com" target="_blank">new employer</a> gave me the opportunity to chose a MacBook Pro as my development machine. I already had pretty good experiences with my iMac at home, so I didn&#8217;t have to think very long about this choice.</p>
<p>However, after years of developing Java software on Windows and Ubuntu boxes, I had to adapt some habits, reprogram my muscle memory and find some new tools. The good news is of course that nearly all Java software runs smoothly on a Mac. For the major Java IDEs, special Mac installers are available, doing a great job to integrate with the Mac OS X platform. After a few weeks of working on the Mac, I have also found some pretty nice additional tools that make the life of a (Java) software developer a lot easier. This is the first of a series of articles dedicated to (Java) software development on a Mac.</p>
 <a href="http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-copy-paste/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently got a new job and my <a href="http://www.vxcompany.com" target="_blank">new employer</a> gave me the opportunity to chose a MacBook Pro as my development machine. I already had pretty good experiences with my iMac at home, so I didn’t have to think very long about this choice.</p>
<p>However, after years of developing Java software on Windows and Ubuntu boxes, I had to adapt some habits, reprogram my muscle memory and find some new tools. The good news is of course that nearly all Java software runs smoothly on a Mac. For the major Java IDEs, special Mac installers are available, doing a great job to integrate with the Mac OS X platform. After a few weeks of working on the Mac, I have also found some pretty nice additional tools that make the life of a (Java) software developer a lot easier. This is the first of a series of articles dedicated to (Java) software development on a Mac.<span id="more-9"></span></p>
<h2>Copy and Paste</h2>
<p><img class="alignleft size-full wp-image-75" title="jumpcut" src="http://localhost:8888/wordpress/wp-content/uploads/2011/11/jumpcut.png" alt="" width="128" height="128" />Although <a href="http://en.wikipedia.org/wiki/Copy_and_paste_programming" target="_blank">copy and paste programming</a> is not a good practice in general, copying and pasting is still a popular habit for programmers. <img src='http://www.bartkummel.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  So I had a hard time reprogramming my muscle memory the first few days on the Mac. But now “copy” is remapped to ⌘C like it has never been different…</p>
<p>Anyway, I recently stumbled upon <a href="http://jumpcut.sourceforge.net/" target="_blank">Jumpcut</a>, an open source OS X utility that creates a clipboard stack. Every time you copy something, it is placed on the stack. And if you just use ⌘V (Cmd + V) to paste, the last thing copied is pasted at the cursor position. However, if you use ⌘⇧V (Cmd + Shift + V), you can browse through the clipboard stack with the cursor keys. That way it is e.g. possible to paste things from “three copies ago”. And if you’re mouse-centric, there’s also a nice little scissors icon in the menu bar, that reveals a list presentation of the clipboard stack when clicked.</p>
<p>All in all, Jumpcut has become an indispensible tool for me. Admitted, the idea is nothing new. On Windows there is the “Office Clipboard” that has roughly the same functionality. However, I didn’t use that one very often, back when I worked on Windows. I think I have used Jumpcut more often in the past few weeks than I have used the Office clipboard on Windows in all the years that I worked on that platform. Jumpcut does it’s job very elegantly and goes out of the way when you don’t use it. I really like this tool!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2011/08/developing-java-software-on-a-mac-copy-paste/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Back from Vienna</title>
		<link>http://www.bartkummel.net/2011/04/back-from-vienna/</link>
		<comments>http://www.bartkummel.net/2011/04/back-from-vienna/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 14:21:15 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Conference]]></category>
		<category><![CDATA[CONFESS]]></category>
		<category><![CDATA[ExtVal]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[MyFaces]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://localhost:8888/wordpress/?p=10</guid>
		<description><![CDATA[I returned from Vienna yesterday evening. After the CONFESS_2011 conference, I enjoyed the city for two days before heading home. I&#8217;ve just unpacked my stuff, so now I have the time to post my slides online at Slideshare. The source &#8230; <a href="http://www.bartkummel.net/2011/04/back-from-vienna/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I returned from Vienna yesterday evening. After the CONFESS_2011 conference, I enjoyed the city for two days before heading home. I&#8217;ve just unpacked my stuff, so now I have the time to post my slides online at <a title="Declarative Input Validation with JSR 303 and ExtVal" href="http://slidesha.re/elmxAf" target="_blank">Slideshare</a>. The source code of the demos is already online at my <a title="Java EE examples" href="http://code.google.com/p/jee-examples/source/browse/#svn%2Ftrunk%2FMeetingRooms" target="_blank">Google Code project</a>. (You can just download the <a href="http://code.google.com/p/jee-examples/source/browse/#svn%2Ftrunk%2FMeetingRooms" target="_blank">MeetingRooms</a> folder from the trunk, that contains the state of the project as it was at the end of my presentation.)</p>
<p>If you attended my talk in Vienna, I hope you enjoyed it and that I&#8217;ve convinced you to start using ExtVal in your Java EE projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2011/04/back-from-vienna/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ExtVal talk @ CONFESS this Wednesday</title>
		<link>http://www.bartkummel.net/2011/04/extval-talk-confess-this-wednesday/</link>
		<comments>http://www.bartkummel.net/2011/04/extval-talk-confess-this-wednesday/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 10:14:20 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Conference]]></category>
		<category><![CDATA[CONFESS]]></category>
		<category><![CDATA[ExtVal]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[MyFaces]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://localhost:8888/wordpress/?p=11</guid>
		<description><![CDATA[I will be giving an interesting talk this Wednesday at the CONFESS conference in Vienna, Austria. I will be talking about ExtVal and how it can help us to prevent repetitive validation code in Java EE 5 as well as &#8230; <a href="http://www.bartkummel.net/2011/04/extval-talk-confess-this-wednesday/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I will be giving an interesting talk this Wednesday at the <a title=" Conference For Enterprise Software Solutions" href="http://www.con-fess.com/" target="_blank">CONFESS</a> conference in Vienna, Austria. <a title="Declarative input validation with JSR 303 and ExtVal" href="http://www.con-fess.com/web/guest/sessions?p_p_id=trackOverview_WAR_portlets101_INSTANCE_tMn0&amp;p_p_lifecycle=0&amp;p_p_state=normal&amp;p_p_mode=view&amp;p_p_col_id=column-1&amp;p_p_col_count=2&amp;_trackOverview_WAR_portlets101_INSTANCE_tMn0_at.irian.confess2011.web.sessionToLoad=151&amp;_trackOverview_WAR_portlets101_INSTANCE_tMn0_at.irian.confess2011.web.backURL=%2Fweb%2Fguest%2Fspeakers" target="_blank">I will be talking about ExtVal</a> and how it can help us to prevent repetitive validation code in Java EE 5 as well as Java EE 6 applications. Of course, the talk will contain many interesting demos. And… I’ll give away some free <a title="Apache MyFaces 1.2 Web Application Development - by Bart Kummel" href="http://tinyurl.com/am12wad" target="_blank">ebooks</a> during my talk!</p>
<p>CONFESS starts tomorrow. There are a lot of very interesting talks about Java EE and JSF. I’m looking forward to meeting many JSF enthusiasts!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2011/04/extval-talk-confess-this-wednesday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book review in Java Magazine</title>
		<link>http://www.bartkummel.net/2010/12/book-review-in-java-magazine/</link>
		<comments>http://www.bartkummel.net/2010/12/book-review-in-java-magazine/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 19:13:16 +0000</pubDate>
		<dc:creator>Bart Kummel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Facelets]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[MyFaces]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Packt]]></category>
		<category><![CDATA[Trinidad]]></category>

		<guid isPermaLink="false">http://localhost:8888/wordpress/?p=12</guid>
		<description><![CDATA[Recently, my book got reviewed in the Dutch Java Magazine. It was a very positive review, I got 4 ‘dukes’ out of 5. A scanned version of the original review (in Dutch) can be downloaded here. An English translation is posted below.
 <a href="http://www.bartkummel.net/2010/12/book-review-in-java-magazine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently, <a href="http://tinyurl.com/am12wad" target="_blank">my book</a> got reviewed in the Dutch <a href="http://www.javamagazine.nl" target="_blank">Java Magazine</a>. It was a very positive review, I got 4 ‘dukes’ out of 5. A scanned version of the original review (in Dutch) <a href="http://www.bartkummel.net/wp-content/uploads/2012/01/book_review.pdf">can be downloaded here</a>. An English translation is posted below.<span id="more-12"></span></p>
<blockquote><p>As of December 2009 there is a new version of Java EE with JavaServer Faces 2.0. It therefore seems a little odd that still many books are published on JavaServer Faces 1.x. Like Bart Kummel’s book <em><a href="http://tinyurl.com/am12wad" target="_blank">Apache MyFaces 1.2 Web Application Development</a>.</em> Fortunately this is not just another book.</p>
<p>Like every introductory book this book also starts with an introduction, this time of Apache MyFaces. A brief summary of this JavaServer Faces (JSF) implementation is followed by a list of the sub projects of MyFaces. Finally the reader is pointed to further extensions of JSF that are focused on extended scoping, portlet integration and validation. This tells us that we are dealing with a modern book on JSF.</p>
<p>As Oracle has turned a large part of their ADF component set into open source in the form of MyFaces Trinidad, it is not surprising that Oracle has also cooperated with all kinds of integration of MyFaces and Trinidad in both Eclipse and JDeveloper. The book explains in great detail how to get started with each of these IDEs. The book then shows how a developer can get to work with Maven. Fortunately, most IDEs nowadays support Maven, in spite of the author’s claim to the contrary, so that there is a free choice of IDE available. Finally a complete chapter is dedicated to Facelets. Those who cannot say goodbye to JavaServer Pages (JSP) I can recommend to read this very thorough chapter.</p>
<p>All the other chapters, except one, deal with the rich component set of MyFaces and its subprojects. Because Trinidad has a large number of components and options, three chapters are dedicated to this subject. And rightly so! The only part that did not surprise me was the chapter on Skinning. This remains, in my view, too complex in structure in Trinidad although I see it is less complex than what I remember from earlier implementations.</p>
<p>The last chapter is dedicated to best practices, but I have the impression this chapter should have been called ‘Miscellaneous’. The chapter deals with a number of general JSF points in a MyFaces jacket. However, the book is full of best practices and that alone makes reading the book more than worthwhile.</p>
<p>The book <em><a href="http://tinyurl.com/am12wad" target="_blank">Apache MyFaces 1.2 Web Application Development</a></em> is more than a ‘getting started with’ book that I enjoyed reading. The author writes well and shows a very thorough knowledge of JSF in general and MyFaces in particular. That he sometimes moves over useful hints rather quickly will not be held against him by those with a little experience in JSF.</p>
<p>What might scare off a beginner in this subject is the early introduction of a dedicated component library in the code examples. If you intend this as a reference book, the examples may be a little difficult to follow because of this. This means you will have to read the book as a whole which gives you a lot of information for your money if only because the excellent hints and best practices found throughout the book.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.bartkummel.net/2010/12/book-review-in-java-magazine/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

