<?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>Hugh Buchanan &#187; netbeans</title>
	<atom:link href="http://hughbuchanan.com/blog/tag/netbeans/feed/" rel="self" type="application/rss+xml" />
	<link>http://hughbuchanan.com/blog</link>
	<description>My Ramblings</description>
	<lastBuildDate>Sun, 25 Jul 2010 17:37:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>NetBeans Fail</title>
		<link>http://hughbuchanan.com/blog/2009/04/21/netbeans-fail/</link>
		<comments>http://hughbuchanan.com/blog/2009/04/21/netbeans-fail/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 11:32:42 +0000</pubDate>
		<dc:creator>hugh</dc:creator>
				<category><![CDATA[Design/Development/Coding]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://hughbuchanan.com/blog/?p=112</guid>
		<description><![CDATA[It only happens on my windows workstation, but NetBeans will randomly fail to indicate in the left navigation that there are problem classes that won’t compile. So annoying.]]></description>
			<content:encoded><![CDATA[<div id="attachment_115" class="wp-caption alignright" style="width: 310px"><a href="http://hughbuchanan.com/blog/wp-content/uploads/2009/04/netbeans-weirdness.png"><img src="http://hughbuchanan.com/blog/wp-content/uploads/2009/04/netbeans-weirdness-300x260.png" alt="NetBeans Failes to Show Compile Errors" title="NetBeans Weirdness" width="300" height="260" class="size-medium wp-image-115" /></a><p class="wp-caption-text">NetBeans Failes to Show Compile Errors</p></div>
<p>It only happens on my windows workstation, but NetBeans will randomly fail to indicate in the left navigation that there are problem classes that won’t compile. So annoying.</p>
]]></content:encoded>
			<wfw:commentRss>http://hughbuchanan.com/blog/2009/04/21/netbeans-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java 1.6 + NetBeans 6.5 + OSX</title>
		<link>http://hughbuchanan.com/blog/2009/04/15/java-16-netbeans-65-osx/</link>
		<comments>http://hughbuchanan.com/blog/2009/04/15/java-16-netbeans-65-osx/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 15:11:05 +0000</pubDate>
		<dc:creator>hugh</dc:creator>
				<category><![CDATA[Design/Development/Coding]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://hughbuchanan.com/blog/?p=103</guid>
		<description><![CDATA[I hadn't actually had a real need to force use of Java 1.6 yet.  I did have a Java platform definition in NetBeans for 1.6 and would use that.  But recently, my project has become more 1.6 heavy and I've had to switch to a JDK 1.6 source and binary format. I found a very [...]]]></description>
			<content:encoded><![CDATA[<p>I hadn't actually had a real need to force use of Java 1.6 yet.  I did have a Java platform definition in NetBeans for 1.6 and would use that.  But recently, my project has become more 1.6 heavy and I've had to switch to a JDK 1.6 source and binary format.</p>
<p>I found a very useful blog post that explained the upgrade here:  <a href="http://point2blog.wordpress.com/2009/02/17/defaulting-to-jdk-16-in-netbeans-65-on-osx/">http://point2blog.wordpress.com/2009/02/17/defaulting-to-jdk-16-in-netbeans-65-on-osx/</a></p>
<p>This is the relevant excerpt from the blog post by Damien Gabrielson:</p>
<blockquote style="background: #eeeeee; padding: 10px;">
<li>Locate the NetBeans config file, typically located at “/Applications/NetBeans/NetBeans 6.5.app/Contents/Resources/NetBeans/etc/netbeans.conf” and open the file in your favourite editor</li>
<li>Set the “netbeans_jdkhome” parameter to the JDK 1.6 home directory (ie. netbeans_jdkhome=<br />
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home)</li>
</blockquote>
<p>But that wasn't good enough for my use.  I am developing a web application that runs on the Glassfish application server.  That too needs to be running Java 1.6.  The fix is easy:</p>
<ul>
<li>Open the "asenv.conf" file.  In my case, it can be found at: /Applications/NetBeans/glassfish-v2ur2/config/asenv.conf</li>
<li>Set the "AS_JAVA" parameter to the Java 1.6 directory.  My entry reads:
<ul> AS_JAVA="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home"</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hughbuchanan.com/blog/2009/04/15/java-16-netbeans-65-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java EE / JAAS Night Terrors</title>
		<link>http://hughbuchanan.com/blog/2008/09/03/java-ee-jaas-night-terrors/</link>
		<comments>http://hughbuchanan.com/blog/2008/09/03/java-ee-jaas-night-terrors/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 20:51:40 +0000</pubDate>
		<dc:creator>hugh</dc:creator>
				<category><![CDATA[Work Life]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[jaas]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javaee]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[nightmare]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://hughbuchanan.com/blog/?p=29</guid>
		<description><![CDATA[Working with JavaEE 5 brings up a lot of new challenges when developing an enterprise level web app.  The first issue I noticed is the absolute lack of experience for those in the job market when it comes to EJB3 and JavaEE 5. But lately, I too am struggling to figure out the right way [...]]]></description>
			<content:encoded><![CDATA[<p>Working with JavaEE 5 brings up a lot of new challenges when developing an enterprise level web app.  The first issue I noticed is the absolute lack of experience for those in the job market when it comes to EJB3 and JavaEE 5.</p>
<p>But lately, I too am struggling to figure out the right way to put these "standardised" Java technologies into play.  So far it's like inviting the school bully and his cronies to your back yard 12th birthday party, as well as the lame/runt kids, and trying to get them all to play Pinochle and not fighting.</p>
<p>The past few weeks it's been the JAAS struggle.  Open source frameworks like jGuard might be able to help me, but the end result is that my architecture is a bit too complicated.</p>
<p>The real problem is with regards to web services, specifically trusted services.  The SOAP client takes on a JAAS role, but based on other session information will assume another user/role.  It's a headache and there's very little on Google.</p>
<p>I'll follow up on this later.</p>
]]></content:encoded>
			<wfw:commentRss>http://hughbuchanan.com/blog/2008/09/03/java-ee-jaas-night-terrors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
