<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>bits.of.info</title>
	<atom:link href="http://bitsofinfo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bitsofinfo.wordpress.com</link>
	<description>Exactly that....</description>
	<lastBuildDate>Thu, 26 Jan 2012 23:19:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bitsofinfo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>bits.of.info</title>
		<link>http://bitsofinfo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bitsofinfo.wordpress.com/osd.xml" title="bits.of.info" />
	<atom:link rel='hub' href='http://bitsofinfo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Setting a JAX-WS web service client timeout &#8211; why is the answer so dang elusive??</title>
		<link>http://bitsofinfo.wordpress.com/2012/01/26/setting-a-jax-ws-web-service-client-timeout-why-is-the-answer-so-dang-elusive/</link>
		<comments>http://bitsofinfo.wordpress.com/2012/01/26/setting-a-jax-ws-web-service-client-timeout-why-is-the-answer-so-dang-elusive/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 23:19:36 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[WS]]></category>
		<category><![CDATA[jax-ws]]></category>
		<category><![CDATA[timeout]]></category>
		<category><![CDATA[web service client]]></category>
		<category><![CDATA[ws]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=451</guid>
		<description><![CDATA[Trying to set a connection/read timeout in a WS client&#8230; can&#8217;t and found this post? Welcome to the club. Does ANYONE OUT THERE have a proven, easy to implement, somewhat universal way, to simple set connect and read timeouts for JAX-WS web-service clients? I can&#8217;t seem to find them, and neither can tons of others [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=451&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Trying to set a connection/read timeout in a WS client&#8230; can&#8217;t and found this post? Welcome to the club.</p>
<p>Does ANYONE OUT THERE have a proven, easy to implement, somewhat universal way, to simple set connect and read timeouts for JAX-WS web-service clients? I can&#8217;t seem to find them, and neither can tons of others out there by the looks for dozens of posts/blogs I have read in forums etc.</p>
<p>This is one of the most insidious problems with an application. Timeouts, or the lack thereof causing a thread in your application to mysteriously (or not) hang up sitting there forever. Is my app deadlocked? Why is this thread hung? Then after a while your app&#8217;s thread pool may be exhausted etc leading to harder to diagnose and worthless artifact error symptoms being spewed into a log file.</p>
<p>In an enterprise app, one of the common things we do is use a web-service to send or receive data from some other application out there&#8230; and a lot of people use some sort of JAX-WS generated variant of clients.</p>
<p>Here is my question. HOW can I reliably set a jax-ws client timeout for both connect and read operations? I seem to see various answers to this, often time they don&#8217;t work for folks. Other times I suspect folks are getting confused with regards to the actual JAX-WS client implementation executing their code (jboss, glassfish, websphere etc).. and I guess these settings vary based on where you code is deployed, which is SUPER convenient because there is not abstract definition of this in the spec itself to allow developers to specify their timeouts in a portable way??</p>
<p><strong>Hey Oracle: Why can&#8217;t Java just support a simple solution to this stupid time-wasting problem?? @see Axis clients and how easy it is to do there!</strong></p>
<p><strong>PLEASE POST YOUR SOLUTIONS IN THE COMMENTS SECTION OF THIS POST TO HELP OTHERS (and me!)</strong></p>
<p>Here are some examples I&#8217;ve seen out there of threads that have random answers that often go unanswered.</p>
<p>http://www.coderanch.com/t/537394/Web-Services/java/JBoss-Jax-ws-Timeout-Configuration</p>
<p>https://community.jboss.org/message/607864</p>
<p>http://stackoverflow.com/questions/2592303/how-do-i-set-the-jax-ws-client-request-timeout-programatically-on-jboss</p>
<p>http://stackoverflow.com/questions/3130913/setting-jax-ws-client-timeout</p>
<p>http://www.java.net/node/676074</p>
<p>http://www.websphere-world.com/modules.php?name=News&#038;file=article&#038;sid=2058</p>
<p>http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Frwbs_trbclientruntime.html</p>
<p>http://chamerling.org/2009/09/23/setting-timeout-on-generated-jaxws-cxf-clients/</p>
<p>https://forums.oracle.com/forums/thread.jspa?threadID=1666087</p>
<br />Filed under: <a href='http://bitsofinfo.wordpress.com/category/java/'>Java</a>, <a href='http://bitsofinfo.wordpress.com/category/ws/'>WS</a> Tagged: <a href='http://bitsofinfo.wordpress.com/tag/jax-ws/'>jax-ws</a>, <a href='http://bitsofinfo.wordpress.com/tag/timeout/'>timeout</a>, <a href='http://bitsofinfo.wordpress.com/tag/web-service-client/'>web service client</a>, <a href='http://bitsofinfo.wordpress.com/tag/ws-2/'>ws</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/451/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=451&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2012/01/26/setting-a-jax-ws-web-service-client-timeout-why-is-the-answer-so-dang-elusive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>
	</item>
		<item>
		<title>Review: Real World Java EE Patterns</title>
		<link>http://bitsofinfo.wordpress.com/2010/09/13/review-real-world-java-ee-patterns/</link>
		<comments>http://bitsofinfo.wordpress.com/2010/09/13/review-real-world-java-ee-patterns/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 21:15:16 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[Design Patterns]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[jee]]></category>
		<category><![CDATA[patterns]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=444</guid>
		<description><![CDATA[I picked this book up a while back after looking for a book on Java EE patterns. The mainstream standard seemed to be the Core J2EE Patterns book, but the more I looked at it it just seemed outdated. So when I found Adam&#8217;s book just the title looked practical &#8220;Rethinking Best Practices&#8221;. So in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=444&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.adam-bien.com/"><img alt="" src="http://www.lulu.com/author/display_thumbnail.php?fCID=7274143&amp;fSize=detail_" class="alignleft" width="108" height="140" /></a> I picked this book up a while back after looking for a book on Java EE patterns. The mainstream standard seemed to be the <a href="http://www.amazon.com/Core-J2EE-Patterns-Strategies-ebook/dp/B000OZ0N4E/ref=sr_1_4?ie=UTF8&amp;m=AG56TWVU5XWC2&amp;s=digital-text&amp;qid=1284411863&amp;sr=8-4">Core J2EE Patterns</a> book, but the more I looked at it it just seemed outdated. So when I found Adam&#8217;s book just the title looked practical &#8220;Rethinking Best Practices&#8221;. So in short I&#8217;ve finally read it and was quite impressed. This is a great book. The author basically goes through the standard patterns and tackles each one by explaining its overall objective, the forces at play, a bit how it works, THEN&#8230; the big part how to re-think it in the context of Java EE ejb3/3.1.  For example the author does a good job explaining how DAO&#8217;s are now simply replaced by JPA&#8217;s EntityManager and everyone should really re-consider if they still need this abstraction layer in green field projects. Although he does admit that they can still serve a purpose as a place to consolidate boilerplate, common EntityManager related code. Regardless, pattern by pattern, the author does a great job giving real world examples of how these standard patterns can be modified or adapted to the ejb3 realm. (He also covers which J2EE patterns can now be retired). One of my favorite parts of the book which gave me a great glimpse on how to tackle an immediate problem I am faced with was &#8220;Dependency Injection Extender&#8221; pattern. This will come in use for me as we have a Spring codebase which we will want to utilize in a JBoss environment. I&#8217;d like to use @Inject and JSR330 but our container (JBoss 5) does not yet support that. So by using this pattern with interceptors I think we will be able to annotate our beans, test them outside of JBoss, yet still wire everything up properly using this idea presented in the book.</p>
<p>Downsides to the book? Some of the headings, intros to subsections are not bolded in the text when it appears they should have been.</p>
<p>Overall, 5 out of 5 for this book. I recommend it! You can tell this was written by someone with a ton of experience under their belt.</p>
<br />Filed under: <a href='http://bitsofinfo.wordpress.com/category/design-patterns/'>Design Patterns</a>, <a href='http://bitsofinfo.wordpress.com/category/java/'>Java</a>, <a href='http://bitsofinfo.wordpress.com/category/reviews/'>Reviews</a> Tagged: <a href='http://bitsofinfo.wordpress.com/tag/j2ee/'>j2ee</a>, <a href='http://bitsofinfo.wordpress.com/tag/java/'>Java</a>, <a href='http://bitsofinfo.wordpress.com/tag/jee/'>jee</a>, <a href='http://bitsofinfo.wordpress.com/tag/patterns/'>patterns</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/444/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=444&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2010/09/13/review-real-world-java-ee-patterns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>

		<media:content url="http://www.lulu.com/author/display_thumbnail.php?fCID=7274143&#38;fSize=detail_" medium="image" />
	</item>
		<item>
		<title>Automating hadoop deployments @ Adobe puppet recipes</title>
		<link>http://bitsofinfo.wordpress.com/2010/07/01/automating-hadoop-deployments-adobe-puppet-recipes/</link>
		<comments>http://bitsofinfo.wordpress.com/2010/07/01/automating-hadoop-deployments-adobe-puppet-recipes/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 17:29:54 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=441</guid>
		<description><![CDATA[Interesting article @ Infoq and at Adobe and here @ hstack . This looks like a nice capability. I can personally speak to the amount of pain involved with setting up a Hadoop cluster&#8230;. node aliases, configuring ssh, keys, logins, environment settings, software install, zookeeper etc etc. Its a lot of tedium so anything that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=441&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Interesting article @ <a href="http://www.infoq.com/news/2010/07/adobe-released-puppet-recipes">Infoq</a> and at <a href="http://www.puppetlabs.com/blog/adobe-releases-their-puppet-recipes-for-automating-hadoop-hbase-deployment/">Adobe</a> and here @ <a href="http://hstack.org/hstack-automated-deployment-using-puppet/">hstack </a>. This looks like a nice capability. I can personally speak to the amount of pain involved with setting up a Hadoop cluster&#8230;. node aliases, configuring ssh, keys, logins, environment settings, software install, zookeeper etc etc. Its a lot of tedium so anything that automates this is definitely worth looking at like puppet and Adobe&#8217;s recipes. Cool!</p>
<br />Filed under: <a href='http://bitsofinfo.wordpress.com/category/cloud-computing/'>cloud computing</a>, <a href='http://bitsofinfo.wordpress.com/category/java/'>Java</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/441/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=441&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2010/07/01/automating-hadoop-deployments-adobe-puppet-recipes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>
	</item>
		<item>
		<title>Review: Oracle Essentials</title>
		<link>http://bitsofinfo.wordpress.com/2010/05/22/review-oracle-essentials/</link>
		<comments>http://bitsofinfo.wordpress.com/2010/05/22/review-oracle-essentials/#comments</comments>
		<pubDate>Sat, 22 May 2010 16:29:02 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=436</guid>
		<description><![CDATA[Recently I wanted to get a higher level overview of Oracle and some details about it, given most of my experience has been with DB2.. I&#8217;m not in the DBA role, I&#8217;m just using SQL Developer for basic work and Oracle Express (their free single instance, like the free DB2 edition) but its always good [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=436&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://covers.oreilly.com/images/9780596514549/cat.gif" title="Oracle Essentials" class="alignright" width="180" height="236" /> Recently I wanted to get a higher level overview of Oracle and some details about it, given most of my experience has been with DB2.. I&#8217;m not in the DBA role, I&#8217;m just using SQL Developer for basic work and Oracle Express (their free single instance, like the free DB2 edition) but its always good to have the high level. So I picked up this book (~300 pages). I am currently using 10g but this book covers 11g, however I most of the basics are applicable. The book starts out with sort of a sales pitch (at least that&#8217;s how I took it) by providing an overview of the suite of oracle products within the 11g sphere. From then it covers the architecture of the platform and then its on to the typing (data types, triggers, the basics etc). This was the section I was primarily interested in. From there they cover performance, concurrency, OLTP and HA. Overall I would rate this book as excellent as it gives the reader a fairly high to mid level overview of the critical parts of the platform, leaving the reader with an idea of what they need, a good understanding and the knowledge of where to look online next for the details.</p>
<p>Would I recommend this read? Yes, go get it if you want to brush up on the latest with Oracle.</p>
<br />Filed under: <a href='http://bitsofinfo.wordpress.com/category/reviews/'>Reviews</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/436/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=436&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2010/05/22/review-oracle-essentials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>

		<media:content url="http://covers.oreilly.com/images/9780596514549/cat.gif" medium="image">
			<media:title type="html">Oracle Essentials</media:title>
		</media:content>
	</item>
		<item>
		<title>Review: LDAP System Administration</title>
		<link>http://bitsofinfo.wordpress.com/2010/04/02/review-ldap-system-administration/</link>
		<comments>http://bitsofinfo.wordpress.com/2010/04/02/review-ldap-system-administration/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 15:48:05 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=429</guid>
		<description><![CDATA[So after many years of not having a chance to really touch LDAP, I finally ended up getting this old O&#8217;reilly classic on LDAP. Overall the book is a short read at ~250 pages or so, but it covers about everything you will need to know about it. I was particularly interested in the types [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=429&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://covers.oreilly.com/images/9781565924918/cat.gif" title="LDAP System Administration" class="alignleft" width="180" height="236" /> So after many years of not having a chance to really touch LDAP, I finally ended up getting this old O&#8217;reilly classic on LDAP. Overall the book is a short read at ~250 pages or so, but it covers about everything you will need to know about it. I was particularly interested in the types of supported attributes an schemas and the book covers that primarily in the beginning. The author uses OpenLDAP for all his examples. The book also covers various integration methods (i.e. using it for auth over PAM etc, and how to talk to it via Perl). Now obviously nowadays people talk to it via a much wider array of languages today (this book was written in 2003?) but the Perl examples will get you started in an easy to follow manner. I am currently looking to migrate a large LDAP &#8220;database&#8221; over to an RDBMS implementation, however this book did not really cover that&#8230;but its pretty self explanatory given the issues involved with taking flat data and moving it to relational.</p>
<p>Lastly the book does touch on clients but all examples are from the standard client command line tools. I&#8217;ve searched around and have ended up using Apache Directory Studio. Its nice but I&#8217;ve had problems with schema data being cached and/or not properly updating when the schema is changed on the server.</p>
<p>Overall I would skip this book as I think the info available online regarding LDAP will get you up to speed just as well! </p>
<br />Filed under: <a href='http://bitsofinfo.wordpress.com/category/reviews/'>Reviews</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/429/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=429&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2010/04/02/review-ldap-system-administration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>

		<media:content url="http://covers.oreilly.com/images/9781565924918/cat.gif" medium="image">
			<media:title type="html">LDAP System Administration</media:title>
		</media:content>
	</item>
		<item>
		<title>Thoughts on Endeca</title>
		<link>http://bitsofinfo.wordpress.com/2010/03/11/thoughts-on-endeca/</link>
		<comments>http://bitsofinfo.wordpress.com/2010/03/11/thoughts-on-endeca/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 15:32:24 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Lucene]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=426</guid>
		<description><![CDATA[I attended the Endeca Application Developer training course last month and walked away with a ton of information on this product. Frankly, its quite a bit to absorb in one week. I&#8217;ve done a fair amount of work with Lucene in the past and frankly you really cannot compare these two technologies directly. In the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=426&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I attended the Endeca Application Developer training course last month and walked away with a ton of information on this product. Frankly, its quite a bit to absorb in one week. I&#8217;ve done a fair amount of work with Lucene in the past and frankly you really cannot compare these two technologies directly. In the world of Endeca, Lucene would just be small but significant part of the larger Endeca solution. Lucene in the Endeca world would simply be the implementation of the MDEX engine and you would need something like Solr to provide some of the other higher search/faceting functionality that Endeca gets you. But overall Endeca is a much larger solution. The pipeline portion alone is quite slick and really could be used as a standalone ETL solution. The pipeline can pull data from a wide array of sources, merge and massage it into Endeca &#8220;records&#8221; which are then indexed.</p>
<p>Overall I was quite impressed with this product and will look forward to (hopefully) getting to implement a full solution. I am currently working with the Endeca CADK to design a small framework for record adapters.</p>
<br />Filed under: <a href='http://bitsofinfo.wordpress.com/category/java/'>Java</a>, <a href='http://bitsofinfo.wordpress.com/category/lucene-2/'>Lucene</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/426/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=426&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2010/03/11/thoughts-on-endeca/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>
	</item>
		<item>
		<title>Scrollbar not appearing in IE7 when CSS overflow auto is set</title>
		<link>http://bitsofinfo.wordpress.com/2010/02/15/scrollbar-not-appearing-in-ie7-when-css-overflow-auto-is-set/</link>
		<comments>http://bitsofinfo.wordpress.com/2010/02/15/scrollbar-not-appearing-in-ie7-when-css-overflow-auto-is-set/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:03:21 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[ajax]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=422</guid>
		<description><![CDATA[Recently when working on a JQuery based UI, I encountered an annoying IE 7 problem. I had a scrollable DIV setup with overflow:auto; configured in CSS. The scrollable DIV had a one child div which contained text. As the text grows in length the parent scrollable div should trigger a vertical scrollbar. This worked fine [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=422&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently when working on a JQuery based UI, I encountered an annoying IE 7 problem. I had a scrollable DIV setup with <code>overflow:auto;</code> configured in CSS. The scrollable DIV had a one child div which contained text. As the text grows in length the parent scrollable div should trigger a vertical scrollbar. This worked fine in every browser, FF, SF, IE6/8 but would not work in IE7. When you first viewed the page in IE7 the text would just cut off and the scrollbar would not be visible, however when you clicked on another page element and brought focus back to the scrollable div, the scrollbar would then appear as expected. Annoying indeed. To fix this in IE7 I simply did the following in JQuery to dynamically adjust the height when the after the DIV gained focus and it fixed the problem. Might it help you? Who knows but it worked for me.<br />
<code><br />
var h = $("myScrollingDivWithOverflowAUTOset").height();<br />
$("myScrollingDivWithOverflowAUTOset").height(h+1);<br />
$("myScrollingDivWithOverflowAUTOset").height(h-1);<br />
</code></p>
<br />Filed under: <a href='http://bitsofinfo.wordpress.com/category/javascript/'>Javascript</a>, <a href='http://bitsofinfo.wordpress.com/category/jquery/'>JQuery</a> Tagged: <a href='http://bitsofinfo.wordpress.com/tag/ajax/'>ajax</a>, <a href='http://bitsofinfo.wordpress.com/tag/javascript/'>Javascript</a>, <a href='http://bitsofinfo.wordpress.com/tag/jquery/'>JQuery</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/422/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=422&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2010/02/15/scrollbar-not-appearing-in-ie7-when-css-overflow-auto-is-set/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>
	</item>
		<item>
		<title>My first brush with Cairngorm</title>
		<link>http://bitsofinfo.wordpress.com/2010/01/19/my-first-brush-with-cairngorm/</link>
		<comments>http://bitsofinfo.wordpress.com/2010/01/19/my-first-brush-with-cairngorm/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 05:04:55 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex/AS3]]></category>
		<category><![CDATA[Spring AS]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[ria]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=412</guid>
		<description><![CDATA[So after reading &#8220;Professional Cairngorm&#8221; I decided that I would try using Cairngorm on my next project. Well that project is is the final stages of completion and I&#8217;d like to share my thoughts. The project was a dynamically driven Flex app embedded in a web-browser that could also run on AIR. The application was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=412&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So after reading <a href="http://bitsofinfo.wordpress.com/2009/12/26/book-review-professional-cairngorm/">&#8220;Professional Cairngorm&#8221;</a> I decided that I would try using Cairngorm on my next project. Well that project is is the final stages of completion and I&#8217;d like to share my thoughts.</p>
<p>The project was a dynamically driven Flex app embedded in a web-browser that could also run on AIR. The application was read-only and did not collect data from the user but simply presented data one way. This app consisted of a your typical main screen, featuring configurable &#8220;portlets&#8221; that gave teasers into the deeper content contained within. It also had primary top navigation each of which drove to sub-screens which could render their data-sets in various customizable layout views, each of which having its own set of second level navigation to navigate within that sub screen. The data was stored in an XML implementation of an &#8220;Content Store&#8221; interface which could also be swapped out with a SQLite or web-service backed version if necessary. The lower level service layer that stored and managed all of the content as well as the navigation meta-data was wired together using <a href="http://www.springsource.org/extensions/se-springactionscript-as">Spring Actionscript</a> and also leveraged other libraries like <a href="http://code.google.com/p/as3-commons/">AS3 Commons</a>.</p>
<p>For the application logic itself (i.e. how the views render, how the user navigates around, what screen renders what data etc) was all handled by using <a href="http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm">Caringorm 2.2</a>. </p>
<p>By default, Cairngorm seems to drive the developer to be extremely granular with their Command, CairngormEvent and Delegate declarations. What this means is that if you are not careful, you will end up with an absolute overload of classes for a simple application. Instead I took the approach consolidating domain related functionality into larger Delegate classes which could handle more than one type of small specific operation. My Delegate classes abstracted away my lower level service layer (where the content and navigation meta-data was stored) away from the application and fulfilled its contracts through the delivery of VOs to the commands, subsequently to the model and finally to the views via Flex data binding.</p>
<p>I also tried to limit the number of events down to a total of four, one for bootstrapping Spring, one for handling a screen change, one for rendering the correct body and finally one for launching external resources. The number of VOs (value objects) I ended up with was fairly large (about 10) as I was very careful to create granular VOs so that I had zero coupling with the underlying service layer which was hidden away by the Delegate classes. The underlying service layer certainly had its own VO like objects which I could have permitted to bubble up to the model/view, but taking the decoupled VO approach is the way to go in an MVC framework such as Cairngorm. You can end up replicating a lot of properties etc, but it is worth it in the long run as your VOs help you gel your domain model without tying it to the underlying implementation. </p>
<p>In the past I&#8217;ve played around with PureMVC, as well as my own custom MVC like framework for throwing together quick Flex apps. Overall I would say that my experience with Cairngorm in this small app was a positive one. There was a slight learning curve to get going, but it was not difficult at all if you have used other MVC frameworks in any other language. Cairngorm is heavily dependent upon Flex/AS3&#8242;s internal data binding and that can be a positive or negative depending on your personal views, however I found it to be quite powerful and convenient. </p>
<p>On the downside, the most awkward thing in Cairngorm for me was the Model (ModelLocator), for a small app like this one it was fine, but it just seems like a giant &#8220;global variable&#8221; store (not seems, it is in fact one) and if you are doing a complex app, I feel it would be necessary to break this up into different model&#8217;s for different parts of the application. Ideally each view should not be directly bound to your custom ModelLocator as Cairngorm forces this which basically couples your view directly to a specific model implementation. Instead a DI approach might be better. </p>
<p>Thankfully this application did not have to use the ServiceLocator as I was using in-process services (not web-services or remoting). Why was I thankful? Well when I looked at the ServiceLocator the whole thing made me cringe! The documentation on how to use it as well as the source, plus the fact you declare an wire it up in MXML&#8230;. It just seemed like a combination of bad naming and bad implementation. Secondly, unless you are using the hardwired web-service, http object or remoting versions in that class, the ServiceLocator in Cairngorm appears to be useless out of the box without customization. You just can&#8217;t easily plop in your own services bound by an arbitrary key. Why don&#8217;t they support custom abstractions of a &#8220;service&#8221; beyond the default &#8220;remote&#8221; three provided in Flex? Why does a &#8220;service&#8221; have to be remote in Cairngorm? Why should it care?</p>
<p>Overall&#8230; like I said my experience was fairly positive and would use it again for a similar project. That said, I do have some issues with the framework. I also fundamentally don&#8217;t understand why this framework is the &#8220;de-facto&#8221; standard promoted by Adobe and seemingly viewed as required knowlege for any &#8220;real Flex/AS3 developer&#8221;. Shouldn&#8217;t knowing the principles of MVC be more of a requirement than simply the nuts and bolts of a specific framework implementation? </p>
<p>Next stop&#8230; I am going to try out some other AS3/Flex MVC frameworks. I&#8217;ll report back on those.</p>
<br />Posted in AIR, Flex/AS3, Spring AS Tagged: as3, cairngorm, flex, ria <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/412/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=412&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2010/01/19/my-first-brush-with-cairngorm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>
	</item>
		<item>
		<title>Security Sandbox Violation during run and debug after moving or copying a Flex project in Flex Builder</title>
		<link>http://bitsofinfo.wordpress.com/2010/01/07/security-sandbox-violation-during-run-and-debug-after-moving-or-copying-a-flex-project-in-flex-builder/</link>
		<comments>http://bitsofinfo.wordpress.com/2010/01/07/security-sandbox-violation-during-run-and-debug-after-moving-or-copying-a-flex-project-in-flex-builder/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 19:43:42 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[Flex/AS3]]></category>
		<category><![CDATA[annonyances]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=410</guid>
		<description><![CDATA[Ugh, this is one of those classic examples of getting sidetracked in your daily work because of some annoyances with Flex Builder. Today I copied an existing Flex Builder project in Eclipse to another directory (new renamed project). I then edited the project settings (renamed the project) before importing the new copied project into Eclipse. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=410&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ugh, this is one of those classic examples of getting sidetracked in your daily work because of some annoyances with Flex Builder.  Today I copied an existing Flex Builder project in Eclipse to another directory (new renamed project). I then edited the project settings (renamed the project) before importing the new copied project into Eclipse. This worked great and Eclipse immediately imported the new project and recognized it as a Flex project.</p>
<p>The problem came up when I tried to debug my app. When I hit debug I got the dreaded <code>*** Security Sandbox Violation ***</code> (Adobe&#8217;s equivalent of the blue screen of death) once my app attempted to make an UrlLoader request for a sibling resource to the SWF. Now, at this point I was frustrated as this was an exact cloned copy of the project that still worked under the original project name in Eclipse. </p>
<p>Turns out, that during a true &#8220;Create new Flex Builder Project&#8221; setup in Eclipse, Flex Builder adds your project&#8217;s bin-release and bin-debug directories to the local Flash Players global security settings as a trusted resource. This is necessary so you can debug/run your Flex projects in eclipse without getting the Security Sandbox Violations when accessing local resources.</p>
<p>Now how to fix this? </p>
<p>Simply go here: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html</p>
<p>and proceed to  add your copied/new project&#8217;s bin-debug and bin-release dirs. Then next time you run, the security sandbox exceptions will go away, just as if you originally created the project in Flex Builder&#8217;s &#8220;wizards&#8221; of smart.</p>
<br />Posted in Flex/AS3 Tagged: annonyances, as3, flex <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/410/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=410&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2010/01/07/security-sandbox-violation-during-run-and-debug-after-moving-or-copying-a-flex-project-in-flex-builder/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>
	</item>
		<item>
		<title>Book Review: Professional Cairngorm</title>
		<link>http://bitsofinfo.wordpress.com/2009/12/26/book-review-professional-cairngorm/</link>
		<comments>http://bitsofinfo.wordpress.com/2009/12/26/book-review-professional-cairngorm/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 00:40:19 +0000</pubDate>
		<dc:creator>bitsofinfo</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex/AS3]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[ria]]></category>

		<guid isPermaLink="false">http://bitsofinfo.wordpress.com/?p=391</guid>
		<description><![CDATA[This is a review of the book Professional Cairngorm by Jeremy Wischusen. When describing his motivations for writing this book the author tells a story about experience with Flex/AS3 development, but none of it using Cairngorm, then he had a job interview&#8230;. And in typical fashion, when he answered no to the &#8220;cairngorm experience&#8221; question, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=391&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wrox.com/WileyCDA/WroxTitle/Professional-Cairngorm.productCd-0470543124.html"><img src="http://bitsofinfo.files.wordpress.com/2009/12/0470543124.jpg?w=570" alt="" title="497265_cover.indd"   class="alignright size-full wp-image-392" /></a>This is a review of the book <a href="http://www.wrox.com/WileyCDA/WroxTitle/Professional-Cairngorm.productCd-0470543124.html">Professional Cairngorm by Jeremy Wischusen</a>. When describing his motivations for writing this book the author tells a story about experience with Flex/AS3 development, but none of it using Cairngorm, then he had a job interview&#8230;. And in typical fashion, when he answered no to the &#8220;cairngorm experience&#8221; question, the interviewer basically said that if you have not used &#8220;Cairngorm&#8221; you don&#8217;t know anything about Flex/AS3. What a joke! This is a side rant, but I can relate to this guy as I have done about a year and a half of pretty serious AS3 development without Cairngorm, and after having read this book, I really don&#8217;t see why Cairngorm is such a major &#8220;must know&#8221; AS3/Flex MVC framework. The author does a good job covering the history of this framework, and all said and done, it sounds likes some flash developers originally threw the framework together then Adobe Consulting threw its official &#8220;stamp of approval&#8221; on it, and there you go. Everyone must learn Cairngorm&#8230;.. </p>
<p>So that said, just take a look at Chapter 3, which describes the Cairngorm&#8217;s &#8220;ServiceLocator&#8221;. Wow, if that does not seem like an overly convoluted set of classes and interfaces just to lookup HTTP/WS/RMI services, then I am not sure what it is. </p>
<p>Moving on&#8230;.. to the book. This is a decent book, and the author is correct that for a newcomer to Cairngorm, there is not a ton of very good documentation out there for those starting with this framework. The author does a fairly good job of presenting the framework and how it works in a simple straightforward approach. Roughly the first 1/2 of the book is dedicated to discussing the inner working of the major Cairngorm players, the last 1/2 of the book covers a detailed step by step case study (blog app) followed by good coverage of the communities Cairngorm complaints, expert tips and 3rd party extensions.</p>
<p>Complaints about this book: First off I felt like the author may have been rehashing a lot of the material that is already out there, given the many references to official docs and other resources that were cited. The second complaint is the horrible formatting of the code samples. The wrapping of code lines is awful and so is the spacing between methods etc. Very hard to read and they could have done a better job with that.</p>
<p><strong>Overall: Do you need to learn Cairngorm in about a day? Get this book.</strong></p>
<p>Skill levels/Audience: Targeted towards people with zero Cairngorm experience, but intermediate to advanced AS3/Flex experience. Backgrounds with other MVC frameworks is helpful in understanding the material. This book is NOT for people brand new to Flex/AS3.</p>
<p>FYI, last year I played around with PureMVC, and this year (2010) after reading this book, I am going to make an effort to do at least one or two projects using Cairngorm. Lets see how it goes and I will report back!</p>
<br />Posted in AIR, Flex/AS3, Reviews Tagged: AIR, as3, flash, flex, ria <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitsofinfo.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitsofinfo.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitsofinfo.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitsofinfo.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bitsofinfo.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bitsofinfo.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bitsofinfo.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bitsofinfo.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitsofinfo.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitsofinfo.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitsofinfo.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitsofinfo.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitsofinfo.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitsofinfo.wordpress.com/391/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitsofinfo.wordpress.com&amp;blog=9292969&amp;post=391&amp;subd=bitsofinfo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bitsofinfo.wordpress.com/2009/12/26/book-review-professional-cairngorm/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/280335308ca996f51a7ef4bf2893015e?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bitsofinfo</media:title>
		</media:content>

		<media:content url="http://bitsofinfo.files.wordpress.com/2009/12/0470543124.jpg" medium="image">
			<media:title type="html">497265_cover.indd</media:title>
		</media:content>
	</item>
	</channel>
</rss>
