<?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>Morris &#34;Mojo&#34; Jones &#187; Java</title>
	<atom:link href="http://mojo.whiteoaks.com/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://mojo.whiteoaks.com</link>
	<description>Code Monkey, Astronomer, Photographer, Bridge Player</description>
	<lastBuildDate>Mon, 31 Oct 2011 01:03:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>&#8220;Sexier Software with Java and Flex&#8221; James Ward</title>
		<link>http://mojo.whiteoaks.com/2009/03/18/sexier-software-with-java-and-flex-james-ward/</link>
		<comments>http://mojo.whiteoaks.com/2009/03/18/sexier-software-with-java-and-flex-james-ward/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 23:00:26 +0000</pubDate>
		<dc:creator>Morris Jones</dc:creator>
				<category><![CDATA[Software and Systems]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[TheServerSide]]></category>

		<guid isPermaLink="false">http://mojo.whiteoaks.com/?p=43</guid>
		<description><![CDATA[<p>Notes from TheServerSide Java Symposium March 2009</p>
<p>I was interested in this talk because we use a lot of Flex in MyAds for MySpace. Ward is an Adobe guy.</p>
<p>He began with some flashy demos, an interesting way to enter car accident information for an insurance form on a web site, and a desktop application called SalesBuilder.</p>
<p>Flex components: [...]]]></description>
			<content:encoded><![CDATA[<p><em>Notes from TheServerSide Java Symposium March 2009</em></p>
<p>I was interested in this talk because we use a lot of Flex in MyAds for MySpace. Ward is an Adobe guy.</p>
<p>He began with some flashy demos, an interesting way to enter car accident information for an insurance form on a web site, and a desktop application called SalesBuilder.</p>
<p>Flex components: Client runtimes (Adobe AIR, Flash, PDF), Frameworks (Ajax, Adobe Flex 3), Servers/Services (LiveCycle, ColdFusion, FlashMedia Server, etc.), Developer tools (Creative Suite 3, FlexBuilder).</p>
<p>The core VM for Flex is the Mozilla Tamarin open source virtual machine. I didn&#8217;t know that!</p>
<p>Two primary languages for writing Flex: ActionScript, and MXML. He says &#8220;It&#8217;s a real language, not just a scripting language.&#8221; Okay. <img src='http://mojo.whiteoaks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The FlexBuilder IDE compiles MXML and ActionScript, binds to the Flex Class Library, and creates a .swf file (&#8220;swif&#8221;).</p>
<p>Nice, live coding of a simple app to update Flickr tags in Flex using Flickr&#8217;s RESTful API. Starts with MXML to instantiate variables and objects. (But it&#8217;s still XML. Ew. He did say you can do it all in ActionScript if you prefer.)</p>
<p>Ah, the XML appears to provide a scaffolding that makes a configuration environment for ActionScript classes, which look more like a &#8220;real&#8221; language. Clearly much of the power of the language is going to be found in the class library.</p>
<p>The example made for a great live demo of the whole Flex development process, end to end, complete with debugging and examining data <em>in vitro</em>. That makes for a powerful talk. Oh wait! He&#8217;s using Eclipse for the live coding. Interesting.</p>
<p><a href="http://flex.org/tour">http://flex.org/tour</a> for an interesting &#8220;Tour de Flex&#8221; showing fun available Flex components.</p>
<p>Very good performance demo of the ActionScript Message Format (AMF), a proprietary data format  optimzied for Flex. In his demo he&#8217;s showing a Tomcat server running on his local machine, and walking through the back end code that communicates with the Flex front-end.</p>
<p>Spring has built integration for Java webapps with BlazeDS for web messaging with Flex front-ends.</p>
<p>With two minutes left, he decided to build a Flex chat client, and showed two clients exchanging chat messages. Impressive.</p>
<p><a href="http://javasymposium.techtarget.com/html/images/JWard_Java_Flex.pdf" target="_blank">Presentation slides here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mojo.whiteoaks.com/2009/03/18/sexier-software-with-java-and-flex-james-ward/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Intro to JRuby&#8221; Neal Ford</title>
		<link>http://mojo.whiteoaks.com/2009/03/18/intro-to-jruby-neal-ford/</link>
		<comments>http://mojo.whiteoaks.com/2009/03/18/intro-to-jruby-neal-ford/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 22:24:17 +0000</pubDate>
		<dc:creator>Morris Jones</dc:creator>
				<category><![CDATA[Software and Systems]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JRuby]]></category>
		<category><![CDATA[TheServerSide]]></category>

		<guid isPermaLink="false">http://mojo.whiteoaks.com/?p=36</guid>
		<description><![CDATA[<p>Notes from TheServerSide Java Symposium, March 2009</p>
<p>Why Ruby? He talks about the known good language features, but the biggest reason is Rails. Ruby is actually an older language than Java.</p>
<p>JRuby 1.1 incorporates a just-in-time (JIT) compiler, and in many tests is faster than the Matz Reference Implementation.</p>
<p>In answer to a question, JRuby would exclude some gems [...]]]></description>
			<content:encoded><![CDATA[<p><em>Notes from TheServerSide Java Symposium, March 2009</em></p>
<p>Why Ruby? He talks about the known good language features, but the biggest reason is Rails. Ruby is actually an older language than Java.</p>
<p>JRuby 1.1 incorporates a just-in-time (JIT) compiler, and in many tests is faster than the Matz Reference Implementation.</p>
<p>In answer to a question, JRuby would exclude some gems that incorporate native extensions, but many gems are beginning to include Java native extensions.</p>
<p>JRuby can incorporate and use Java classes in four different ways, and the implementation lets you use Ruby-native syntax for accessors.</p>
<table border="0">
<tbody>
<tr>
<th>Java</th>
<th>Ruby</th>
</tr>
<tr>
<td>emp.getName();</td>
<td>emp.name</td>
</tr>
<tr>
<td>emp.setName(&#8220;Homer&#8221;);</td>
<td>emp.name = &#8220;Homer&#8221;</td>
</tr>
<tr>
<td>emp.isManager()</td>
<td>emp.manager?</td>
</tr>
</tbody>
</table>
<p>Camel case Java names can be called with underscores, i.e. url.to_external_form vs. url.toExternalForm().</p>
<p>He then gave examples of language features, including closures, open classes, shadow meta-class, modules a.k.a. mixins.</p>
<p>Because of the dynamic nature, tests are not optional in Ruby projects. Being interpreted, tests need to find runtime errrors.</p>
<p>You can do Swing in Ruby, but it&#8217;s a little weird. Fun to be able to reopen classes and modify behavior. There&#8217;s an open-source framework, swiby = jruby + swing.</p>
<p>Very interesting use case: using JRuby to run Java tests. Making mock objects in Ruby is right in the language&#8217;s sweet spot, whereas mocks in Java require all kinds of perverted twists to make Java do what it doesn&#8217;t want to do, and create types.</p>
<p>I guess Ruby is beautiful if you&#8217;re deep into meta-programming, partly because it makes it easy. It doesn&#8217;t take a lot of code to do what you want to do.</p>
<p>He states that while JRuby is at least as fast as native Ruby, JRuby is profoundly slower than Java, in exchange for faster development time.</p>
<p><a href="http://javasymposium.techtarget.com/html/images/NFord_Intro_JRuby.pdf" target="_blank">Link to the presentation here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mojo.whiteoaks.com/2009/03/18/intro-to-jruby-neal-ford/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;On the lam from the furniture police&#8221; Neal Ford</title>
		<link>http://mojo.whiteoaks.com/2009/03/18/on-the-lam-from-the-furniture-police-neal-ford/</link>
		<comments>http://mojo.whiteoaks.com/2009/03/18/on-the-lam-from-the-furniture-police-neal-ford/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 17:45:32 +0000</pubDate>
		<dc:creator>Morris Jones</dc:creator>
				<category><![CDATA[Software and Systems]]></category>
		<category><![CDATA[Furniture police]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[TheServerSide]]></category>

		<guid isPermaLink="false">http://mojo.whiteoaks.com/?p=25</guid>
		<description><![CDATA[<p>These are random notes from Neal Ford&#8217;s keynote talk at TheServerSide Java Symposium.</p>
<p>The &#8220;furniture police&#8221; he mentions are the management folks that unintentionally take productive people and squeeze them into environments such as cubicle farms that make productivity difficult. It&#8217;s also a metaphor for every distracting thing in the workplace.</p>
<p>The reference comes the book Peopleware: Productive [...]]]></description>
			<content:encoded><![CDATA[<p>These are random notes from Neal Ford&#8217;s keynote talk at TheServerSide Java Symposium.</p>
<p>The &#8220;furniture police&#8221; he mentions are the management folks that unintentionally take productive people and squeeze them into environments such as cubicle farms that make productivity difficult. It&#8217;s also a metaphor for every distracting thing in the workplace.</p>
<p>The reference comes the book <em>Peopleware: Productive Projects and Teams</em> by DeMarco and Lister.</p>
<p>One of our major assets as programmers is our ability to stay focused and concentrate for long periods of time.</p>
<p>Another book reference: <em>Pragmatic Thinking &amp; Learning </em>by Andy Hunt.</p>
<p>Brain functions and hemisphere roles are significant. Our right brain is a major source of insights, and is non-verbal. Hard to pass communication directly from the right brain.</p>
<p>An effective technique is to &#8220;silence the chatter&#8221; from the left brain with with repetitive tasks that are not too difficult, such as mowing the lawn, playing tetris, showering.</p>
<p>He NEVER gets any deep insights while watching TV. I concur.</p>
<p>Insights are fleeting.</p>
<p>He brought up mind maps, showed a free Eclipse plugin, and mentioned a tool called Personal Brain.</p>
<p>Book references: <em>The Humane Interface</em> by Jef Raskin. &#8220;locus of attention&#8221; as a key to UI design.</p>
<p><em>FLOW &#8212; The Psychology of Optimal Experience</em> by Miahly Csikszentmihalyi &#8212; &#8220;in the zone&#8221;</p>
<p>Good analogy for being interrupted when &#8220;in the flow&#8221; is being waked when sleeping. A five-minute interruption really takes 30 minutes.</p>
<p>Mentioned a TweakUI power tool for Windows that will silence balloon tips that are constantly popping up.</p>
<p>Screen dimmers black out the rest of the screen, leaving you focused on one area: &#8220;jedi concentrate&#8221; and &#8220;doodim&#8221;</p>
<p>&#8220;Don&#8217;t shave a yak.&#8221;</p>
<p>Advocates &#8220;war rooms&#8221; rather than cubicles. Best is offices with doors.</p>
<p>email = efail. Instant messaging bends flow but doesn&#8217;t tend to break it. Preferred.</p>
<p>Todo list for you and your company:</p>
<p>For company:</p>
<ul>
<li> Create brain-friendly workspaces, offices, war rooms</li>
<li> Try pair programming, at least on the hard parts</li>
<li> Create collaborative spaces<br />
Software development is more about communication than technology</li>
</ul>
<p>For you:</p>
<ul>
<li>Software development is not purely left brain, engage entire brain</li>
<li>Quiet chattering left brain<br />
Find ways to leverage background processing (like showering or cooking)<br />
Create an exocortex</li>
<li>Find and preserve &#8220;flow&#8221; within your environment</li>
<li>Wrest control of our environments away from the furniture police &#8212; gently</li>
<li>build insanely great software</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mojo.whiteoaks.com/2009/03/18/on-the-lam-from-the-furniture-police-neal-ford/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

