<?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>condescension.net &#187; Java</title>
	<atom:link href="http://condescension.net/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://condescension.net</link>
	<description>doesn't have a catchy tagline.</description>
	<lastBuildDate>Mon, 01 Dec 2008 03:53:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why Java applets are obsolete.</title>
		<link>http://condescension.net/2007/11/06/why-java-applets-are-obsolete/</link>
		<comments>http://condescension.net/2007/11/06/why-java-applets-are-obsolete/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 20:27:12 +0000</pubDate>
		<dc:creator>Mike Corey</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Nerdy]]></category>
		<category><![CDATA[Applets]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.condescension.net/2007/11/06/why-java-applets-are-obsolete/</guid>
		<description><![CDATA[
Recently I took a test where I had to write a Java Applet.  I realized something while I was writing it.  Java Applets are obsolete and deprecated.  Anything they can do, faster newer technologies can do better.  Lets look at the two main purposes of a Java Applet: animation and robust [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.condescension.net/wp-content/uploads/2007/11/old-guy.jpg' alt='old man java' /><br />
Recently I took a test where I had to write a Java Applet.  I realized something while I was writing it.  Java Applets are obsolete and deprecated.  Anything they can do, faster newer technologies can do better.  Lets look at the two main purposes of a Java Applet: animation and robust GUI development.</p>
<p>In terms of animation Applets fall short&#8230; way short.  Writing a program to animate something is as painful as drawing a picture with LOGO.  Applets lack the ability to draw and animate as effectively as alternatives like flash and silverlight.  Flash gives the user simple easy ways to import media or draw vector (or raster) images and animate them using keyframes.  Need advanced animation or programatic animation?  Flash actionscript has you covered.  It can animate as well as provide an event driven program.</p>
<p>Java Applets however have none of this.  Each frame must be drawn programatically and requires a blanking in between.  While this isn&#8217;t a huge inconvenience it shows Java applets are not intended to be powerful animation tools.</p>
<p>Additionally Java applets are supposed to provide a robust GUI experience.  In actuality Java applets provide for a clunky slow loading experience frequently resulting in a large ominous gray box in the center of a browser.</p>
<p>When Java originated (early 90&#8217;s) applets were a very powerful tool allowing for robust GUI development.  Java applets were leaps and bounds ahead of any early version HTML controls.  This utility however diminished as HTML became less of a presentation markup and more of an interaction markup.  My realization that java applets are obsolete was concreted by AJAX, asynchronous Javascript and XML.  This technology fixed the primary problem still plaguing HTML: The HTTP protocol.<br />
<span id="more-78"></span><br />
Historically Web pages have always functioned with a query and a response.  forms simply alter parameters in the query.  What this caused was any time any server interaction occured, the web page needed a total page reload.  This greatly diminishes a HTMLs ability for GUIs as any updates required completely reloading the page.  AJAX changed this.</p>
<p>AJAX allows for partial page refreshes.  That is a portion of the page can be reloaded through javascript and xml calls resulting in faster more robust GUIs being developed using a STANDARD HTTP connection appropriate for in browser use.</p>
<p>Calling them completely obsolete is unfair though.  Java applets do have a purpose, just not in browser.  Java applets can be a powerful visualization tool of data as well an excellent GUI for showing off a proof of concept.  In fact things like Java Web Start have done an excellent job of rejuvenating applets by breaking them out of the browser and executing them in their own window where they belong.</p>
]]></content:encoded>
			<wfw:commentRss>http://condescension.net/2007/11/06/why-java-applets-are-obsolete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
