<?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>aviflax.com &#187; java</title>
	<atom:link href="http://aviflax.com/post/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://aviflax.com</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 22:05:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Learning Java Web Development in 2010</title>
		<link>http://aviflax.com/post/learning-java-web-development-in-2010/</link>
		<comments>http://aviflax.com/post/learning-java-web-development-in-2010/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 17:29:09 +0000</pubDate>
		<dc:creator>Avi</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://aviflax.com/?p=788</guid>
		<description><![CDATA[I just noticed this question by mrblah at Stack Overflow: I want to learn, at least at a basic level, how to build java web applications (coming from a .net background). Meaning, I would like to be able to build, deploy a simple cms type application from the ground up. What exactly do I need [...]]]></description>
			<content:encoded><![CDATA[<p>I just noticed <a href="http://stackoverflow.com/questions/1958808/java-web-development-what-skills-do-i-need">this question</a> by <a href="http://stackoverflow.com/users/68183/mrblah">mrblah</a> at Stack Overflow:</p>
<blockquote><p>
I want to learn, at least at a basic level, how to build java web applications (coming from a .net background).</p>
<p>Meaning, I would like to be able to build, deploy a simple cms type application from the ground up.</p>
<p>What exactly do I need to learn?</p>
<p>Tomcat seems to be a good web server for Java.</p>
<p>What options are there for the web? I know there is hibernate for an ORM.</p>
<p>Does java have MVC? what about JSP? can MVC and JSP be together? beans?</p>
<p>Maybe a book that covers all of these?
</p></blockquote>
<p>And <a href="http://stackoverflow.com/questions/1958808/java-web-development-what-skills-do-i-need/1959016#1959016">an answer</a> popped into my head:</p>
<blockquote>
<p>I consider most of the traditional Java web development options to be pretty heavy-weight, and there some good alternatives:</p>
<ul>
<li>
<p><a href="http://www.playframework.org/" rel="nofollow">Play</a> is an MVC framework which is focused on being lightweight, straightforward, and enabling rapid development — while sticking with pure Java, as opposed to a more dynamic JVM-based language. It&#8217;s fairly new but already impressive, and a good community has built up around it quickly.</p>
</li>
<li>
<p><a href="http://www.grails.org/" rel="nofollow">Grails</a> is an MVC framework, inspired by Ruby on Rails, which is written in, and uses, <a href="http://groovy.codehaus.org/" rel="nofollow">Groovy</a>, a Java-based scripting language. Grails is mature, robust, and widely respected, with a strong community. Groovy is basically a superset of Java, with better syntax and some great features such as closures, so learning it is a great way to learn Java.</p>
</li>
<li>
<p>If you need/want to build RESTful web sites/services/applications, <a href="http://restlet.org" rel="nofollow">Restlet</a> is a fantastic framework — I&#8217;m a big fan. It&#8217;s simple, straightforward, and yet flexible. Great community too.</p>
</li>
<li>
<p><a href="http://code.google.com/appengine/" rel="nofollow">Google&#8217;s App Engine</a> is an interesting option as well. It&#8217;s hosted, which may or may not be of interest, but it has a fairly simple API, and a good SDK.</p>
</li>
</ul>
<p>I&#8217;m sure there are others, but these are the ones I can think of off the top of my head.</p>
<p>Good luck, and have fun!</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://aviflax.com/post/learning-java-web-development-in-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Java Applets in Most Mac Browsers</title>
		<link>http://aviflax.com/post/disable-java-applets-in-most-mac-browsers/</link>
		<comments>http://aviflax.com/post/disable-java-applets-in-most-mac-browsers/#comments</comments>
		<pubDate>Wed, 20 May 2009 13:30:21 +0000</pubDate>
		<dc:creator>Avi</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[x]]></category>

		<guid isPermaLink="false">http://aviflax.com/?p=509</guid>
		<description><![CDATA[Just about every single Mac in use today has a major security bug which means that any website you visit could delete files from your computer, steal your address book, or install viruses or malware. If you&#8217;d like to protect your computer — and you should — read on. According to the post Critical Mac [...]]]></description>
			<content:encoded><![CDATA[<p>Just about every single Mac in use today has <a href="http://landonf.bikemonkey.org/code/macosx/CVE-2008-5353.20090519.html">a major security bug</a> which means that any website you visit could delete files from your computer, steal your address book, or install viruses or malware. If you&#8217;d like to protect your computer — and you should — read on.</p>
<p>According to the post <a href="http://landonf.bikemonkey.org/code/macosx/CVE-2008-5353.20090519.html">Critical Mac OS X Java Vulnerabilities</a> by <a href="http://landonf.bikemonkey.org/">Landon Fuller</a>, via <a href="http://simonwillison.net/2009/May/19/critical/">Simon Willison</a>, there&#8217;s a critical vulnerability in every Java installation which Apple includes in OS X, which can allow an attacker to easily run any arbitrary command on your system by simply loading a Java applet in a web page you visit.</p>
<p>(For our purposes, Java is a web browser plugin which, similar to Flash, lets your browser do advanced things like upload photos, etc.)</p>
<p>Therefore it&#8217;s recommended to disable Java in all of your web browsers until this is fixed.</p>
<p>The easy way to do this is to open the preferences of your browsers and find the checkbox labeled &#8220;Enable Java&#8221; and uncheck it.</p>
<p>However, I wasn&#8217;t comfortable merely doing that, and I don&#8217;t think anyone else should be, either. Not only do you have to remember to do this in <em>every single browser</em> you might ever use — including <a href="http://fluidapp.com/">Fluid</a> based browsers, browsers embedded in RSS readers, etc — but it&#8217;s always possible for the preference to get reset somehow. And some apps which use embedded browsers may not make that preference available at all.</p>
<p>Instead, I recommend moving the Java plugin from its usual location, which will prevent all Webkit-based browsers, including those embedded in other apps, <a href="http://www.mozilla.com/firefox/">Firefox</a>, and <a href="http://caminobrowser.org/">Camino</a>, from loading any Java applet, even if the preference isn&#8217;t available in one of those apps, or gets reset.</p>
<p>These two terminal commands will accomplish this:</p>
<p>(Please note: I have tested this solution only using a fully updated 64-bit Intel Mac as of today, using Safari 4 Beta, Camino 2 Beta, Firefox 3.5 Beta, and Fluid 0.9.6. I make no warranties or guarantees of any kind, and I disclaim any responsibility for any damage done to your computer, now or in the future, whether you follow my advice or not.)</p>
<p>Command One:<br/><code>sudo mkdir "/Library/Internet Plug-Ins, disabled"<br />
</code></p>
<p>Command Two:<br/><code>sudo mv "/Library/Internet Plug-Ins/JavaPluginCocoa.bundle" "/Library/Internet Plug-Ins, disabled/"</code></p>
<p>If you don&#8217;t know how to run terminal commands:</p>
<ol>
<li>Trigger Spotlight by clicking on the magnifying glass in the upper-right-hand corner of your screen</li>
<li>type in &#8220;Terminal&#8221;</li>
<li>Once the application Terminal appears in the results, make sure it&#8217;s highlighted, then hit Enter to launch it</li>
<li>Switch to your browser, copy the first command into your clipboard</li>
<li>Switch back to Terminal and paste the line in</li>
<li>Hit Enter</li>
<li>You will probably be prompted to enter your password. Do so.
<ul>
<li>It&#8217;s possible that after this step you&#8217;ll see an error message, something to the effect of you not being in the sudoers file, and this will be reported. Don&#8217;t worry about this. It just means that someone set up your Mac so you&#8217;re running with a standard user account, not an administrator account. This is A Good Thing.</li>
<li>If that does happen, you should contact the person who set up your Mac and have them help you complete these steps.</li>
</ul>
</li>
<li>As long as you don&#8217;t see any errors, the command probably worked</li>
<li>Copy-and-paste and run the second command</li>
<li>Quit Terminal</li>
<p>	<l>Restart your browsers for the change to take effect</li>
</ol>
<p>Once you&#8217;ve done that, please take a moment to tell Apple that they&#8217;ve dropped the ball on this vulnerability, and they need to fix it ASAP. The best way to do that is by posting a message to Apple using their <a href="http://www.apple.com/feedback/macosx.html">OS X feedback form</a>. If you have the time, try to post something about it publicly too, on your blog, Twitter, Facebook, etc. Even just a link to the article: <a href="http://landonf.bikemonkey.org/code/macosx/CVE-2008-5353.20090519.html">Critical Mac OS X Java Vulnerabilities</a> and &#8220;Apple, fix this now!&#8221; would be great.</p>
]]></content:encoded>
			<wfw:commentRss>http://aviflax.com/post/disable-java-applets-in-most-mac-browsers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

