<?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>Gerbrand on ICT &#187; ria</title>
	<atom:link href="http://www.gerbrand-ict.nl/tag/ria/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gerbrand-ict.nl</link>
	<description>Weblog on JEE and software-engineering</description>
	<lastBuildDate>Tue, 18 Oct 2011 14:10:32 +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>JavaFX 2.0</title>
		<link>http://www.gerbrand-ict.nl/2011/02/javafx-2-0-by-roger-brinkley/</link>
		<comments>http://www.gerbrand-ict.nl/2011/02/javafx-2-0-by-roger-brinkley/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 22:01:27 +0000</pubDate>
		<dc:creator>gerbrand</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ria]]></category>

		<guid isPermaLink="false">http://www.gerbrand-ict.nl/?p=495</guid>
		<description><![CDATA[Yesterday I attended a NLJug meeting at Oracle at De Meern on JavaFX, called &#8216;JavaFX 2.0 EA&#8216;. The meeting was presented by Roger Brinkley, who&#8217;s a called &#8216;Community leader&#8217;, of Mobile and Embedded. That he was formally part of Sun wasn&#8217;t hard to see based on his clothing and style. Roger gave an overview of [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I attended a <a href="http://www.nljug.org/">NLJug </a>meeting at Oracle at De Meern on <a href="http://javafx.com/">JavaFX</a>, called &#8216;<a href="http://www.nljug.org/pages/events/content/university_20110217/">JavaFX 2.0 EA</a>&#8216;. The meeting was presented by Roger Brinkley, who&#8217;s a called &#8216;Community leader&#8217;, of Mobile and Embedded. That he was formally part of Sun wasn&#8217;t hard to see based on his clothing and style.</p>
<p>Roger gave an overview of the new JavaFX 2.0, the<a href="http://javafx.com/roadmap/"> road-map</a> and the planned features. The software seems to be developed in an agile manner: the dead line is fixed, as is policy at Oracle (not meeting a dead line means exit for the responsible executive), but the final set of features is not.<br />
The preview is available now for a limited audience, in May the first public beta will be released and in November the final will be available.</p>
<p><span id="more-495"></span>The most important news I heard:</p>
<ul>
<li>JavaFX 2.0 will be a <strong>library </strong>(jfx.jar), rather than a separate scripting language <em>JavaFX</em>. The language works in the language Java of course, but you can use the language <a href="http://www.scala-lang.org/">Scala</a>, <a href="http://jruby.org/">JRuby</a>, <a href="http://www.jython.org/">Jython</a> or other languages available on the JVM. JavaFX script is end-of-life. Fortunately, the syntax of the library calls is quite similar, and there&#8217;s a program to translate JavaFX script into equivalent Javacode. Curiously, the translator, <em>FX Translator</em>, is written in <a href="http://www.scala-lang.org/">Scala</a>.<br />
<em><strong>Update 2011-06-15</strong>: I only heard about the fx translator at the here mentioned presentation. I could find little references to the translator: a back-reference to <a href="http://forums.oracle.com/forums/thread.jspa?threadID=2232556&amp;tstart=45">this postin</a>g (sigh) and the fxtranslator mentioned shortly in this posting on <a href="http://drdobbs.com/blogs/java/229400781">DrDobbs</a>.</em><br />
<em>If you want to use the FXtranslator, you&#8217;ll have to contact Oracle for now. I guess Oracle will release the automatic translation tool in some time too.</em></li>
<li>The <strong>Swing</strong>-controls can be used from JavaFX 2.0. The &#8216;traditional Swing&#8217; is now in maintenance mode, Oracle won&#8217;t create an new features for the original Swing library. Meaning, if you want to develop Swing applications, or more generally, desktop applications in Java now, you can best get the beta or coming GA of JavaFX.</li>
<li>JavaFX 2.0 will be available on <strong>neither the Mobiles nor Televisions</strong>! Oracle has accepted (Sun&#8217;s) loss, and will only focus on the desktop for the time being.<br />
JavaFX seems practical on tablet-devices. However, since most tablet devices are enlarged mobiles (running a mobile os) ratter than flattened laptops (running a full desktop os), you can&#8217;t use JavaFX on any of those devices for the time being.</li>
<li>The JavaFX is supported on the <strong>MS-Windows </strong>platform only for the coming time, (but) it will run on Mac, Linux or other platforms unsupported. This means, you might miss the hardware acceleration when not using Windows. Mind you: Roger was using a Mac while doing his presentation and demonstration the code-samples so the MS-Windows-only support might not look as dramatic as it seems at first glance.</li>
<li>Of course JavaFX runs on the JVM 6 or higher. If all goes well, JavaFX will be part of JDK 8. Before that JavaFX can be downloaded as a plugin before from <a href="http://www.java.com">java.com</a>, which will be not to painful for users, especially if they already have some version of the Java-plugin installed.</li>
</ul>
<p>The JavaFX SDK contains a set of sample application called &#8216;Ensemble&#8217;. Roger presented a few impressive programs, and showed the source code. The audience, including the Oracle employee hosting the event was very tech oriented so everyone was eager to see the code of all the nice examples.</p>
<p>Furthermore, Roger frequently mentioned <a href="http://blogs.sun.com/javaspotlight">Podcasts</a>. I have yet to listen to them, but maybe if I have some time left. Should find a way to broadcast audio while doing the dishes.<br />
All in all a nice event. Oracle may turn JavaFX in something that might be practical and usable on a limited number of platforms, ratter then trying to take over the world (or more specifically taking on Android, Flex, Apple IOS).</p>
<p>As you might notice, I&#8217;ve got no code examples or screen-shots. I hope to get access to the beta release of JavaFX 2.0, I&#8217;m quite interested in trying out all those nifty things, and expect some nice blog postings on JavaFX soon!</p>
<p>Update 2011-06-01: The public beta of JavaFX is out! I&#8217;ve published on <a href="http://blog.xebia.com/2011/05/javafx-2-0-beta/">JavaFX on the Xebia-blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gerbrand-ict.nl/2011/02/javafx-2-0-by-roger-brinkley/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>InfoQ, Tim Bray on the Future of the web</title>
		<link>http://www.gerbrand-ict.nl/2009/03/infoq-tim-bray-on-the-future-of-the-web/</link>
		<comments>http://www.gerbrand-ict.nl/2009/03/infoq-tim-bray-on-the-future-of-the-web/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 20:45:46 +0000</pubDate>
		<dc:creator>gerbrand</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[ria]]></category>

		<guid isPermaLink="false">http://www.gerbrand-ict.nl/?p=165</guid>
		<description><![CDATA[I often view or read the InfoQ, a site with articles on software development, programming. Almost all content they publish is very good. One I just saw was: Tim Bray on the Future of the web, an interview with someone of Sun. Interesting view has Tim on the web. He&#8217;s quite sceptical on RIA. Many ordinary users we&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>I often view or read the InfoQ, a site with articles on software development, programming. Almost all content they publish is very good. One I just saw was: <a href="http://www.infoq.com/interviews/tim-bray-future-of-web">Tim Bray on the Future of the web</a>, an interview with someone of Sun. Interesting view has Tim on the web. He&#8217;s quite sceptical on RIA. Many ordinary users we&#8217;re quite glad when webapplications came &#8211; as they replaces often hard to use applications created using Visual Basic, VC++, Delphi and others with pull-down menu&#8217;s, ill-designs user interfaces. He also considers a bad thing if the back-button is disabled, many users find very relieving if they can go back once they&#8217;re confused. Gives you something to think about.<br />
I don&#8217;t agree for entirely - they&#8217;re a lot of very good applications too, and there are quite confusing webapplications. But still, maybe for many applications he&#8217;s right.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gerbrand-ict.nl/2009/03/infoq-tim-bray-on-the-future-of-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swing popularity rising</title>
		<link>http://www.gerbrand-ict.nl/2009/03/swing-popularity-rising/</link>
		<comments>http://www.gerbrand-ict.nl/2009/03/swing-popularity-rising/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 22:43:19 +0000</pubDate>
		<dc:creator>gerbrand</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ria]]></category>

		<guid isPermaLink="false">http://www.gerbrand-ict.nl/?p=138</guid>
		<description><![CDATA[Years ago I developed several Swing application &#8211; most of them are still being used now. Later I switched to webapplication using http, javascript and html. I do like thinking about client-server communication, distributed software, databases and other parts of enterprise development. I never liked devoping client frameworks using any of the many webapplication frameworks [...]]]></description>
			<content:encoded><![CDATA[<p>Years ago I developed several Swing application &#8211; most of them are still being used now. Later I switched to webapplication using http, javascript and html. I do like thinking about client-server communication, distributed software, databases and other parts of enterprise development. I never liked devoping client frameworks using any of the many webapplication frameworks like jsp/servlets, struts2, jsf. Somehow they never give the same ease of use. Usually it takes a lot more them having the application behave good, and still the GUI is slower and less responsive for the user. Even applicationd developed using advanced ajax frameworks like GWT are as good as application once written in Visual Basic or Delphi &#8211; considering a computer is now-a-days a whole lot faster.</p>
<p>Fortunately for developers Swing seems to be rising in popularity a lot. On Javaworld there are published articles on Swing, like this one on <a href="http://www.javaworld.com/community/node/2589">The Swing Cookbook</a>, and on <a href="http://www.dzone.com/links/java_desktop_links_of_the_week_march_16th.html">Dzone </a>I found a <a href="http://jonathangiles.net/blog/?p=293">weblog on Swing</a>, or more specifically Java Desktop.<br />
One of the reasons of the increasing popularity might by JSR 296, a standard for Swing. The standard is in development since <a href="http://www.artima.com/lejava/articles/swingframework.html">2006</a>, but seems to be getting more attention lately. In a <a href="http://chaoticjava.com/posts/the-quiet-revolution-part-i-jsr-296/">posting on JSR 296 and Swing</a> suggests Swing might become obsolete &#8211; as Sun concerns-  because of JavaFX. I don&#8217;t think (hope) Swing will disappear any time soon. Sun has <a href="http://weblogs.java.net/blog/alexfromsun/archive/2008/08/swing_applicati.html">a new architect</a> on JSR 296 since last year, although there&#8217;s not that much progress on development or updates. On JSpring, a popular conference on Java in the Netherlands, there a <a href="http://www.nljug.org/pages/events/content/jspring_2009/sessions/00012/">session on JSR296</a>, allthough Javapolis (now Devoxx) there was a talk on <a href="http://www.parleys.com/display/PARLEYS/Home#slide=1;talk=8008;title=JSR-296%20Swing%20Application%20Framework">JSR-296</a> in 2006 already.  I&#8217;ll be curious what will be told in that session.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gerbrand-ict.nl/2009/03/swing-popularity-rising/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pattern in RIA</title>
		<link>http://www.gerbrand-ict.nl/2009/01/pattern-in-ria/</link>
		<comments>http://www.gerbrand-ict.nl/2009/01/pattern-in-ria/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 16:49:48 +0000</pubDate>
		<dc:creator>gerbrand</dc:creator>
				<category><![CDATA[Methodology]]></category>
		<category><![CDATA[jfall]]></category>
		<category><![CDATA[ria]]></category>

		<guid isPermaLink="false">http://www.gerbrand-ict.nl/?p=60</guid>
		<description><![CDATA[The Flex framework is getting more and  more populair, and other similar RIA-frameworks as JavaFX and Sliverlight get a lot of attention. Some people see Flex as a alternative for webframeworks as Widget, JSF, Struts or GWT. However, there&#8217;s something fundementelly different. When program in Flex, you actually build a client-application. That application runs entirely [...]]]></description>
			<content:encoded><![CDATA[<p>The Flex framework is getting more and  more populair, and other similar RIA-frameworks as JavaFX and Sliverlight get a lot of attention. Some people see Flex as a alternative for webframeworks as Widget, JSF, Struts or GWT. However, there&#8217;s something fundementelly different. When program in Flex, you actually build a client-application. That application runs entirely on the client&#8217;s computers. The client connects to the server only when the client need information from the server. The client retrieves information via (web)services.</p>
<p>The pattern (as you can call it) is very unlike webframeworks, where the software runs mostly on the server. When a user accesses a webapplication, the webframework will generate html, javascript and xml and send that to the client&#8217;s webbrowser. The webframework also needs to create a (HTTP-)session along with a sessionid that is stored at the client-computer.<br />
When a client performs some interaction, like pressing a button, a relatively complicated process is started: a javascript event or browser submit is emitted. The webframework will retrieve that event on the server using generated javascript- and html-code. Using the sessionid, the right user-session, containing client-data is loaded after which more automagic processes are performed.<br />
You might wonder, what about Ajax ? The answer, with Ajax, or JQuery or other framework, the only advantage is, in case o a UI-event not the entire browserpage has to be reloaded and shown on the user, but only a part.</p>
<p>Not so long ago most enterprise software was developed as client-server: a client application would run on an users computer, while the server would consist of a database server. The client would make a connection to the database. The (business) logic of the software was contained in the application, while the database contained the data.<br />
This development-model was quite easy for developers. I don&#8217;t have hard data, but I think the productivy was much higher back then. My guess is that, for many simple CRUD-like requirements, a average Visual Basic, Delphy, Clipper developer was a lot faster.<br />
Of course one of the mayor problems back then, were the installation and maintance of the client computers. Webapplications pretty much solved that, as the only client software you had was the browser.  Another problem is security: usually the client was connected with the server via a direct connection to the database. That means, if an unauthorized user would gain access to the client software he could do a lot of harm.<br />
In webapplications, a user can only access the software by logging in the the webapplication. Without a username/passsword or other means of authentication, getting access to the server is very hard.</p>
<p>In modern RIA frameworks these problems are mostly solved. The software runs in a standardized plugin like the flash-player or java-player. That software is a lot easier to maintain then custom client software. A RIA-application accesses the server via a webservice. Fine-grained security can  added accessed to the webservice, preventing unauthorized access. That way, access to the server/backend can be controlled.</p>
<p>All in all, modern RIA bring back productivity to the developer <strong>and </strong>the user. Developers finally don&#8217;t have to waste time learning yet another greatest framework (Struts, SpringMVC, JSF, ADF, GWT), and solving problems inherently part of webdevelopment (http-sessions, javascript debugging, html hell, generated code) . Users finally don&#8217;t have to wast time waiting for browser refreshes, loading times and timewasting slow operations.</p>
<p>For an overview on different RIA-frameworks, and more on this subject see: <a href="http://flexblog.faratasystems.com/?p=163">Rich Internet Applications: State of the Union</a> . The term design pattern for RIA I got from the following presentation of a Adobe Evangelist on <a href="http://www.bachelor-ict.nl/duane-nickull">J-Fall &#8217;08</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gerbrand-ict.nl/2009/01/pattern-in-ria/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

