<?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>Steve On Java &#187; JavaFX</title>
	<atom:link href="http://steveonjava.com/category/javafx/feed/" rel="self" type="application/rss+xml" />
	<link>http://steveonjava.com</link>
	<description>Hacking Java, JavaFX, and Flash with Agility</description>
	<lastBuildDate>Thu, 01 Dec 2011 01:36:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>JavaOne is Rebuilding Momentum</title>
		<link>http://javafx.steveonjava.com/javaone-is-rebuilding-momentum/</link>
		<comments>http://javafx.steveonjava.com/javaone-is-rebuilding-momentum/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 08:06:18 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[OSCON Java]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[javaone]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=2099</guid>
		<description><![CDATA[Just finished up an extremely busy week at JavaOne and there was a lot to like about this year&#8217;s event.  There were plenty of surprise announcements, lots of good content/sessions, and a lot of improvements on the venue and organization. For folks who have been patiently waiting for me to publish all my talks, I [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fjavaone-is-rebuilding-momentum%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fpzy4Rl%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22JavaOne%20is%20Rebuilding%20Momentum%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/javaone-is-rebuilding-momentum/";
		var dzone_title = "JavaOne is Rebuilding Momentum";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>Just finished up an extremely busy week at JavaOne and there was a lot to like about this year&#8217;s event.  There were plenty of surprise announcements, lots of good content/sessions, and a lot of improvements on the venue and organization.</p>
<p>For folks who have been patiently waiting for me to publish all my talks, I apologize for the delay&#8230;  giving 4 talks + a keynote (plus 3 more talks at Silicon Valley Code Camp yesterday) was a lot more work than I expected.  To make sure I can cover the topics and code in enough detail I am going to publish 1 talk plus commentary a day for the next week.  Please follow me on <a href="http://twitter.com/steveonjava">twitter</a> or <a href="http://steveonjava.com/feed/">rss</a> to catch the updates as they roll out.</p>
<p>To get you started, here are some of the highlights from JavaOne:</p>
<h3>JavaFX is back in the spotlight!</h3>
<p>After a year of hibernation, JavaFX is back with a 2.0 release, big open source announcement (more on this below), and mobile prototypes on Android and iOS.  For those naysayers who said JavaFX is dead, Oracle has proved that they are going to continue to move the platform forward and support state-of-the art development on Java client technology.  As always, Jasper and the rest of the JavaFX team had some pretty impressive demos and the entire Java community was re-energized about the future of client Java.</p>
<p>If you haven&#8217;t already, go <a href="http://javafx.com/">download JavaFX 2.0</a> right now!  It is available in production for Windows and there is a developer preview of Mac OS X, so you have no excuse for not trying it out today.  (unless you are on Linux&#8230;  but that is supposed to be coming soon too)</p>
<h3>The Open Source Petition Was Successful!</h3>
<p>Thanks to all my blog readers who spent the time and energy to sign and support the <a href="http://javafx.steveonjava.com/javafx-petition/">petition to open source JavaFX</a>.  In part due to the huge community sentiment about the need to open source JavaFX, Oracle has taken action and promised to open source the entire platform.  They are going to start with the controls library as announced last year, and continue to open source the entire platform as part of the OpenJDK project.</p>
<p>This is a huge benefit to JavaFX, which will finally be getting equal treatment with the rest of the Java platform.  They are also actively working on getting JavaFX to be fully redistributable, which will remove yet another obstacle to making JavaFX the standard for desktop development.</p>
<h3>Community, Community, Community.</h3>
<p>Oracle has been listening to the Java community, and put in place many of the changes and suggestions that were raised.  This was evident in the entire JavaOne conference, which was a huge improvement over last year&#8217;s event.  Some of the improvements that I noticed while hanging out at JavaOne this year included:</p>
<ul>
<li>A Community-focused Keynote &#8211; While I may have been biased as a participant, I thought the best keynote of the conference was the wrap-up community keynote that <a href="http://twitter.com/#!/Sharat_Chander">Sharat Chander</a> lead.  This included some amazing demos by the Duke&#8217;s Choice Winners of audible development for the blind and home automation using Glassfish, a spicy panel that had a lot of positive things to say about the Java Community and <a href="http://www.oscon.com/oscon2011">OSCON Java</a>, and a surprise appearance by the <a href="http://javaposse.com/">Java Posse</a> who were at 3/4 of their finest!  (the 1/4 being poor Tor, the Googler)</li>
<li>Community Hang Spaces &#8211; While navigating the conference it was much easier to bump into folks you know by hanging around one of the many hang spaces that were built out around the venue.  In fact, <a href="http://twitter.com/#!/deanriverson">Dean Iverson</a> and I found ourselves preparing for one of our talks in the hang area, because it was more conducive to collaboration and interaction than the speaker room.</li>
<li>Easier Venue Navigation &#8211; A couple things contributed to this&#8230;  One was that all 3 hotels were reserved for JavaOne talks, so you had more talks concentrated in the same vicinity.  Another was the plethora of helpful staff directing traffic and answering questions (I made quite a lot of use out of this myself).  Finally, the signage and open tent configuration made it much easier to get form Point A to Point B.</li>
</ul>
<h3>And a Few Things to Improve for Next Year&#8230;</h3>
<p>Everyone has their personal gripes&#8230;  here are some of mine:</p>
<ul>
<li>Fewer Sponsored Keynotes &#8211; When you pay big $$$ to attend a conference, the last thing you want to do is sit in a session and watch a canned talk by a corporate stooge.  The Juniper Networks talk was a particularly blatant example of something that was not really focused on the Java crowd tossed in as a sales kick-back.  In the future, it would be better to make the sponsors earn the attention of the attendees by labeling the talks as sponsored and giving attendees some alternatives.</li>
<li>Better Network Connectivity &#8211; It was almost impossible to get on the wifi network in any crowded situation (like a session), and once connected the response times were abysmal. That is until everyone left around Thursday midday and the network started going blazingly fast for those who stuck it out for the last few talks.  <img src='http://steveonjava.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Improved Tech Support on Talks &#8211; I listened to the presenter advice and formatted all my slides in 16:9, which didn&#8217;t seem to work for the first couple talks that had big black letter-boxes above and below the slides.  Also, my first talk had no network connectivity on the wired connection (and as I mentioned, wireless was useless).  However, I had to the good fortune of giving way too many talks, so by the time I got to my 3rd and 4th ones they seemed to have figured out how to use the very expensive screen adjustment boxes and got everything tuned just right.  Also, the wired network seemed to work fine in all the other rooms I hi.</li>
<li>Patching Things Up With Google &#8211; This is the second year that Google has refused to let anyone speak at JavaOne. They blame the lawsuit for this, but at some point the policy is more retaliation than just good legal defense. (Is letting Tor speak on stage in a community setting is really going to jeopardize the Android platform?) The real losers in this battle are the average developer who is missing out on great technology and content from one of the most innovative companies in the world.</li>
</ul>
<p>Overall, JavaOne was a great conference this year, and is definitely back on the upswing.  There was mention of improving the venue in the community keynote, and I hope the upper management at Oracle takes this seriously.  The 3-hotel setup is not ideal, and really not large enough to contain the Java community.  It is time to unleash the Java Community in a full conference venue of its own.</p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/javaone-is-rebuilding-momentum/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/javaone-is-rebuilding-momentum/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JavaFX 2.0 and Scala, Like Milk and Cookies</title>
		<link>http://javafx.steveonjava.com/javafx-2-0-and-scala-like-milk-and-cookies/</link>
		<comments>http://javafx.steveonjava.com/javafx-2-0-and-scala-like-milk-and-cookies/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 13:18:25 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[ScalaFX]]></category>
		<category><![CDATA[dsl]]></category>
		<category><![CDATA[javafx 2.0]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=2036</guid>
		<description><![CDATA[JavaFX 2.0 and Scala are both great technologies individually, but work even better when used together.  JavaFX 2.0 is a powerful rich client technology with advanced graphics, animation, and media capabilities.  Scala is a simple, yet powerful language with advanced language features for writing domain-specific languages (DSLs).  Add a little Scala UI DSL to your [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fjavafx-2-0-and-scala-like-milk-and-cookies%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22JavaFX%202.0%20and%20Scala%2C%20Like%20Milk%20and%20Cookies%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/javafx-2-0-and-scala-like-milk-and-cookies/";
		var dzone_title = "JavaFX 2.0 and Scala, Like Milk and Cookies";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>JavaFX 2.0 and Scala are both great technologies individually, but work even better when used together.  JavaFX 2.0 is a powerful rich client technology with advanced graphics, animation, and media capabilities.  Scala is a simple, yet powerful language with advanced language features for writing domain-specific languages (DSLs).  Add a little Scala UI DSL to your JavaFX 2.0 project and you will be in cookie and cream heaven!</p>
<p><img class="alignnone" title="Cookie Drop 1" src="http://farm5.static.flickr.com/4005/4507206940_e2251dd44a_m.jpg" alt="" width="216" height="186" /> <img class="alignnone" title="Cookie Drop 2" src="http://farm3.static.flickr.com/2248/4506569781_ac93d2fb1f_m.jpg" alt="" width="216" height="186" /> <img class="alignnone" title="Cookie Drop 3" src="http://farm3.static.flickr.com/2121/4507213530_be29d5f9c5_m.jpg" alt="" width="194" height="186" /></p>
<p>Time Lapse Photography <a href="http://creativecommons.org/licenses/by-nc-nd/2.0/">Creative Commons Licensed</a> by <a href="http://www.flickr.com/photos/photo_art/">Robbie&#8217;s Photo Art</a></p>
<h2>JavaFX Colored Circles</h2>
<p>I will go into more detail on why Scala in a bit, but I believe this is all best illustrated with a code example.  One of the basic examples of JavaFX 2.0 functionality that comes with the SDK is a sample application called ColorfulCircles.  The full source code can be found here:</p>
<h2><span class="download"><a href="http://download.oracle.com/javafx/2.0/get_started/ColorfulCircles.java.html">Java Colored Circles Code</a></span></h2>
<p>With the help of <a href="http://nbguru.blogspot.com/">Sven Reimers</a>, we ported this to Scala on top of the <a href="https://code.google.com/p/scalafx"> ScalaFX library</a>.  The working application source can be found here:</p>
<h2><span class="download"><a href="https://code.google.com/p/scalafx/source/browse/demo/scalafx/SimpleColorfulCircles.scala">ScalaFX Colored Circles Code</a></span></h2>
<p><strong>Update</strong>: Dean Iverson has a great example of the same code in <a href="http://pleasingsoftware.blogspot.com/2011/09/groovyfx-vs-scalafx.html">GroovyFX</a></p>
<p>Feel free to peruse the source code at your leisure, and take note of the following:</p>
<h4>1. ScalaFX is More Concise</h4>
<p>The ScalaFX version is shorter both in number of lines and more importantly number of characters.</p>
<p>Code Count (excluding licenses and imports):</p>
<ul>
<li>Lines:
<ul>
<li>Java: 48</li>
<li>ScalaFX: 42</li>
</ul>
</li>
<li>Characters:
<ul>
<li>Java: 1602</li>
<li>ScalaFX: 866</li>
</ul>
</li>
</ul>
<p>This is due to custom tailored DSL language that is fully expressive with less redundancy.  In the Java version of the code you will notice a lot more boilerplate and syntactic repetition that is required by the language.</p>
<h4>2. ScalaFX Code Looks Like the Output</h4>
<p>While the output of the Colored Circles example is quite simple, it actually hides quite a bit of complexity in the way it is structured.  Here is the output run from JavaFX 2.0 Build 45 using ScalaFX:</p>
<p><a href="http://steveonjava.com/wp-content/uploads/2011/09/colorfulcircles.png"><img class="aligncenter size-full wp-image-2076" title="colorfulcircles" src="http://steveonjava.com/wp-content/uploads/2011/09/colorfulcircles.png" alt="" width="400" height="301" /></a></p>
<p>What you are actually seeing is a SceneGraph composed of the following layers:</p>
<ul>
<li>A Scene with a black background that contains&#8230;
<ul>
<li>A Group that contains
<ul>
<li>30 semi-transparent Circles covered by&#8230;</li>
</ul>
</li>
<li>A rainbow-colored Rectangle overlay</li>
</ul>
</li>
</ul>
<p>When reading the ScalaFX code you get this nesting through the object-literal style declaration of the Nodes in the Scene as excerpted here:</p>
<pre class="brush: scala; title: ; notranslate">
// ScalaFX Scene Excerpt:
scene = new Scene {
  content = Seq(
    new Group {
      circles = for (i &lt;- 0 until 30) yield new Circle { ... }
    }
    new Rectangle { ... }
  )
}
</pre>
<p>However, the Java version does not give you the same hierarchical representation, and instead uses an imperative series of calls to constructors, getters, and collection methods.</p>
<h4>3. Tailored Animation Syntax</h4>
<p>Animations are very commonly used in creating good UIs, which is why JavaFX Script had a built-in construct to simplify the creation of animations. ScalaFX has a similar syntax that allows you to quickly and easily create animations, which is used in the ColorfulCircles example:</p>
<pre class="brush: scala; title: ; notranslate">
Seq(
  at(0 s) {circle.centerX -&gt; random * 800},
  at(0 s) {circle.centerY -&gt; random * 600},
  at(40 s) {circle.centerX -&gt; random * 800},
  at(40 s) {circle.centerY -&gt; random * 600}
)
</pre>
<p>This makes it trivially easy to create complex animations.</p>
<h4>4. And the ScalaFX Version Has a Hidden Bonus Feature&#8230;</h4>
<p>Unlike the JavaFX version, the contents are bound to the width and height of the stage. Binding in ScalaFX is as simple as replacing the assignment operator (=) with the bind operator (&lt;==) as shown here:</p>
<pre class="brush: scala; title: ; notranslate">
// ScalaFX Property Setting:
width &lt;== scene.width
height &lt;== scene.height
</pre>
<p>While this is a simple operator change in ScalaFX, it requires complex enough code that they decided to omit it from the JavaFX sample. A loose translation to Java would be the following:</p>
<pre class="brush: java; title: ; notranslate">
// Java Fixed Property Binding
colors.widthProperty().bind(scene.widthProperty())
colors.heightProperty().bind(scene.heightProperty())
</pre>
<p>Although, the precise equivalent code in Java syntax would actually be the following:</p>
<pre class="brush: java; title: ; notranslate">
// Java Dynamic Property Binding
colors.widthProperty().bind(Bindings.selectDouble(primaryStage.sceneProperty(), &quot;width&quot;))
colors.heightProperty().bind(Bindings.selectDouble(primaryStage.sceneProperty(), &quot;height&quot;))
</pre>
<p>Either of these versions is quite a bit more complex and unwieldy than the ScalaFX equivalent, and this is for a very simple binding!</p>
<h2>About ScalaFX</h2>
<p><a href="https://code.google.com/p/scalafx/">ScalaFX</a> is a UI DSL written within the Scala Language that sits on top of JavaFX 2.0 (not to be confused with <a href="http://people.epfl.ch/ingo.maier">Ingo Maier&#8217;s</a> great work on <a href="http://www.google.com/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CB0QFjAA&amp;url=http%3A%2F%2Flamp.epfl.ch%2F%7Eimaier%2Fpub%2FDeprecatingObserversTR2010.pdf&amp;rct=j&amp;q=ingo%20maier%20functional%20reactive%20programming%20pdf&amp;ei=FpmBTs3aD4fZiALL29yYDQ&amp;usg=AFQjCNEdY1-mrWx4Sev3tCqrhRzDbaoDTg&amp;sig2=J_T9I5FQhs8OeJKMVrJK2g&amp;cad=rja">Functional Reactive Programming</a> for Swing). This means that every ScalaFX application is also a valid Scala application. By extension it supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX 2.0 are supported.</p>
<p>Some of the features of ScalaFX include:</p>
<h4>A Programmer-Friendly Object-Literal-Like Syntax</h4>
<p>ScalaFX uses a simple, hierarchical pattern for creating new objects and building up the scene graph.  Here is a simple example that creates a new stage with a rectangle that changes color based on mouse events:</p>
<pre class="brush: scala; title: ; notranslate">
stage = new Stage {
  title.value = &quot;Hello Stage&quot;
  width = 600
  height = 450
  scene = new Scene {
    fill = Color.LIGHTGREEN
    content = new Rectangle {
      x = 25
      y = 40
      width = 100
      height = 100
      fill &lt;== when (hover) then Color.GREEN otherwise Color.RED
    }
  }
  visible = true
}
</pre>
<p>Unlike the builders you find in the core JavaFX APIs, the ScalaFX object declaration syntax uses the normal object API. This means that you can use the same operators and convenient syntax to create and modify your scene graph. Also, anything that is permissible in a Scala block (such as variable declarations, method calls, binding, etc.) can also be done inline while constructing objects. For JavaFX builders you need to declare binding after you finish creating your objects, which leads to disassociated and hard to maintain code.</p>
<h4>Natural Language Bind Expressions</h4>
<p>One of the greatest advantages of using the Scala language as a DSL is the rich support for operators as methods. This is similar to the C++ concept of operator overloading, but much more uniform and clean in its application.</p>
<p>The ScalaFX bind library exposes normal operators such as &amp;&amp;, ||, +, -, *, / on top of all bindable objects. Also, Scala supports operator precedence, so it looks and feels like you are writing normal expressions even though you are creating bound objects under the covers. As a result, you have the full functionality available from the JavaFX 2.0 binding libraries with code that looks akin to mathematical expressions and operators.</p>
<p>Here are some examples of what you can do with the ScalaFX bind API:</p>
<p>Infix Addition/Subtraction/Multiplication/Division/etc.</p>
<pre class="brush: scala; title: ; notranslate">
height &lt;== rect1.height + rect2.height
</pre>
<p>Aggregate Operators</p>
<pre class="brush: scala; title: ; notranslate">
width &lt;== max(rect1.width, rect2.width, rect3.width)
</pre>
<p>Conditional Expressions</p>
<pre class="brush: scala; title: ; notranslate">
color &lt;== when (hover) then Color.GREEN otherwise Color.RED
</pre>
<p>Complex Boolean Expressions and String Concatenation</p>
<pre class="brush: scala; title: ; notranslate">
text &lt;== when (rect.hover || circle.hover &amp;&amp; !disabled) then textField.text + &quot; is enabled&quot; otherwise &quot;disabled&quot;
</pre>
<p>Free-form Invalidation and Change Handlers</p>
<pre class="brush: scala; title: ; notranslate">
rect.hover onInvalidate {
  needsRepaint = true
}
</pre>
<h4>Fully Type-Safe APIs</h4>
<p>This may seem like an insignificant point&#8230;  Type safety is something that Java developers have always had (and often take for granted), and developers in other scripting languages live without (and unknowingly suffer with runtime errors as a result). However, it is a critical feature if you are developing applications that cannot have unexpected runtime errors and bugs after deployment.</p>
<p>A good compiler will be able to pick up many common coding mistakes through comparison of expected and actual types, and a great compiler (like Scala) will automatically infer types for you so you don&#8217;t have to tediouisly repeat them throughout your code.</p>
<p>ScalaFX gets the best of both worlds with a scripting-like DSL syntax where you can rarely have to explicitly type objects, with the strong type-safety of the Scala compiler that will infer and check the types of every expression and API call. This means less time spent debugging weird code bugs and misspellings, and higher quality code right out of the gate!</p>
<h4>Seamless JavaFX/ScalaFX Interoperability</h4>
<p>It is often the case that you do not have complete freedom about the predominant language of the codebase, or of the libraries you are including functionality from.  Even in a mixed environment codebase where you have Java, Scala, and possibly other JVM languages, ScalaFX will seamlessly convert and interoperate.</p>
<p>ScalaFX gets this functionality through the implicit operator capabilities of Scala.  Anywhere your program expects a JavaFX typed object, it will automatically insert the code to convert from ScalaFX wrapped objects to JavaFX native classes.  Any time you use a ScalaFX specific feature, the compiler automatically creates a ScalaFX wrapper object that allows you to call advanced methods and access the full functionality. This all happens behind the scenes, letting you focus on writing clean code, and not fussing about integration and interoperability.</p>
<p>With all this interoperability magic happening behind the scenes, there is some additional overhead on your application. We have taken pains to minimize this using features like @specialize in the Scala language, which allows us to avoid boxing and unboxing costs on primitives. However, without real benchmarks it is hard to tell just how good of a job we have done. Hopefully more on this in a future post.</p>
<h2>Finding out More About ScalaFX</h2>
<p>The <a href="https://code.google.com/p/scalafx">ScalaFX project site</a> is hosted by Google Code including a couple mailing lists that you should join if you are interested:</p>
<ul>
<li><a href="http://groups.google.com/group/scalafx-users" rel="nofollow">ScalaFX Users</a></li>
<li><a href="http://groups.google.com/group/scalafx-dev" rel="nofollow">ScalaFX Developers</a></li>
</ul>
<p>At the time of writing we do not have a bundled release, but are interested in early adopter feedback.  If you would like to give it a try, please download the source and give it a quick spin!</p>
<p>I will have more details about ScalaFX at my upcoming JavaOne session with Dean Iverson entitled &#8220;<a href="https://www.google.com/calendar/render?eid=MDl1dXRibmltcG9lamgyZDcyMG44c2xyMTggNWQ0Y2VqajJkODBxNzdiZXRibDltcGVkbThAZw&amp;ctz=America/Los_Angeles&amp;pli=1&amp;sf=true&amp;output=xml">JavaFX 2.0 With Alternative Languages</a>&#8220;.  Come to hear more about Scala, Groovy, and other JVM languages you can use to write simpler, cleaner code.</p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/javafx-2-0-and-scala-like-milk-and-cookies/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/javafx-2-0-and-scala-like-milk-and-cookies/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Steveonjava Track at JavaOne</title>
		<link>http://javafx.steveonjava.com/steveonjava-track-at-javaone/</link>
		<comments>http://javafx.steveonjava.com/steveonjava-track-at-javaone/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 10:10:56 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[JFXtras]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[Visage]]></category>
		<category><![CDATA[javaone]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=2011</guid>
		<description><![CDATA[The JavaOne Session Builder is now up and available for setting up your sessions. If you are not used to the JavaOne ritual, it is always a good idea to sign-up for sessions well in advance so you don&#8217;t get bumped out of the more popular ones. This also helps them fix the room allocation [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fsteveonjava-track-at-javaone%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Steveonjava%20Track%20at%20JavaOne%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/steveonjava-track-at-javaone/";
		var dzone_title = "Steveonjava Track at JavaOne";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>The <a href="https://oracleus.wingateweb.com/scheduler/home.jsp">JavaOne Session Builder</a> is now up and available for setting up your sessions.  If you are not used to the JavaOne ritual, it is always a good idea to sign-up for sessions well in advance so you don&#8217;t get bumped out of the more popular ones.  This also helps them fix the room allocation so popular talks get the right size room.</p>
<p>I put together my own schedule of all the JavaFX-related content I plan to attend, and published it on Google Calendar.  It is also a pretty good guide to some of the top JavaFX content that is being featured at JavaOne this year. &#8212; Apologies to my fellow speakers with conflicting session slots.  I wish I could be in multiple places at once, but even rich client technology is not that advanced &#8212; yet.</p>
<p class="note">Note: Click for details &#8212; sessions I am actually giving are highlighted in green.</p>
<p><iframe src="https://www.google.com/calendar/embed?title=JavaOne%20Schedule&amp;showTitle=0&amp;showNav=0&amp;showDate=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;mode=AGENDA&amp;height=870&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=slsl4fn4gnm6tq1kqrec4ptu64%40group.calendar.google.com&amp;color=%23856508&amp;src=5d4cejj2d80q77betbl9mpedm8%40group.calendar.google.com&amp;color=%23125A12&amp;ctz=America%2FLos_Angeles&#038;dates=20111002%2F20111006" style=" border-width:0 " width="650" height="870" frameborder="0" scrolling="no"></iframe></p>
<p>Also, for those of you brave enough to attempt to use the schedule builder, it is no simple feat.  The UI is fairly convoluted, so getting your schedule tweaked to be just right takes a lot of time and experimentation.  Fortunately, I did a lot of this work for you and have figured out the happy path through the system.</p>
<p>JavaOne Schedule Builder Happy Path:</p>
<ol>
<li>Login to the system and go to the <a href="https://oracleus.wingateweb.com/scheduler/eventcatalog/eventCatalogJavaOne.do?ts=1314863228804">JavaOne Content Catalog</a></li>
<li>Setup your filters to get the sessions you want (if you are reading this, you probably want to search on &#8220;javafx&#8221;)</li>
<li>Click on the stars to pick the sessions you are interested in &#8212; this adds them to the &#8220;My interests&#8221; list</li>
<li>Finally, click on &#8220;Schedule My Interests&#8221; and follow the little wizard UI</li>
</ol>
<p>Just about any other path through the system (scheduling by time, resolving conflicts as you add sessions, etc.) is fraught with peril, so be warned.  <img src='http://steveonjava.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Enjoy, and I hope to see you at JavaOne!</p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/steveonjava-track-at-javaone/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/steveonjava-track-at-javaone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OSCON Java Makes a Difference</title>
		<link>http://javafx.steveonjava.com/oscon-java-makes-a-difference/</link>
		<comments>http://javafx.steveonjava.com/oscon-java-makes-a-difference/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 08:18:59 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[OSCON Java]]></category>
		<category><![CDATA[carnival]]></category>
		<category><![CDATA[java 7]]></category>
		<category><![CDATA[jvm languages]]></category>
		<category><![CDATA[oscon]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=1989</guid>
		<description><![CDATA[What was the last conference you went to where you felt like you actually had a positive impact on the larger technical community? A lot of conferences feel like corporate marketing where companies (usually the ones that pay the big sponsorship $$$) are pushing you to buy services or product. Other conferences feel like brainwashing [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Foscon-java-makes-a-difference%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22OSCON%20Java%20Makes%20a%20Difference%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/oscon-java-makes-a-difference/";
		var dzone_title = "OSCON Java Makes a Difference";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>What was the last conference you went to where you felt like you actually had a positive impact on the larger technical community?  A lot of conferences feel like corporate marketing where companies (usually the ones that pay the big sponsorship $$$) are pushing you to buy services or product.  Other conferences feel like brainwashing where the message is constrained by a &#8220;Ministry of Truth&#8221; that limits the topics and speakers to those that align to their world view. No matter how many big parties and aging rock stars they truck in to woo the masses, you leave the conference feeling like you have been sold a technical lemon.</p>
<p>If you were fortunate enough to be at OSCON Java this past week, you were able to experience a different type of conference first hand.  Here are some of the ways in which OSCON Java was not just another technical conference&#8230;</p>
<h3>Hacking for a Purpose</h3>
<p>What was the last time you got to sit down side-by-side with a  conference speaker and technical guru such as Joe Darcy, Stuart Marks,  Bob Lee, and Jeff Genender, and hack out some code?  We setup and  experimental hacking session where we did exactly this, pairing up  attendees 1-to-1 with expert hackers to convert an open source codebase  to use Java 7 features.  For this project we chose Google Guice (no  surprise) and by the end of the session had converted several source  files to use new Java 7 features such as strings in switch, the diamond operator, and try with resources.</p>
<p><a href="http://javafx.steveonjava.com/improving-java-1-bytecode-at-a-time/"><img title="Duke Juggling" src="http://evbdn.eventbrite.com/s3-s3/eventlogos/1862435/1630108699-2.png" alt="" width="205" height="200" /></a></p>
<p>In addition, we also had a follow-on event after the very successful <a href="http://javafx.steveonjava.com/improving-java-1-bytecode-at-a-time/">OSCON JVM Languages Symposium</a> to work through a technical solution for JVM language interoperability.  Normally this is something that could take months of technical debate  to come up with a few possible solutions, but with the collective  brainpower of several compiler authors and some technical herding by Ben  Evans, they came up with a solution after only several hours.</p>
<h3>No Corporate Shills</h3>
<p>At OSCON Java you got to see leaders from across the industry standing side by side up on stage, and being transparent about how their corporate strategies affect technology and open-source. Steve Harris, SVP at Oracle, was bluntly honest about his corporation&#8217;s failings in communicating to the Java community and made the point with some funny, self-deprecating slides, such as the &#8220;Oracle Threat Level&#8221; diagram:</p>
<p><a href="http://youtu.be/CDlsJF52iKY?t=6m25s"><img class="alignnone size-full wp-image-1993" title="threat-level" src="http://steveonjava.com/wp-content/uploads/2011/07/threat-level.png" alt="" width="638" height="347" /></a></p>
<p>However, he ended his speech on a high note with enthusiastic support for the Java community and Java User Groups in particular:</p>
<h4>&#8220;Java User Groups Rock!&#8221;</h4>
<h3>And Some Geeky Fun</h3>
<p>A good technical conference would not be complete without good, geeky fun. For this, we converted one of the exhibition halls into a giant carnival, complete with clowns, games to test your strength, obstacle courses, and of course plenty of carnival food. It was quite a stark difference from being in a tech conference surrounded by screens and computer, and was a great break from typical networking events.</p>
<p><a href="http://www.flickr.com/photos/oreillyconf/5982999288/"><img class="alignnone size-full wp-image-1998" title="oscon-carnival" src="http://steveonjava.com/wp-content/uploads/2011/07/oscon-carnival.jpg" alt="" width="500" height="333" /></a></p>
<p>My money in the above race is definitely on Fabiane Nardon (center), Brazilian Java User Group Leader. Once she sets her mind on something, she is extremely determined! <img src='http://steveonjava.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr />As you can see, OSCON Java is not your average technical conference. I owe the O&#8217;Reilly folks a huge debt of gratitude for being supportive of doing a different style of conference. They have a great culture of innovation and are far enough away from the corporate politics of Java that they can bring everyone to the table or the mutual benefit of the community.</p>
<p>While you may have missed out on one of the greatest Java events since the collapse of Sun, you can still catch some of the best parts on the OSCON video site:</p>
<p><a href="http://www.oscon.com/oscon2011/public/schedule/proceedings">http://www.youtube.com/user/OreillyMedia#grid/user/93FC98105B19725C</a></p>
<p>Also, all the speaker slides are now available for the presentations:</p>
<p><a href="http://www.oscon.com/oscon2011/public/schedule/proceedings">http://www.oscon.com/oscon2011/public/schedule/proceedings</a></p>
<p>See you at OSCON Java next year!!!</p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/oscon-java-makes-a-difference/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/oscon-java-makes-a-difference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improving Java 1 Bytecode at a Time</title>
		<link>http://javafx.steveonjava.com/improving-java-1-bytecode-at-a-time/</link>
		<comments>http://javafx.steveonjava.com/improving-java-1-bytecode-at-a-time/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 07:13:58 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[OSCON Java]]></category>
		<category><![CDATA[jvm languages]]></category>
		<category><![CDATA[oscon]]></category>
		<category><![CDATA[stumptown coffee]]></category>
		<category><![CDATA[voodoo donuts]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=1956</guid>
		<description><![CDATA[This past weekend we held the very first OSCON JVM Languages Symposium. This was truly a meeting of minds with a huge brain trust of language authors, JVM hackers, and professional developers tackling some of the biggest issues for the Java community at large. I think we had a pretty good recipe for success that [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fimproving-java-1-bytecode-at-a-time%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FnDYCP2%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Improving%20Java%201%20Bytecode%20at%20a%20Time%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/improving-java-1-bytecode-at-a-time/";
		var dzone_title = "Improving Java 1 Bytecode at a Time";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>This past weekend we held the very first <a href="http://jvmlangsymposium.eventbrite.com/">OSCON JVM Languages Symposium</a>.</p>
<p>This was truly a meeting of minds with a huge brain trust of language authors, JVM hackers, and professional developers tackling some of the biggest issues for the Java community at large.</p>
<p>I think we had a pretty good recipe for success that went something like this:</p>
<ul>
<li><strong>We ate some yummy <a href="http://voodoodoughnut.com/index.php">Voodoo Donuts</a></strong></li>
<ul>
<li>(while discussing the impact of Java 7++ on JVM languages)</li>
</ul>
<li><strong>Washed down our donut remains with some of Portland&#8217;s finest <a href="http://www.stumptowncoffee.com/">Stumptown coffee</a></strong></li>
<ul>
<li>(while discussing JVM language interoperability)</li>
</ul>
<li><strong>Had some tasty pizza and drinks on a private patio</strong></li>
<ul>
<li>(while pontificating on JVM community dynamics)</li>
</ul>
<li><strong>And then back for some more <a href="http://voodoodoughnut.com/index.php">Voodoo Donuts</a>&#8230;</strong></li>
</ul>
<p>As you can see, we took our work (and play) very seriously.</p>
<p>Thanks to our sponsors, <a href="http://typesafe.com/">Typesafe</a> and <a href="http://www.oscon.com/oscon2011">OSCON</a>, this event was entirely free to the participants.</p>
<p>The full proceedings of our event can be found below&#8230;  given the success, I am looking forward to making this a long standing OSCON Java tradition!</p>
<style>
#wrap1 { width: 650px; height: 480px; padding: 0; overflow: hidden; }
#frame1 { width: 867px; height: 640px; border: 1px solid black; }
#frame1 {
    zoom: 0.75;
    -moz-transform: scale(0.75);
    -moz-transform-origin: 0 0;
    -o-transform: scale(0.75);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(0.75);
    -webkit-transform-origin: 0 0;
}
</style>
<div id="wrap1">
<iframe id="frame1" src="https://docs.google.com/document/pub?id=1ni5a5kLQlwWuiG6CtICpXO3jtyDJFsTkW9UgpNdmPt4&amp;embedded=true"></iframe>
</div>
<p><a href="https://docs.google.com/document/d/1ni5a5kLQlwWuiG6CtICpXO3jtyDJFsTkW9UgpNdmPt4/edit?hl=en_US">OSCON JVM Language Proceedings</a></p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/improving-java-1-bytecode-at-a-time/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/improving-java-1-bytecode-at-a-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Frugal Geek&#8217;s Guide to Conference Crashing</title>
		<link>http://flash.steveonjava.com/the-frugal-geeks-guide-to-conference-crashing/</link>
		<comments>http://flash.steveonjava.com/the-frugal-geeks-guide-to-conference-crashing/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 08:03:12 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[OSCON Java]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[crashing]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[oscon]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=1949</guid>
		<description><![CDATA[Conferences are expensive&#8230;  they assume you work for a stacked megacorporation that believes the fastest path to increasing their shareholder value is investing in your individual career training.  If your employer is not having a great year or has had a surge of resignations from last year&#8217;s crew of esteemed conference goers, chances are that [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflash.steveonjava.com%252Fthe-frugal-geeks-guide-to-conference-crashing%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fo7aBq9%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22The%20Frugal%20Geek%27s%20Guide%20to%20Conference%20Crashing%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://flash.steveonjava.com/the-frugal-geeks-guide-to-conference-crashing/";
		var dzone_title = "The Frugal Geek&#8217;s Guide to Conference Crashing";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>Conferences are expensive&#8230;  they assume you work for a stacked megacorporation that believes the fastest path to increasing their shareholder value is investing in your individual career training.  If your employer is not having a great year or has had a surge of resignations from last year&#8217;s crew of esteemed conference goers, chances are that you won&#8217;t be getting reimbursed to attend your local geek-fest.</p>
<p>Fortunately for you, I happen to know the inside secrets to enjoying all the conference perks at <a href="http://www.oscon.com/">OSCON</a> without handing over a single Benjamin.</p>
<h3>Secret 1:  Conference pre-events are free and easily crashable!</h3>
<p>Today I dropped in completely unexpectedly on the <a href="http://www.oscon.com/oscon2011/public/schedule/detail/20413">Community Leadership Summit</a> today, and even after boldly announcing myself as a party crasher was awarded with a super-secret badge (a.k.a. index card w/sharpie etchings).  This gave full access to their sessions and let me attend the after-party for free drinks!</p>
<p>Tomorrow I am planning on crashing the free <a href="http://jvmlangsymposium.eventbrite.com/">OSCON JVM Languages Symposium</a>&#8230;  I hear they have some of Portland&#8217;s scariest pastries being brought in and might even be doing a free lunch outing thanks to their sponsor, <a href="http://typesafe.com/">Typesafe</a>.</p>
<p><a href="http://voodoodoughnut.com/index.php"><img class="alignnone size-full wp-image-1950" title="voodoo-doll-doughnut" src="http://steveonjava.com/wp-content/uploads/2011/07/voodoo-doll-doughnut.jpg" alt="" width="336" height="298" /></a></p>
<p>It helps that both of these events have an unbelievably high Rockstar to attendee ratio&#8230;  more on why this matters a little later.</p>
<h3>Secret 2:  The best type of conference pass is the free type</h3>
<p>There are 9! different OSCON passes available for you to choose from on the registration site.  While this is a bewildering array of options, but if you pay attention to the price it is quite an easy decision.  Click the &#8220;Register Now&#8221; button below and you are good to go:</p>
<p><a href="http://www.oscon.com/oscon2011/public/content/free"></a><a href="http://www.oscon.com/oscon2011/public/regwith/expopass"> <img src="http://assets.en.oreilly.com/1/eventprovider/1/cta_global_register.png" alt="Register" width="300" height="38" /> </a><br />
<a href="http://www.oscon.com/oscon2011/public/regwith/expopass">Register now</a> for a FREE Expo Hall Pass (use code <strong>EXPOPASS</strong>)</p>
<p>So what are you missing out on with an Expo Pass?  Well&#8230;  you can&#8217;t sit with the rest of the attendees and listen to a canned lecture, but you can hang out with your new Rockstar friends in the hallways.  Which takes us to Secret 3&#8230;</p>
<h3>Secret 3:  Conference value = # of Rockstars / # of Attendess</h3>
<p>This makes sense if you think about it&#8230;  if you were the only attendee, surrounded by a cluster of speakers and geniuses waiting to impart their knowledge on you, it would be infinitely valuable.  Most conferences you are one speck of sand in a huge pool of attendees vying for a little bit of wisdom to be imparted on your section of the audience.  The smaller the audience, the more chance you might actually get something of value out of the experience.</p>
<p>So what does this mean for the value you get from difference conference events?</p>
<ul>
<li>Keynote = 1 speaker to 1000 attendees:  Avoid this at all costs&#8230;  you can always get the highlights off twitter, so who cares.  [as you can see, my days as a conference chair are clearly numbered.  <img src='http://steveonjava.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ]</li>
<li>Technical Session = 1 speaker to 100 attendees:  This is slightly better, but still the odds are clearly against you!  [yes, and now my days as a speaker are coming to an end as well...  see if anyone invites me to give a technical talk again]</li>
<li><a href="http://www.oscon.com/oscon2011/public/schedule/stype/BoFs">Birds of a Feather Sessions</a> = 1 speaker to 30 attendees:  A slightly better ratio, more focused, and absolutely free!</li>
<li><a href="http://www.oscon.com/oscon2011/public/schedule/detail/20253">Ignite</a> = 30 speakers to 300 attendees:  Ignite talks are for the speaker grazer in all of us&#8230;  yeah, talk your heart out&#8230;  for 5 minutes.  If you haven&#8217;t impressed us in that amount of time, at 40 minute session will not change our opinion.  It also helps that this event is absolutely free!</li>
<li>Unconference = 20 speakers to 100 attendees:  Now we are talking.  With this many technical gurus walking around you are virtually bound to learn something&#8230;  without even without trying!  This includes the <a href="http://jvmlangsymposium.eventbrite.com/">JVM Languages Symposium</a> and <a href="http://www.oscon.com/oscon2011/public/schedule/detail/20413">Community Leadership Summit</a>, both of which are free!</li>
<li>OSCON Hallways = 1 speaker to 1 attendee:  When you bump into <a href="http://twitter.com/#!/odersky">Martin Odersky</a> in the hallways after having had some good times over beer and pizza at the <a href="http://jvmlangsymposium.eventbrite.com/">JVM Languages Symposium</a> you are at a ratio where the real value comes in!  (and didn&#8217;t pay a dime to start the conversation)</li>
</ul>
<p>If you were paying attention, you probably noticed an interesting relationship&#8230;  the most valuable parts of the conference were the parts that cost absolutely nothing to get into.  (don&#8217;t let your megacorp friends know about this, or all the wonderful corporate sponsorships that pay for all these extras might dry up!)</p>
<h3>Secret 4:  Free stuff is the open source way</h3>
<p>Open source is all about giving software out for free, right?  Well, maybe there is more to it than that, but there is still plenty of free conference stuff flying around that you can take advantage of with over 60 <a href="http://www.oscon.com/oscon2011/public/content/exhibitors">exhibitors</a> waiting to hand you prizes just for the privilege of scanning your free badge!</p>
<h3>Secret 5:  And parties galore!</h3>
<p>While all those folks who paid for the high priced admission tickets may think they are special, the reality is that from a sponsor&#8217;s point of view, their eyeball is worth exactly the same as yours.  This means that you have an equal opportunity to take advantage of the most important part of any conference experience&#8230;  the parties!</p>
<p>Here are some of the free events that you won&#8217;t want to miss out on:</p>
<ul>
<li><a href="http://www.oscon.com/oscon2011/public/schedule/detail/20268">Opening Reception</a> &#8211; Grab a drink and mingling with exhibitors and fellow attendees</li>
<li><a href="http://www.oscon.com/oscon2011/public/schedule/detail/20269">OSCON Carnival</a> &#8211;  Join us for food, drinks, entertainment, and lots of good old fashioned fun</li>
<li><a href="http://www.oscon.com/oscon2011/public/schedule/detail/20865">Puppet Labs Party</a> at their headquarters in Portland&#8217;s Pearl District.</li>
<li><a href="http://www.oscon.com/oscon2011/public/schedule/detail/21329">OpenStack Party</a> &#8211; Join OpenStack for cocktails and hors d’oeuvres at the Spirit of 77</li>
<li><a href="http://www.oscon.com/oscon2011/public/schedule/detail/21330">Surprise Attendee Event</a> on Wednesday evening (sorry, we can&#8217;t tell you anything else about this event because it&#8217;s a secret)</li>
<li><a href="http://www.oscon.com/oscon2011/public/schedule/detail/20270">Booth Crawl</a> where you can quench your thirst with vendor-hosted libations and   snacks while you check out all the cool stuff in the expo hall.</li>
<li><a href="http://www.oscon.com/oscon2011/public/schedule/detail/20866">Media Temple Party</a> at the Jupiter Hotel with open bar, music, and all you can eat tacos!</li>
</ul>
<h3>Final Secret:  Everyone can be a Rockstar</h3>
<p>What makes the difference between a Rockstar speaker and an attendee?  Just the drive to do something with technology and be proud of it.  You can be an open-source contributor, user group leader, and technical speaker if you simply apply the skills you already have to the benefit of the community.  Don&#8217;t expect to get paid much, but at least it is a really easy way to get invited to conferences around the world.</p>
<p>&#8212;-</p>
<p>While this article is all meant in good humor, on a serious note I want to thank the O&#8217;Reilly folks for putting on OSCON, offering discounted expo tickets, and compiling this great <a href="http://www.oscon.com/oscon2011/public/content/free">list</a> of free events.<a href="http://www.oscon.com/oscon2011/public/content/free"><br />
</a></p>
<div class="plus-one-wrap"><g:plusone href="http://flash.steveonjava.com/the-frugal-geeks-guide-to-conference-crashing/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://flash.steveonjava.com/the-frugal-geeks-guide-to-conference-crashing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Celebrating Java 7 with 7 Reasons to Attend OSCON Java</title>
		<link>http://javafx.steveonjava.com/celebrating-java-7-with-7-reasons-to-attend-oscon-java/</link>
		<comments>http://javafx.steveonjava.com/celebrating-java-7-with-7-reasons-to-attend-oscon-java/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 23:31:32 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[OSCON Java]]></category>
		<category><![CDATA[java 7]]></category>
		<category><![CDATA[jvm languages]]></category>
		<category><![CDATA[oscon]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=1844</guid>
		<description><![CDATA[OSCON Java is a new conference that I am helping to kick off as co-chair this July.  While there are plenty of conferences out there that you could attend, I am confident that this is the one you won&#8217;t want to miss. To celebrate the Java 7 release, I put together 7 reasons why you [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fcelebrating-java-7-with-7-reasons-to-attend-oscon-java%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FokllHE%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Celebrating%20Java%207%20with%207%20Reasons%20to%20Attend%20OSCON%20Java%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/celebrating-java-7-with-7-reasons-to-attend-oscon-java/";
		var dzone_title = "Celebrating Java 7 with 7 Reasons to Attend OSCON Java";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p><a href="http://www.oscon.com/oscon2011/public/content/java">OSCON Java</a> is a new conference that I am helping to kick off as co-chair this July.  While there are plenty of conferences out there that you could attend, I am confident that this is the one you won&#8217;t want to miss.</p>
<p>To celebrate the Java 7 release, I put together 7 reasons why you should attend OSCON Java.  Also, make sure to use the 20% discount code of &#8220;OS11COM&#8221; when you register:</p>
<div class="download"><a href="https://en.oreilly.com/oscon2011/public/register">Register now</a></div>
<h3>1. Come Celebrate the First New Java Release in Half a Decade!</h3>
<p><a href="http://jdk7.java.net/"><img class="alignnone" title="Java 7" src="http://geeknizer.com/wp-content/uploads/java7.jpg" alt="" width="138" height="131" /></a></p>
<p>The last major release of Java was Java 6, which came out 5 years ago on December 11, 2006.  After only a year of the Sun acquisition, Oracle has already made a major Java release happen with another scheduled in a year&#8217;s time.</p>
<p>We have broad coverage of the <a href="http://jdk7.java.net/">Java 7</a> release with a keynote and technical session by <a href="http://www.oscon.com/oscon2011/public/schedule/detail/21184">Joe Darcy</a>, and technical sessions on OpenJDK and Coin by <a href="http://www.oscon.com/oscon2011/public/schedule/detail/21184">Dalibor Topic</a> and <a href="http://www.oscon.com/oscon2011/public/schedule/detail/20049">Stuart Marks</a>.  I have been pretty impressed with Stuart&#8217;s coverage of topics from a developer&#8217;s perspective and am looking forward to his talk myself.  <img src='http://steveonjava.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>2. Because Google Matters</h3>
<p><img class="alignnone" title="Joshua Bloch" src="http://assets.en.oreilly.com/1/eventprovider/1/_@user_121468.jpg" alt="" width="75" height="100" /></p>
<p>Regardless of what you think about the Android lawsuit, I think the biggest detriment has been the lack of good content on Google technologies at Java conferences.  We are an independent conference, so it allows us to bring content that you would otherwise not find, such as an exclusive keynote from Joshua Bloch and several mobile <a href="http://www.oscon.com/oscon2011/public/schedule/tag/android">Android sessions</a> to help you leverage your Java skills on modern devices.</p>
<h3>3. You Think JVM Languages are Cool</h3>
<p><img class="alignnone" title="Martin Odersky" src="http://assets.en.oreilly.com/1/eventprovider/1/_@user_106308.jpg" alt="" width="75" height="100" /></p>
<p>It has been said that the crown jewel of the Java platform is the JVM, not the language.  Java 7 has further solidified this with better support for dynamic languages.  Come find out what is the latest and greatest on the alternative language front with a keynote and some meaty sessions from <a href="http://www.oscon.com/oscon2011/public/schedule/detail/17884">Martin Odersky</a>, deep technical sessions on Groovy, Clojure, Scala, and other languages, and some bytecode hacking with <a href="http://www.oscon.com/oscon2011/public/schedule/detail/19924">Charles Nutter</a>.</p>
<h3>4. And You Wouldn&#8217;t Mind Hanging out with JVM language Authors for a Day&#8230;</h3>
<p><a href="http://jvmlangsymposium.eventbrite.com/"><img class="alignnone" title="JVM Langauge Symposium" src="http://evbdn.eventbrite.com/s3-s3/eventlogos/1862435/1630108699-2.png" alt="" width="205" height="200" /></a></p>
<p>On the Sunday before OSCON we are organizing a free <a href="http://jvmlangsymposium.eventbrite.com/">JVM Languages Symposium</a> that many of the speakers will be attending.  This is a great opportunity to hang out with JVM language authors and the movers and shakers in the industry in an informal unconference atmosphere.  Events like this are what I believe sets apart community-driven conferences from large corporate events, and provide a lot more value to the attendees than simply one-way content.  If you happen to be in the Portland area, you can drop by for this free event with no obligation to stay for OSCON.</p>
<h3>5. Your Boss Won&#8217;t Let You Fly to Belgium</h3>
<p><a href="http://devoxx.com/"><img class="alignnone" title="Devoxx" src="http://www.devoxx.com/download/attachments/4751369/DV11?version=10&amp;modificationDate=1305560192000" alt="" width="218" height="80" /></a></p>
<p>I travel to speak at different conferences around the world and I would have to say that the golden standard for Java conferences is <a href="http://devoxx.com/">Devoxx</a>.  They have an amazing venue &#8212; it is great to see your slides on a huge movie screen, and relaxing for attendees to take it in from nice, plush seats.  They attract an international audience&#8230;  not only Belgium, but Italy, France, Germany, and citizens of many of the other surrounding countries consider Devoxx their home conference. Even though Devoxx is a wildly successful conference, they still have a small-conference feel, run by a very tight knit conference committee that acts more like a user group than an organization. This makes the entire conference experience much more personalized.</p>
<p>OSCON Java has a lot of similarities with Devoxx. It has a small, enthusiastic program committee with folks who really care about Java technologies. We are also following the Devoxx model of recording and posting talks online afterwards, so even if you miss a great talk because you are in the room next door, you can always watch it online later. Finally, since we are an independent conference, you get the full experience of Java, Android, and other technologies that you would otherwise have to go to multiple conferences to see.</p>
<h3>6. OSCON is a Pretty Sweet Conference as Well&#8230;</h3>
<p><a href="http://www.oscon.com"><br />
<img src="http://assets.en.oreilly.com/1/event/61/oscon2011_attending_210x60.gif " border="0" alt="OSCON 2011" width="210" height="60" /><br />
</a><br />
The O&#8217;Reilly OSCON conference has been underrepresented in the Java community, but is a pretty huge event in its own right.  They have some amazing content around <a href="http://www.oscon.com/oscon2011/public/schedule/topic/Emerging%20Languages">emerging languages</a> and <a href="http://www.oscon.com/oscon2011/public/schedule/topic/Mobile%20Platforms">mobile platforms</a>.  Plus, you can get OSCON, OSCON Java, and OSCON Data all wrapped up in one neat package with the <a href="https://en.oreilly.com/oscon2011/public/register">OSCON Superpass</a>.</p>
<h3>7. There is Only One Inaugural Year!</h3>
<p><a href="http://www.oscon.com"><br />
<img src="http://assets.en.oreilly.com/1/event/61/oscon2011_java_attending_468x60.gif" border="0" alt="OSCON Java 2011" width="468" height="60" /><br />
</a><br />
This is our first year putting on <a href="http://www.oscon.com/oscon2011/public/content/java">OSCON Java</a>, so we are pulling out all the stops with the best speakers, tutorials, content, and events.  You will have a unique opportunity to participate in the creation of a new Java tradition, and a decade from now can brag to your friends about being a founding attendee of the biggest open-source Java conference in the world.</p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/celebrating-java-7-with-7-reasons-to-attend-oscon-java/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/celebrating-java-7-with-7-reasons-to-attend-oscon-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSCON Java, The Java Open Source Conference</title>
		<link>http://flash.steveonjava.com/oscon-java-the-java-open-source-conference/</link>
		<comments>http://flash.steveonjava.com/oscon-java-the-java-open-source-conference/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 00:19:15 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[OSCON Java]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=1819</guid>
		<description><![CDATA[It is pretty easy to get lost in the media hype around the Java events of the past year.  If you follow the headlines, you might believe that all the Java talent left Oracle in a mass exodus, Larry hates open source, or Java is turning into the next COBOL.  Regardless of the factual correctness [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflash.steveonjava.com%252Foscon-java-the-java-open-source-conference%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fgnm2qD%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22OSCON%20Java%2C%20The%20Java%20Open%20Source%20Conference%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://flash.steveonjava.com/oscon-java-the-java-open-source-conference/";
		var dzone_title = "OSCON Java, The Java Open Source Conference";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>It is pretty easy to get lost in the media hype around the Java events of the past year.  If you follow the headlines, you might believe that all the Java talent left Oracle in a mass exodus, Larry hates open source, or Java is turning into the next COBOL.  Regardless of the factual correctness of these headlines, the Java ecosystem is about more than a single company or set of individuals.  Java has the largest open-source community of any language in existence!</p>
<p>So how big is Java and open-source?  Here is an informal search poll of some of the most popular open-source project hosting providers:</p>
<p><a href="http://steveonjava.com/wp-content/uploads/2011/03/Open-source-platform-comparison.png"><img class="aligncenter size-full wp-image-1823" title="Open-source platform comparison" src="http://steveonjava.com/wp-content/uploads/2011/03/Open-source-platform-comparison.png" alt="" width="574" height="324" /></a></p>
<p>The data for this chart comes from the top six open-source hosting providers using Google Search as a metric for gauging activity level for each of the platforms.  As you can see, Java is still the most active open-source platform in the world, followed closely by PHP and Python.  While not an indicator of language popularity, Bill Gates has gone on record speaking out against open source, so the poor representation from the C# community is not surprising.</p>
<p>This takes us to <a href="http://www.oscon.com/oscon2011/public/cfp/159">OSCON Java</a>, which is a new conference I am helping to kick off as conference co-chair together with <a href="http://twitter.com/#!/laurelatoreilly">Laurel Ruma</a>.  It is colocated with OSCON in Portland, Oregon, but is exclusively focused on Java and open source.  O&#8217;Reilly is the conference organizer, but they are very neutral when it comes to corporations and technologies.  This allows us to reach out to a wide variety of Java technology players including Apache, Google, Adobe, Oracle, the JCP, and many others.</p>
<p>We have big plans for the OSCON Java keynotes, technical content, and exhibitors.  Also, we are working on making this a model conference from the get-go based on my experience attending and speaking at premier conference venues across the world.  Expect a huge focus on community outreach, a lot of interaction between speakers and attendees, and a particular focus on the JVM languages of tomorrow.</p>
<p>If you are interested in participating as a speaker, it is still not too late to submit a talk.  The CFP ends on March 28th (4 days!), so you still have time to submit a last minute talk:<a href="http://www.oscon.com/oscon2011/public/cfp/159"></p>
<p>http://www.oscon.com/oscon2011/public/cfp/159</a></p>
<p>If you have a great idea, but can&#8217;t get your talk together in time or miss the deadline by a few days, shoot me an e-mail via the <a href="http://steveonjava.com/contact/">contact form</a> on my blog.</p>
<p>I look forward to seeing you at OSCON Java, uniting the Java open-source community towards a brighter future!</p>
<div class="plus-one-wrap"><g:plusone href="http://flash.steveonjava.com/oscon-java-the-java-open-source-conference/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://flash.steveonjava.com/oscon-java-the-java-open-source-conference/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JavaFX 2.0 at the Chennai JUG</title>
		<link>http://javafx.steveonjava.com/javafx-2-0-at-the-chennai-jug/</link>
		<comments>http://javafx.steveonjava.com/javafx-2-0-at-the-chennai-jug/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 20:10:41 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[chennai]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[jug]]></category>
		<category><![CDATA[Visage]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=1801</guid>
		<description><![CDATA[I was fortunate enough to be invited to speak at the Chennai Java User Group during my trip to India.  I was expecting a small group of very devoted Java fans; however, I was surprised to walk into a room of over 200 developers eager to learn about JavaFX 2.0.  The venue was very impressive [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fjavafx-2-0-at-the-chennai-jug%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FgAJH7w%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22JavaFX%202.0%20at%20the%20Chennai%20JUG%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/javafx-2-0-at-the-chennai-jug/";
		var dzone_title = "JavaFX 2.0 at the Chennai JUG";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>I was fortunate enough to be invited to speak at the <a href="http://www.jugchennai.in/2011/02/20/javafx-with-stephen-chin-java-user-group-chennai-at-first-planet-19-February/">Chennai Java User Group</a> during my trip to India.  I was expecting a small group of very devoted Java fans; however, I was surprised to walk into a room of over 200 developers eager to learn about JavaFX 2.0.  The venue was very impressive with rows of workstations that we later used for a lab, as well as plenty of seating.</p>
<div id="attachment_1802" class="wp-caption alignnone" style="width: 660px"><a href="http://steveonjava.com/wp-content/uploads/2011/02/DSC_0035.jpg"><img class="size-large wp-image-1802" title="Chennai JUG" src="http://steveonjava.com/wp-content/uploads/2011/02/DSC_0035-650x435.jpg" alt="" width="650" height="435" /></a><p class="wp-caption-text">Chennai User Group Venue at Tenth Planet</p></div>
<p>Also, <a href="http://twitter.com/rajmahendra">Raj</a> was a great host, and both he and the folks at <a href="http://tenthplanet.in/">Tenth Planet</a> went completely over the top with this event.  This included:</p>
<ul>
<li>A life-size poster with the event details</li>
<li>An ornamental flower arrangement with the event details</li>
<li>Two gifts presented at the conclusion of the talk</li>
</ul>
<div id="attachment_1803" class="wp-caption alignnone" style="width: 660px"><a href="http://steveonjava.com/wp-content/uploads/2011/02/DSC_0037.jpg"><img class="size-large wp-image-1803" title="Chennai JUG Poster" src="http://steveonjava.com/wp-content/uploads/2011/02/DSC_0037-650x435.jpg" alt="" width="650" height="435" /></a><p class="wp-caption-text">Life-Size Event Poster</p></div>
<p>The session ran from 10AM through 4:30PM with a break for lunch in the middle.  When half the hands went up for returning after lunch, I didn&#8217;t believe most of them would be back, but we easily had 60% of the folks back in their seats by the time we were ready to start.</p>
<p>If you are interested to see the slides from the talk, you can find them on Slideshare <a href="http://www.slideshare.net/steveonjava/javafx-20-and-alternative-languages">here</a>:</p>
<div id="__ss_7002242" style="width: 650px;"><object id="__sse7002242" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="650" height="530" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=javafxyourway-chennai-110221135800-phpapp02&amp;stripped_title=javafx-20-and-alternative-languages&amp;userName=steveonjava" /><param name="name" value="__sse7002242" /><param name="allowfullscreen" value="true" /><embed id="__sse7002242" type="application/x-shockwave-flash" width="650" height="530" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=javafxyourway-chennai-110221135800-phpapp02&amp;stripped_title=javafx-20-and-alternative-languages&amp;userName=steveonjava" name="__sse7002242" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<p>Thanks again to the folks in the Chennai JUG for being great hosts!</p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/javafx-2-0-at-the-chennai-jug/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/javafx-2-0-at-the-chennai-jug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visage Android &#8211; Cleaner APIs, Cleaner UIs</title>
		<link>http://javafx.steveonjava.com/visage-android-cleaner-apis-cleaner-uis/</link>
		<comments>http://javafx.steveonjava.com/visage-android-cleaner-apis-cleaner-uis/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 13:01:12 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[Visage]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=1752</guid>
		<description><![CDATA[I have been busily working away at getting Visage ready for developing Android applications. It is a great fit, because Android converts regular Java class files into its special class format, and the Visage compiler happens to generate Java class files. Also, Android is desperately in need of some TLC on their APIs (more on [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fvisage-android-cleaner-apis-cleaner-uis%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FgW16mi%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Visage%20Android%20-%20Cleaner%20APIs%2C%20Cleaner%20UIs%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/visage-android-cleaner-apis-cleaner-uis/";
		var dzone_title = "Visage Android &#8211; Cleaner APIs, Cleaner UIs";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>I have been busily working away at getting <a href="http://code.google.com/p/visage/">Visage</a> ready for developing Android applications.  It is a great fit, because Android converts regular Java class files into its special class format, and the Visage compiler happens to generate Java class files.  Also, Android is desperately in need of some TLC on their APIs (more on this in a future blog).</p>
<p>So why use Visage for coding Android applications? We do a yearly Hack-a-Thon event at my company (this year called the GXS Xathon). The winning application was written by Tim McNamara, one of my coworkers, and happened to be an Android application.  I decided to do a small port of his code to see if I could improve the maintainability using Visage.  Here is a screenshot of the application:</p>
<p><img class="alignnone size-large wp-image-1756" title="GXS Turbo 3G Screenshot" src="http://steveonjava.com/wp-content/uploads/2011/01/ConnDroid-Screenshot-302x500.png" alt="" width="302" height="500" /></p>
<p>A base settings page for an application.  It uses a couple edit text fields, several lists, and takes advantage of the summary line to display the current values.  The original version included:</p>
<ul>
<li>A Java PreferenceActivity class file</li>
<li>An XML UI layout descriptor</li>
<li>Another XML file for array resources</li>
</ul>
<p>Believe it or not, this is the minimum necessary set of files to create the above screen.  In converting this to Visage, my goal was to get rid of a lot of the redundancy and glue code needed to work across 3 different files.</p>
<p>The end results of the conversion were as follows:<br />

<table id="wp-table-reloaded-id-5-no-1" class="wp-table-reloaded wp-table-reloaded-id-5">
<thead>
	<tr class="row-1 odd">
		<th class="column-1"></th><th class="column-2">Files</th><th class="column-3">Lines</th><th class="column-4">Characters</th>
	</tr>
</thead>
<tbody>
	<tr class="row-2 even">
		<td class="column-1">Raw Android</td><td class="column-2">1 Java, 2 XML</td><td class="column-3">208</td><td class="column-4">7413</td>
	</tr>
	<tr class="row-3 odd">
		<td class="column-1">Visage Android</td><td class="column-2">1 Visage</td><td class="column-3">90</td><td class="column-4">3640</td>
	</tr>
</tbody>
</table>
</p>
<p>While the numbers are impressive, what really matters is the code.</p>
<p>Here is the final Visage code for the settings page:</p>
<pre class="brush: javafx; title: ; notranslate">
public class Settings extends PreferenceActivity {
    var senderPref:ListPreference;
    var receiverPref:ListPreference;
    var statusPref:ListPreference;
    var pollingPref:ListPreference;
    var passwordPref:EditTextPreference;
    var usernamePref:EditTextPreference;

    override var screen = PreferenceScreen { // 1
        preferences: [
            PreferenceCategory { // 1
                &quot;Preferences&quot; // 2
                preferences: [
                    usernamePref = EditTextPreference { // 1...
                        &quot;Username&quot; // 2
                        key: &quot;usernamePref&quot;
                        summary: bind if (usernamePref.text == &quot;&quot;) &quot;Currently undefined&quot; else &quot;Current value: {usernamePref.text}&quot; // 3
                    }
                    passwordPref = EditTextPreference {
                        &quot;Password&quot;
                        key: &quot;passwordPref&quot;
                        summary: bind passwordPref.text.replaceAll(&quot;.&quot;, &quot;*&quot;); // 3
                    }
                    pollingPref = ListPreference {
                        &quot;Polling Interval&quot;
                        key: &quot;pollingPref&quot;
                        defaultValue: &quot;60000&quot;
                        entries: [&quot;30 seconds&quot;, &quot;1 minute&quot;, &quot;5 minutes&quot;, &quot;10 minutes&quot;, &quot;15 minutes&quot;, &quot;30 minutes&quot;, &quot;1 hour&quot;] // 4
                        entryValues: [&quot;30000&quot;, &quot;60000&quot;, &quot;300000&quot;, &quot;600000&quot;, &quot;900000&quot;, &quot;1800000&quot;, &quot;3600000&quot;] // 4
                        summary: bind pollingPref.entry
                    }
                ]
            }
            PreferenceCategory {
                &quot;Filter&quot;
                def CLEAR = &quot;\{Clear Filter\}&quot;; // 5
                preferences: [
                    statusPref = ListPreference {
                        def status = [CLEAR, &quot;HEALTHY&quot;, &quot;WARNING&quot;, &quot;DOWN&quot;]; // 5
                        &quot;Filter By Status&quot;
                        key: &quot;statusPref&quot;
                        defaultValue: CLEAR
                        entries: status
                        entryValues: status
                        summary: bind if (statusPref.value == CLEAR) &quot;Select a status to filter on.&quot; else &quot;Current value: {statusPref.value}&quot;
                    }
                    senderPref = ListPreference {
                        def senders = [CLEAR, for (s in ConnectionService.getSenderNameList()) s];
                        &quot;Filter By Sender&quot;
                        key: &quot;senderPref&quot;
                        defaultValue: CLEAR
                        entries: senders
                        entryValues: senders
                        summary: bind if (senderPref.value == CLEAR) &quot;Select a sender to filter on.&quot; else &quot;Current value: {senderPref.value}&quot;
                    }
                    receiverPref = ListPreference {
                        def receivers = [CLEAR, for (r in ConnectionService.getReceiverNameList()) r];
                        &quot;Filter By Receiver&quot;
                        key: &quot;receiverPref&quot;
                        defaultValue: CLEAR
                        entries: receivers
                        entryValues: receivers
                        summary: bind if (receiverPref.value == CLEAR) &quot;Select a receiver to filter on.&quot; else &quot;Current value: {receiverPref.value}&quot;
                    }
                ]
            }
        ]
    }
}
</pre>
<p>While I am not going to include the full original Android code (200 lines is a lot of code!), here are some of the changes that made the Visage version much more succinct (the below bullets match the numbers in the comments above):</p>
<ol>
<li>The Visage object literal syntax is more concise than XML and just as readable!</li>
<li>Default properties make the object literal syntax even more concise</li>
<li>One bind call can replace dozens of lines of code to setup and instantiate event listeners</li>
<li>No need to declare arrays in a separate file (yes, we have real data types)</li>
<li>This is a real programming language, so you can use constants and variables to repeat arguments (try doing that in XML!)</li>
</ol>
<p>All of the technology here is real, but getting a completed set of APIs that covers all of the things you can accomplish in Android is still a work in progress.</p>
<p>If you are interested in helping out with this, please join the <a href="http://groups.google.com/group/visage-dev?pli=1">Visage Developers mailing list</a>.  I will be posting instructions there soon on how to access the bleeding edge Android Visage repository, and contribute to the growing set of Android APIs.</p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/visage-android-cleaner-apis-cleaner-uis/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/visage-android-cleaner-apis-cleaner-uis/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

