<?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>Rambling about...</title>
	<atom:link href="http://ramblingabout.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ramblingabout.wordpress.com</link>
	<description>Everyting and nothing in particular.</description>
	<lastBuildDate>Thu, 06 Oct 2011 17:44:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ramblingabout.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Rambling about...</title>
		<link>http://ramblingabout.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ramblingabout.wordpress.com/osd.xml" title="Rambling about..." />
	<atom:link rel='hub' href='http://ramblingabout.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Triptance.com is a candidate for BBVA Open Talent awards</title>
		<link>http://ramblingabout.wordpress.com/2009/12/16/triptance-com-is-a-candidate-for-bbva-open-talent-awards/</link>
		<comments>http://ramblingabout.wordpress.com/2009/12/16/triptance-com-is-a-candidate-for-bbva-open-talent-awards/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 16:53:47 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[triptance startup bbva opentalent contest travel planning sharing]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=218</guid>
		<description><![CDATA[Triptance.com, our 2.0 travel notebook to easy planning, enjoying and sharing trips, has been accepted for the second edition of the BBVA Open Talent contest, were companies in different maturity stages submit their idea and business plan for public review. The results of the first round will be published on January 1st, 2010, and then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=218&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="Triptance, the 2.0 travel notebook" href="http://triptance.com">Triptance.com</a>, <strong>our 2.0 travel notebook to easy planning, enjoying and sharing trips</strong>, has been accepted for the second edition of the <a title="BBVA Open Talent website" href="http://www.bbvaopentalent.com/en/">BBVA Open Talent contest</a>, were companies in different maturity stages submit their idea and business plan for public review.</p>
<p><a href="http://ramblingabout.files.wordpress.com/2009/12/imagen-2-copiar-e1260961134136.png"><img class="aligncenter size-full wp-image-219" title="Trip photos screenshot for Triptance.com" src="http://ramblingabout.files.wordpress.com/2009/12/imagen-2-copiar-e1260961134136.png?w=423&#038;h=249" alt="Photos displayed on one of the user's trips on Triptance.com" width="423" height="249" /></a></p>
<p>The results of the first round will be published on January 1st, 2010, and then companies passing this first (internal) filter will be displayed on the open talent website where they will be voted by the public.</p>
<p>We are excited about this opportunity and expect to get through this first filter.</p>
<p>We hope <a title="Vote for BBVA Open Talent companies (starting on January 1st 2010)" href="http://www.bbvaopentalent.com/en/vote/">to get your votes</a> next year!</p>
<br />Posted in Uncategorized Tagged: triptance startup bbva opentalent contest travel planning sharing <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=218&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2009/12/16/triptance-com-is-a-candidate-for-bbva-open-talent-awards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>

		<media:content url="http://ramblingabout.files.wordpress.com/2009/12/imagen-2-copiar-e1260961134136.png" medium="image">
			<media:title type="html">Trip photos screenshot for Triptance.com</media:title>
		</media:content>
	</item>
		<item>
		<title>How to startup in Spain: Tetuan Valley Startup School</title>
		<link>http://ramblingabout.wordpress.com/2009/12/03/how-to-startup-in-spain-tetuan-valley-startup-school/</link>
		<comments>http://ramblingabout.wordpress.com/2009/12/03/how-to-startup-in-spain-tetuan-valley-startup-school/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 13:58:14 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[entrepreneur]]></category>
		<category><![CDATA[notebook]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[triptance]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=213</guid>
		<description><![CDATA[Some weeks ago I left my full-time job at a consulting company to go down the road of being an independent contractor in Spain, where I live. I felt that there was a need for companies to hire talent for specific tasks. But live has its own plans and little after I took that decision [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=213&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Some weeks ago I left my full-time job at a consulting company to go down the road of being an independent contractor in Spain, where I live. I felt that there was a need for companies to hire talent for specific tasks.</div>
<div>But live has its own plans and little after I took that decision and started a <a title="My blog in spanish" href="http://blog.abelmuino.es">blog in spanish</a>, <a title="Startup School announcement" href="http://blog.tetuanvalley.com/2009/07/join-tetuan-startup-school-this-fall.html">Tetuan Valley Startup School</a> crossed my way:</div>
<blockquote><p>The course is a 6 week period of <strong>training and working on the implementation of an idea</strong>. Teams will choose an idea the first day and their <strong>goal</strong> will be to <strong>release a prototype by the end of the program</strong>.</p></blockquote>
<p>These six weeks have been a lot of hard work, facing daunting tasks (with help from the teachers and 7 other teams) such as drafting a credible business plan and clearly explaining the goal of the company in a few seconds.</p>
<p>After all that work <a title="Triptance, the 2.0 traveler's notebook for planning, enjoying and sharing your trips" href="http://triptance.com/"><strong>Triptance</strong></a><strong>, the 2.0 traveler&#8217;s notebook for planning, enjoying and sharing</strong> your trips was born.</p>
<p>I can only recommend <a title="Graduation video" href="http://blog.tetuanvalley.com/2009/11/animoto-startup-school-fall-2009.html">the whole experience</a>, despite of what you will do after going through it. I am also happy of having met <a title="Introductions for the Startup School teams" href="http://blog.tetuanvalley.com/2009/10/startup-school-fall-2009-project.html">all the people attending the course and their projects</a>. You guys rock!</p>
<p>What will the future bring? By now, I will continue to work as a freelance and working on <a title="Triptance, the 2.0 traveler's notebook for planning, enjoying and sharing your trips" href="http://triptance.com">triptance</a> (and <a title="Follow triptance on twitter" href="http://twitter.com/triptance">@triptance</a>) at the same time to take it to a point when I can confidently show it around. Then I might be looking for some funding&#8230;</p>
<br />Posted in personal Tagged: entrepreneur, notebook, project, school, startup, travel, triptance <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=213&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2009/12/03/how-to-startup-in-spain-tetuan-valley-startup-school/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting head dumps on OutOfMemoryException</title>
		<link>http://ramblingabout.wordpress.com/2009/08/06/getting-head-dumps-on-outofmemoryexception/</link>
		<comments>http://ramblingabout.wordpress.com/2009/08/06/getting-head-dumps-on-outofmemoryexception/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 12:00:50 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[eclipse mat memory analyzer java]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=209</guid>
		<description><![CDATA[This is one of these notes to self that I keep writing on the blog&#8230; Add the following java options when launching an application (or application server) to get a dump if the application throws an OutOfMemoryException -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/where/to/write/the/dump We are using this on out local and development servers at work, and then using Eclipse [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=209&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is one of these <em>notes to self</em> that I keep writing on the blog&#8230;</p>
<p>Add the following java options when launching an application (or application server) to get a dump if the application throws an <em>OutOfMemoryException</em></p>
<pre style="padding-left:30px;">-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/where/to/write/the/dump</pre>
<p>We are using this on out local and development servers at work, and then using <a title="Eclipse Memory Analyzer" href="http://www.eclipse.org/mat/" target="_blank">Eclipse MAT</a> to diagnose the cause.</p>
<p>So far, it is been a pleasure working with MAT. We are maintaining some legacy web application which occasionally crashes due to <em>OOM</em>, so we took a dump and fed it to MAT.</p>
<p>Despite of my attempts to look at the wrong places (since we got <em>OOM</em>) on a webservice, MAT kept showing me our real memory problem until I understood it. The exception on the webservice was only collateral damage&#8230; most of the memory was being used in the tests run before the actual crash.</p>
<p>Now we save more than 2.5Mb on each http session, since it turned out that the application was caching too much, too many times (on every session, instead of sharing the data at the application level).</p>
<p>I&#8217;m happy <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<br />Posted in eclipse, j2ee, java Tagged: eclipse mat memory analyzer java <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/209/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=209&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2009/08/06/getting-head-dumps-on-outofmemoryexception/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>
	</item>
		<item>
		<title>Naive scripts for mirroring P2 repositories</title>
		<link>http://ramblingabout.wordpress.com/2009/06/23/naive-scripts-for-mirroring-p2-repositories/</link>
		<comments>http://ramblingabout.wordpress.com/2009/06/23/naive-scripts-for-mirroring-p2-repositories/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 09:11:24 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[corporate]]></category>
		<category><![CDATA[eclipse p2 mirror artifact windows command]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=197</guid>
		<description><![CDATA[Eclipse has a large ecosystem. So large that it is reasonable to assume that most people will not know many of the available tools. That can be a problem in the corporate world, where you would like all the developers using the same tools, and have those tools installed easily and fast. One simple way [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=197&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Eclipse has a large ecosystem. So large that it is reasonable to assume that most people will not know many of the available tools.</p>
<p>That can be a problem in the corporate world, where you would like all the developers using the same tools, and have those tools installed easily and fast.</p>
<p>One simple way of achieving this is to setup a corporate <a title="Equinox p2 Repository Mirroring on the Eclipsepedia" href="http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring" target="_blank">p2 mirror</a> with the standarized extensions that all developers can/should/must install. To achive that, this simple script can be used to create a mirror on the <em>p2-mirror</em> folder:</p>
<p><strong>mirror.cmd</strong></p>
<pre class="brush: java;">

@echo off
SET ECLIPSE=D:\usuarios\java\eclipse-jee-galileo-RC4

echo Mirroring metadata for %1
java -jar %ECLIPSE%\plugins\org.eclipse.equinox.launcher_*.jar ^
 -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication ^
 -source %1 ^
 -destination p2-mirror ^
 -destinationName &quot;Corporate P2 Repo&quot; ^
 -verbose ^
 -compare

echo Mirroring artifacts for %1
java -jar %ECLIPSE%\plugins\org.eclipse.equinox.launcher_*.jar ^
 -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication ^
 -source %1 ^
 -destination p2-mirror ^
 -destinationName &quot;Corporate P2 Repo&quot; ^
 -verbose ^
 -compare
</pre>
<p>Just invoke it with the url of the repository you want to mirror, and call it as many times as needed.</p>
<p>For instance:</p>
<pre class="brush: java;">

mirror http://q4e.googlecode.com/svn/trunk/updatesite-iam
mirror http://q4e.googlecode.com/svn/trunk/p2-nightly
mirror http://eclipse-cs.sf.net/update/
mirror http://findbugs.cs.umd.edu/eclipse/
mirror http://pmd.sourceforge.net/eclipse
mirror http://download.eclipse.org/technology/subversive/0.7/update-site/
mirror http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/
</pre>
<p>Now you only have to make the p2-mirror folder available (in shared network folder or published on an http server) so everyone can access it.</p>
<p>This is quite rough, so any suggestions for improvements are welcome!</p>
<br />Posted in eclipse Tagged: corporate, eclipse p2 mirror artifact windows command <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=197&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2009/06/23/naive-scripts-for-mirroring-p2-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>
	</item>
		<item>
		<title>First impressions on Eclipse 3.5 RC4, IAM, Scala IDE and Lift</title>
		<link>http://ramblingabout.wordpress.com/2009/06/20/eclipse-3-5-rc4-iam-scala-ide-an-lift/</link>
		<comments>http://ramblingabout.wordpress.com/2009/06/20/eclipse-3-5-rc4-iam-scala-ide-an-lift/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 22:32:16 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[iam]]></category>
		<category><![CDATA[q4e]]></category>
		<category><![CDATA[eclipse iam q4e scala lift]]></category>
		<category><![CDATA[galileo]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=183</guid>
		<description><![CDATA[I have been deep into configuring a development ecosystem with my client lately, with a boring session of integration tests for another project going in parallel, so I wanted to try something different for a change. Eclipse 3.5 is about to come out and I have been playing with the RCs for a while. I&#8217;m [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=183&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been deep into configuring a development ecosystem with my client lately, with a boring session of integration tests for another project going in parallel, so I wanted to try something different for a change.</p>
<p><a title="Eclipse Galileo website" href="http://www.eclipse.org/galileo/" target="_blank">Eclipse 3.5</a> is about to come out and I have been playing with the RCs for a while. I&#8217;m on a Mac, so one of the things I wanted to see the new support for Cocoa (so far works great, but I have not been able to use Java 6 or 64bits). The other one was updating <a title="Eclipse IAM project at Eclipse.org" href="http://eclipse.org/iam" target="_blank">Eclipse IAM</a> to run on the new Eclipse.</p>
<p>These notes can be seen as a total <em>noob&#8217;s</em> comments on <a title="The Scala Programming Language" href="http://www.scala-lang.org/" target="_blank">Scala</a> and <a title="Lift Web Framework" href="http://liftweb.net" target="_blank">Lift</a>.</p>
<h2>Installing</h2>
<p>Everything installed nicely on Eclipse 3.5 (<a title="Download Eclipse 3.5RC4 JEE pacakge for mac osx" href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/RC4/eclipse-php-galileo-RC4-macosx-carbon.tar.gz" target="_blank">JEE package for Mac OS X Cocoa</a>). I have used the <a title="Announcement of nightly build on iam-dev" href="http://dev.eclipse.org/mhonarc/lists/iam-dev/msg00457.html" target="_blank">nighty release of IAM</a>.</p>
<h2>Creating a Lift project</h2>
<p>Step one is creating the project from the lift archetype.</p>
<div id="attachment_184" class="wp-caption aligncenter" style="width: 612px"><img class="size-full wp-image-184" title="new-lift-project" src="http://ramblingabout.files.wordpress.com/2009/06/new-lift-project.png?w=602&#038;h=583" alt="Creating a new lift project with the new maven project wizard" width="602" height="583" /><p class="wp-caption-text">Creating a new lift project with the new maven project wizard</p></div>
<p>After all dependencies are downloaded I was welcome with some build errors on the test cases, which seem to be caused by Lift&#8217;s open dependency on Jetty (there were some refactorings in Jetty 7).</p>
<div id="attachment_185" class="wp-caption aligncenter" style="width: 460px"><img class="size-full wp-image-185" title="errors-after-import" src="http://ramblingabout.files.wordpress.com/2009/06/errors-after-import.png?w=450&#038;h=286" alt="Compile errors after creating the project" width="450" height="286" /><p class="wp-caption-text">Compile errors after creating the project</p></div>
<p>Setting an upper bound of 7.0.0 for the jetty dependency fixed those.</p>
<pre class="brush: xml;">

&lt;dependency&gt;

&lt;groupid&gt;org.mortbay.jetty&lt;/groupid&gt;

&lt;artifactid&gt;jetty&lt;/artifactid&gt;

&lt;version&gt;[6.1.6,7.0.0)&lt;/version&gt;

&lt;scope&gt;test&lt;/scope&gt;

&lt;/dependency&gt;
</pre>
<p>Clean the project and the errors are gone.</p>
<h2>Running the project</h2>
<p><a title="Starting with Lift, html version" href="http://liftweb.net/docs/getting_started/mod_master.html" target="_blank">Starting with Lift</a>, suggests running the project launching jetty from maven. I wanted to use WTP instead, so I tried to install the Jetty adapter by using the support in WTP for downloadable adaptors. Unfortunately, the installation did not work, so I used the built-in support for Tomcat 5.5 instead.</p>
<div id="attachment_192" class="wp-caption aligncenter" style="width: 576px"><img class="size-full wp-image-192" title="Hello Lift" src="http://ramblingabout.files.wordpress.com/2009/06/hello-lift2.png?w=566&#038;h=205" alt="The LIft webapp is up and running" width="566" height="205" /><p class="wp-caption-text">The LIft webapp is up and running</p></div>
<h2>Playing around</h2>
<h2><span style="font-weight:normal;font-size:13px;">Before getting into the next chapter of <a title="Starting with Lift, html version" href="http://liftweb.net/docs/getting_started/mod_master.html" target="_blank">Starting with Lift</a>, I played around with the application I had just built.</span></h2>
<ul>
<li>Changes to <em>index.html</em> were shown immediatly</li>
<li>Same thing when modifying the <em>default.html</em> template</li>
<li>Modifying the <em>HelloWorld</em> class to return a new value causes the context to be reloaded and the changes can be seen live (no redeployment needed)</li>
<li>Adding a second method to <em>HelloWorld</em> and using it on the <em>index.html</em> template works as above (as expected)</li>
</ul>
<h2>End of chapter one</h2>
<p>There might be some surprises down the road, but the initial impression has been good.</p>
<ul>
<li>IAM has "just worked" and stayed out of the way in a non-java project (there is no special support on IAM for Scala or Lift, although <a title="Eclipse Scala Maven Integration on Google Code" href="http://code.google.com/p/esmi/" target="_blank">esmi</a> is on the works)</li>
<li>WTP performed well. I expect the issues with the installation of the Jetty adapter to go away soon, since <a title="Jetty project at Eclipse.org" href="http://eclipse.org/jetty/" target="_blank">Jetty has joined Eclipse</a>.</li>
<li>About Lift and Scala... well, I have a lot of things to learn yet.</li>
</ul>
<p>I am looking forward to keep using these tools together (at least go through the Starting with Lift guide!).</p>
<br />Posted in eclipse, iam, q4e Tagged: eclipse iam q4e scala lift, galileo <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=183&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2009/06/20/eclipse-3-5-rc4-iam-scala-ide-an-lift/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>

		<media:content url="http://ramblingabout.files.wordpress.com/2009/06/new-lift-project.png" medium="image">
			<media:title type="html">new-lift-project</media:title>
		</media:content>

		<media:content url="http://ramblingabout.files.wordpress.com/2009/06/errors-after-import.png" medium="image">
			<media:title type="html">errors-after-import</media:title>
		</media:content>

		<media:content url="http://ramblingabout.files.wordpress.com/2009/06/hello-lift2.png" medium="image">
			<media:title type="html">Hello Lift</media:title>
		</media:content>
	</item>
		<item>
		<title>Saving different Active Record classes in a single transaction</title>
		<link>http://ramblingabout.wordpress.com/2009/05/23/saving-different-active-record-classes-in-a-single-transaction/</link>
		<comments>http://ramblingabout.wordpress.com/2009/05/23/saving-different-active-record-classes-in-a-single-transaction/#comments</comments>
		<pubDate>Sat, 23 May 2009 20:48:04 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rollback]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[transaction]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=175</guid>
		<description><![CDATA[I&#8217;ve been getting in and out of rails development for some time now&#8230; and my biggest problem is finding documentation for simple things (I guess that people already know all the stuff, but I&#8217;m still getting up to speed). So I decided to blog about one of those simple things&#8230; in case there is still [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=175&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been getting in and out of rails development for some time now&#8230; and my biggest problem is finding documentation for simple things (I guess that people already know all the stuff, but I&#8217;m still getting up to speed).</p>
<p>So I decided to blog about one of those simple things&#8230; in case there is still someone who has not mastered Ruby on Rails.</p>
<p>When several models are saved in a single transaction in Rails, the usual case is that you want to rollback the transaction if any of them fails. This is done automatically if an exception is thrown.</p>
<p>The example in <a href="http://api.rubyonrails.org/classes/ActiveRecord/Transactions/ClassMethods.html" target="_blank">ActiveRecord::Transactions::ClassMethods</a> accomplishes this by using <a href="http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002275" target="_blank">save!</a> on the models.</p>
<p>However, you usually also want to display validation errors and not show the full rails trace to the user.</p>
<p>What the example does not show is how to accomplish this. Two options here:</p>
<ol>
<li>use <a href="http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002274" target="_blank">save</a> (no exclamation mark) and check the return value. If any of the saves return false, raise an <a href="http://api.rubyonrails.org/classes/ActiveRecord/Rollback.html" target="_blank">ActiveRecord::RollbackException</a> after your render or redirect.</li>
<li>rescue from <a href="http://api.rubyonrails.org/classes/ActiveRecord/RecordInvalid.html" target="_blank">ActiveRecord::RecordInvalid</a> and render or redirect there.</li>
</ol>
<p>I think #2 is more elegant&#8230; but since I knew about it too late, my code uses #1.</p>
<pre class="brush: ruby;">
begin
  transaction do
    first.save!
    second.save!
    third.save!
    fourth.save!
  end
rescue ActiveRecord::RecordInvalid =&gt; invalid
# do whatever you wish to warn the user, or log something
end
</pre>
<p>Example is from <a href="http://tempe.st/2007/05/transaction-in-rails/" target="_blank">this other blog post</a>. I wish I&#8217;ve read it sooner!</p>
<br />Posted in Uncategorized Tagged: rails, rollback, ruby, tip, transaction <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/175/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=175&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2009/05/23/saving-different-active-record-classes-in-a-single-transaction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>
	</item>
		<item>
		<title>Why are my bundles not working?</title>
		<link>http://ramblingabout.wordpress.com/2009/03/11/why-are-my-bundles-not-working/</link>
		<comments>http://ramblingabout.wordpress.com/2009/03/11/why-are-my-bundles-not-working/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 19:55:56 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[osgi]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=132</guid>
		<description><![CDATA[Sometimes you spend time developing and testing your new bundle using the runtime workbench launched from the same eclipse, and everything is fine&#8230; until some user installs that bundle and finds that it does&#8230; nothing! The OSGi console is a great help in such cases. The `diag` command can tell you what&#8217;s wrong. Usually it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=132&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes you spend time developing and testing your new bundle using the runtime workbench launched from the same eclipse, and everything is fine&#8230; until some user installs that bundle and finds that it does&#8230; nothing!</p>
<p>The OSGi console is a great help in such cases. The `diag` command can tell you what&#8217;s wrong. Usually it is a dependency that is missing.</p>
<p>Start by launching eclipse from the command line with the <code>-console</code> command line option.</p>
<p>Now, just <code>diag your.bundle.id</code>, and you&#8217;ll see eclipse telling you what&#8217;s wrong.</p>
<br />Posted in eclipse, java Tagged: console, eclipse, osgi, plugin <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=132&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2009/03/11/why-are-my-bundles-not-working/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>
	</item>
		<item>
		<title>Optimizing Oracle and Hibernate performance, how it turned out</title>
		<link>http://ramblingabout.wordpress.com/2009/02/05/optimizing-oracle-and-hibernate-performance-how-it-turned-out/</link>
		<comments>http://ramblingabout.wordpress.com/2009/02/05/optimizing-oracle-and-hibernate-performance-how-it-turned-out/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 18:56:34 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[hibernate]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[dynamic update]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[partial update]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=170</guid>
		<description><![CDATA[Some weeks ago I wrote down some notes for making Oracle work harder and faster with hibernate. Those notes were collected from several places on the Internet and are supposed to help. But they didn&#8217;t. Not for us. Good news is that we found the problem of the bad performance and fixed it&#8230; it was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=170&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some weeks ago <a title="Optimizing Oracle and Hibernate performance" href="/2009/01/07/optimizing-oracle-and-hibernate-performance/" target="_blank">I wrote down some notes</a> for making Oracle work harder and faster with hibernate.</p>
<p>Those notes were collected from several places on the Internet and are supposed to help.</p>
<p>But they didn&#8217;t. Not for us.</p>
<p>Good news is that we found the problem of the bad performance and fixed it&#8230; it was all caused by <strong>foreign key integrity checks</strong>.</p>
<p>We got our first clue when the sysadmin detected a lot (say, 12 or so) open cursors for a simple update sentence.</p>
<p>We were using defaults for most of the hibernate settings and even when the update was intended to only change one column, the sql sentence set all the fields in the table for the affected row.</p>
<p>And Oracle fired all the checks.</p>
<p>I&#8217;m not sure why Oracle does not optimize this by first checking if the value has changed (if it hasn&#8217;t, then the constraints are forcedly valid), but the solution was simple&#8230; don&#8217;t update more than you need.</p>
<p>I have  a new friend and it is called <code><strong>@org.hibernate.annotations.Entity(dynamicUpdate=true)</strong></code>. There is some (extremely brief) documentation on the <a title="2.4.1. Entity" href="http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/#entity-hibspec-entity" target="_blank">hibernate annotations reference </a>and <a title="dynamicUpdate javadoc" href="http://www.hibernate.org/hib_docs/annotations/api/org/hibernate/annotations/Entity.html#dynamicUpdate()" target="_blank">javadocs</a>. Of course you can also use it in the <code>hbm</code> files if XML is your thing.</p>
<p>Just in case you did not guess it, this only updates dirty properties of your objects (i.e. those that you updated after retrieving it from the database).</p>
<p>This has potential caveats if another transaction somehow updates your object, since the database state will be different that what you expect. To the best of my understanding this can only happen with detached objects in any reasonable isolation level&#8230; and you should reload the state from database in that case.</p>
<p>Well, so that was it&#8230; too many constraints on a table and updating more columns than needed. Updating only the affected columns increased performance to where we expected: better than the mysql-based prototype.</p>
<br />Posted in hibernate, Uncategorized Tagged: dynamic, dynamic update, hibernate, optimization, oracle, partial update <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=170&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2009/02/05/optimizing-oracle-and-hibernate-performance-how-it-turned-out/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>
	</item>
		<item>
		<title>Optimizing Oracle and Hibernate performance</title>
		<link>http://ramblingabout.wordpress.com/2009/01/07/optimizing-oracle-and-hibernate-performance/</link>
		<comments>http://ramblingabout.wordpress.com/2009/01/07/optimizing-oracle-and-hibernate-performance/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 15:31:29 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[hibernate]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[properties]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=152</guid>
		<description><![CDATA[I&#8217;ve collected the following bits of information regarding the tunning of Oracle when used with Hibernate performance&#8230; it might help someone (and I need to write it down somewhere I won&#8217;t loose when moving from a desk to another!). The following properties should be set: # See http://martijndashorst.com/blog/2006/11/28/hibernate-31-something-performance-problems-contd/ # NOTE: See http://opensource.atlassian.com/projects/hibernate/browse/HHH-3359 hibernate.jdbc.wrap_result_sets = true [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=152&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve collected the following bits of information regarding the tunning of Oracle when used with Hibernate performance&#8230; it might help someone (and I need to write it down somewhere I won&#8217;t loose when moving from a desk to another!).</p>
<p>The following properties should be set:</p>
<p style="padding-left:30px;"><code># See <a href="http://martijndashorst.com/blog/2006/11/28/hibernate-31-something-performance-problems-contd/">http://martijndashorst.com/blog/2006/11/28/hibernate-31-something-performance-problems-contd/</a></code><code><br />
# NOTE: See http://opensource.atlassian.com/projects/hibernate/browse/HHH-3359<br />
hibernate.jdbc.wrap_result_sets = true</code></p>
<p style="padding-left:30px;"><code># See <a href="http://www.hibernate.org/120.html#A10">http://www.hibernate.org/120.html#A10</a><br />
hibernate.dbcp.ps.maxIdle = 0<br />
hibernate.c3p0.max_statements = 0<br />
</code></p>
<p style="padding-left:30px;"><code># Everything else comes from <a href="http://docs.codehaus.org/display/TRAILS/DatabaseConfigurations">http://docs.codehaus.org/display/TRAILS/DatabaseConfigurations</a><br />
# The Oracle JDBC driver doesn't like prepared statement caching very much.<br />
hibernate.statement_cache.size=0<br />
# or batching with BLOBs very much.<br />
hibernate.jdbc.batch_size=0<br />
</code></p>
<p>I have not tested the performance difference&#8230; just collected the information.</p>
<p>Let me know if you know more tricks!</p>
<p><strong>Update: </strong>Added a warning about a memory leak in current hibernate, thanks to <em>dfernandez</em>.</p>
<p><strong>Update 2: </strong>Statement caching for Oracle can be enabled directly on the datasource implementation. See <a title="http://www.oracle.com/technology/products/oracle9i/daily/jun24.html" href="http://www.oracle.com/technology/products/oracle9i/daily/jun24.html" target="_blank">this article</a>.</p>
<br />Posted in hibernate, java, jdbc, Uncategorized Tagged: hibernate, oracle, performance, properties, tuning <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=152&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2009/01/07/optimizing-oracle-and-hibernate-performance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>
	</item>
		<item>
		<title>IAM has two new committers</title>
		<link>http://ramblingabout.wordpress.com/2008/12/09/iam-has-two-new-committers/</link>
		<comments>http://ramblingabout.wordpress.com/2008/12/09/iam-has-two-new-committers/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 09:39:25 +0000</pubDate>
		<dc:creator>Abel Muiño</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[iam]]></category>
		<category><![CDATA[buckminster]]></category>
		<category><![CDATA[committer]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[wtp]]></category>

		<guid isPermaLink="false">http://ramblingabout.wordpress.com/?p=147</guid>
		<description><![CDATA[This is just a brief note to publicly welcome our two new committers on Eclipse IAM: Joakim Erdfelt, who has started by enhancing wtp integration to reach beyond web projects. Ismael Teijeiro, author of the Buckminster integration and maven actor. More news soon! Posted in eclipse, iam Tagged: buckminster, committer, eclipse, iam, integration, wtp<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=147&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is just a brief note to publicly welcome our two new committers on <a title="IAM project page" href="http://www.eclipse.org/iam" target="_blank">Eclipse IAM</a>:</p>
<ul>
<li>Joakim Erdfelt, who has started by enhancing wtp integration to reach beyond web projects.</li>
<li>Ismael Teijeiro, author of the <a title="IAM Buckminster integration" href="http://wiki.eclipse.org/IAM_Buckminster_Integration" target="_blank">Buckminster integration</a> and <a title="IAM maven actor for buckminster" href="http://wiki.eclipse.org/IAM_Buckminster_Maven_Actor" target="_blank">maven actor</a>.</li>
</ul>
<p>More news soon!</p>
<br />Posted in eclipse, iam Tagged: buckminster, committer, eclipse, iam, integration, wtp <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ramblingabout.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ramblingabout.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ramblingabout.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ramblingabout.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ramblingabout.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ramblingabout.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ramblingabout.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ramblingabout.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ramblingabout.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ramblingabout.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ramblingabout.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ramblingabout.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ramblingabout.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ramblingabout.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ramblingabout.wordpress.com&amp;blog=409284&amp;post=147&amp;subd=ramblingabout&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ramblingabout.wordpress.com/2008/12/09/iam-has-two-new-committers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d86345fbccb60f2ac80f6d2fad48baaa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">amuino</media:title>
		</media:content>
	</item>
	</channel>
</rss>
