<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" gd:etag="W/&quot;CEUCR3Y7cCp7ImA9WxBREEk.&quot;"><id>tag:blogger.com,1999:blog-12753005</id><updated>2009-12-28T15:17:46.808-08:00</updated><title>edovale's blog</title><subtitle type="html">Java, Software Development and stuff</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://edovale.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/edovalesBlog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry gd:etag="W/&quot;D0QEQnc_eCp7ImA9WxRXEkw.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-4763927702584668101</id><published>2008-10-16T20:46:00.000-07:00</published><updated>2008-10-16T20:48:23.940-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-16T20:48:23.940-07:00</app:edited><title>API design.</title><content type="html">I find &lt;a href="http://blog.isnotworking.com/2007/05/api-design-guidelines.html"&gt;this entry&lt;/a&gt; very useful. So much so that it is worth printing and sticking somewhere it can be read while coding APIs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-4763927702584668101?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xX3R_mKq8Sj6DBr8a_2vTQ5-acc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xX3R_mKq8Sj6DBr8a_2vTQ5-acc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xX3R_mKq8Sj6DBr8a_2vTQ5-acc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xX3R_mKq8Sj6DBr8a_2vTQ5-acc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=4763927702584668101" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/4763927702584668101?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/4763927702584668101?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/10/api-design.html" title="API design." /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CkAHQ3k7eip7ImA9WxRREE8.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-4890825236367433607</id><published>2008-09-21T11:06:00.000-07:00</published><updated>2008-09-21T11:12:12.702-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-21T11:12:12.702-07:00</app:edited><title>Evil Ike</title><content type="html">If &lt;a href="http://www.boston.com/bigpicture/2008/09/the_short_but_eventful_life_of.html"&gt;this&lt;/a&gt; is how &lt;a href="http://en.wikipedia.org/wiki/Hurricane_Ike"&gt;Ike&lt;/a&gt;, being a category 2 hurricane, left Texas; I can't think if the disaster it left across Cuba where it hit as a category 3 hurricane. Very impressive pictures of Texas though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-4890825236367433607?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/QcUKE7onGi0i5FzSPB6VTuk0G3A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QcUKE7onGi0i5FzSPB6VTuk0G3A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/QcUKE7onGi0i5FzSPB6VTuk0G3A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QcUKE7onGi0i5FzSPB6VTuk0G3A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=4890825236367433607" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/4890825236367433607?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/4890825236367433607?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/09/if-this-is-how-ike-being-category-2.html" title="Evil Ike" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D08FSHozfSp7ImA9WxRSFU4.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-8552411410458994023</id><published>2008-09-15T20:06:00.001-07:00</published><updated>2008-09-15T20:30:19.485-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-15T20:30:19.485-07:00</app:edited><title>Hibernate &amp; maven.</title><content type="html">Some time ago a &lt;a href="http://edovale.blogspot.com/2007/05/damn-hibernate-pomxml.html"&gt;blogged&lt;/a&gt; about some annoyances in the, at the time, current pom.xml for hibernate. At that time the maven metadata for hibernate was maintained by the maven community who could not keep up with the amount of work generated by updating dependencies to hundreds of software libraries.&lt;br /&gt;Well, things have changed quite a bit since then. 2 of the most important java open source projects of all times have started maintaining and publishing their own maven artifacts!! &lt;a href="http://springframework.org/"&gt;Spring Framework&lt;/a&gt; announced it &lt;a href="http://feeds.feedburner.com/%7Er/Interface21TeamBlog/%7E3/215524890/"&gt;here&lt;/a&gt; on January/2008 and more recently &lt;a href="http://hibernate.org/"&gt;Hibernate&lt;/a&gt; did it &lt;a href="http://in.relation.to/Bloggers/HibernateCore330GoesGA"&gt;here&lt;/a&gt;.&lt;br /&gt;It is clear that maven is gaining ground in the build market when projects of this caliber start supporting it. In the case of Hibernate they totally migrated their build from ant to maven.&lt;br /&gt;I am glad that maven has gotten to this point.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-8552411410458994023?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aVXEUBqWtYA_cRG4odOVhmRsu7o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aVXEUBqWtYA_cRG4odOVhmRsu7o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aVXEUBqWtYA_cRG4odOVhmRsu7o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aVXEUBqWtYA_cRG4odOVhmRsu7o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=8552411410458994023" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/8552411410458994023?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/8552411410458994023?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/09/hibernate-maven.html" title="Hibernate &amp; maven." /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CEcFQ346fCp7ImA9WxdaFUU.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-1091844565794489650</id><published>2008-08-21T19:55:00.000-07:00</published><updated>2008-08-24T05:46:52.014-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-24T05:46:52.014-07:00</app:edited><title>Consistency vs Improvement</title><content type="html">On every medium to large software system, consistency becomes critical.&lt;br /&gt;By consistency I mean the application of certain architectural patterns that are considered the standard way of "doing things" in a software organization. Consistency helps keep the system understandable to all programmers currently involved, and to those that may come in the future. Consistency also helps when solving known problems as established patterns can be applied with ease. Consistency attempts to keep the entropy of the system under control.&lt;br /&gt;On the other hand, it can also make improving a system hard. How can you change the standard without introducing inconsistencies? In a large project there is probably no good reason to change existing code that is already working for new code that does the same in a different way. No matter how better the new approach is; it just isn't cost effective.&lt;br /&gt;In my opinion, consistency can not be taken in an absolute way. Consistency is never a good reason not to improve a design. If this wasn't true there would be no legacy code ever. Instead new valuable ideas should be embraced and considered the new consistent way. No new code should be written following the old way. Changing the old code should be considered technical debt if it merits the effort which very likely it will. Resistance to changes that improve the quality of a system overall is irresponsible.&lt;br /&gt;How is this issue dealt with in your organization? Is consistency used as a reason to reject changes?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-1091844565794489650?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0drPuxysvBSv4iD2iZQL6ZvHOtg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0drPuxysvBSv4iD2iZQL6ZvHOtg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0drPuxysvBSv4iD2iZQL6ZvHOtg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0drPuxysvBSv4iD2iZQL6ZvHOtg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=1091844565794489650" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/1091844565794489650?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/1091844565794489650?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/08/consistency-vs-inprovement.html" title="Consistency vs Improvement" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></entry><entry gd:etag="W/&quot;D08NRHwyfyp7ImA9WxdQEUw.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-128519171338032500</id><published>2008-06-10T09:35:00.000-07:00</published><updated>2008-06-10T09:38:15.297-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-06-10T09:38:15.297-07:00</app:edited><title>YubNob is kinda cool</title><content type="html">&lt;a href="http://lifehacker.com/395628/integrate-yubnub-into-firefoxs-address-bar-for-faster-searches"&gt;This&lt;/a&gt; is a nice idea for shell like search commands from within firefox.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-128519171338032500?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lJaXpmaInMX74lVY4tP5hhVT-WE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lJaXpmaInMX74lVY4tP5hhVT-WE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lJaXpmaInMX74lVY4tP5hhVT-WE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lJaXpmaInMX74lVY4tP5hhVT-WE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=128519171338032500" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/128519171338032500?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/128519171338032500?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/06/yubnob-is-kinda-cool.html" title="YubNob is kinda cool" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D0ABR3s5fyp7ImA9WxdREUs.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-3961248798241111653</id><published>2008-05-29T19:47:00.001-07:00</published><updated>2008-05-30T09:42:36.527-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-30T09:42:36.527-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="spring" /><category scheme="http://www.blogger.com/atom/ns#" term="spam" /><title>About SpringSource's marketing</title><content type="html">Look what i just got today:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;from Kylie Clement &lt;kylie.clement@springsource.com&gt;&lt;br /&gt;to me&lt;br /&gt;date Thu, May 29, 2008 at 12:19 AM&lt;br /&gt;subject SpringSource Application Platform&lt;br /&gt; &lt;br /&gt;Erick,&lt;br /&gt;&lt;br /&gt;Thank you for your interest in SpringSource Application Platform, an excellent alternative to J2EE application servers.&lt;br /&gt;&lt;br /&gt;Are you available Thursday or Friday of this week for a telephone conversation?  I would like to understand your requirements in detail&lt;br/&gt;and answer any questions you may have.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Kylie&lt;br /&gt;&lt;br /&gt;Kylie Clement&lt;br /&gt;Regional Sales Manager&lt;br /&gt;SpringSource, Inc.&lt;br /&gt;1875 South Grant Drive, Suite 650&lt;br /&gt;San Mateo, CA 94402&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This happened after I registered for a webcast about the newly released Spring Application Platform. I have given my information to the big boys before (IBM, Oracle, etc etc) and never got an email as intrusive as this before.&lt;br /&gt;Anyway, being consistent with the inversion of control pattern, my answer is: No Mr Clement, do not call me; I'll call you if I ever need your help. And no, you will not be able to understand my requirements in a phone call as not even I am sure of what they are.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-3961248798241111653?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/M14vkcoMaKVrxp1FcrOX7wWFxO8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M14vkcoMaKVrxp1FcrOX7wWFxO8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/M14vkcoMaKVrxp1FcrOX7wWFxO8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M14vkcoMaKVrxp1FcrOX7wWFxO8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=3961248798241111653" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/3961248798241111653?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/3961248798241111653?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/05/about-springsources-marketing.html" title="About SpringSource's marketing" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CkMFRXs9eyp7ImA9WxdSFUg.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-6012690580250623225</id><published>2008-05-22T21:18:00.000-07:00</published><updated>2008-05-23T06:46:54.563-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-23T06:46:54.563-07:00</app:edited><title>maven-js-plugin</title><content type="html">Wao,&lt;br /&gt;I was blown away by the ease of use of this maven plugin.&lt;br /&gt;Just add it to your pom.xml lie this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;plugin&amp;gt;&lt;br /&gt;  &amp;lt;groupId&amp;gt;com.mobilvox.ossi.mojo&amp;lt;/groupId&amp;gt;&lt;br /&gt;&lt;br /&gt;  &amp;lt;artifactId&amp;gt;maven-js-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;  &amp;lt;version&amp;gt;1.3.1&amp;lt;/version&amp;gt;&lt;br /&gt;  &amp;lt;configuration&amp;gt;&lt;br /&gt;    &amp;lt;mergeWarFiles&amp;gt;true&amp;lt;/mergeWarFiles&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;classifier&amp;gt;js-compressed&amp;lt;/classifier&amp;gt;&lt;br /&gt;  &amp;lt;/configuration&amp;gt;&lt;br /&gt;&amp;lt;/plugin&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And then in the maven output, during the package phase, you get to see something like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[info] JavaScript file compression complete.&lt;br /&gt;[info] Size of JavaScript files after compression: 1612632 bytes&lt;br /&gt;[info] Compression ratio: 27.103024264908303%&lt;br /&gt;[info] Creating WAR: mywar.war with compressed JavaScript&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;So there you go, another reason to love maven.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-6012690580250623225?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TBCHK0sTQhLGS3ORgDMZkHRSrIw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TBCHK0sTQhLGS3ORgDMZkHRSrIw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TBCHK0sTQhLGS3ORgDMZkHRSrIw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TBCHK0sTQhLGS3ORgDMZkHRSrIw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=6012690580250623225" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/6012690580250623225?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/6012690580250623225?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/05/maven-js-plugin.html" title="maven-js-plugin" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DEUMQXg5fip7ImA9WxdVEkg.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-2521314722024723271</id><published>2008-05-22T13:49:00.000-07:00</published><updated>2008-07-16T17:58:00.626-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-16T17:58:00.626-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="maven" /><category scheme="http://www.blogger.com/atom/ns#" term="continuos integration" /><title>Maven, love it, hate it, love it, hate it, ......</title><content type="html">Lately I've been doing lots of maven stuff.&lt;br /&gt;I just released a new version of the web app I am working on and this version is going to production. Releases always are maven intensive tasks (for maven based build systems obviously), package the app, make sure data population scripts and schema creation ones are all good, deploy to new environment, run tests against it to ensure everything is ok, etc etc.&lt;br /&gt;Tweaking maven to behave appropriately can sometimes be frustrating although, in this opportunity, I have to say that almost everything went smoothly.&lt;br /&gt;One thing that I find tricky is the build profiles. I am obsessive with DRYing every single line of code i write and profiles do not make it easy in this regard. A feature I would love for maven to have is the ability to activate a profile from within another profile.&lt;br /&gt;For example, I want to have a profile called mysql that defines the dependency on mysql, plus properties such as driver class name, hibernate dialect class name etc. I want to have another profile to define an environment, say nigthly as an example. Nightly consists of a server running an instance of tomcat to which I want maven to deploy the app every night and, a mysql server instance which will host the app's DB.&lt;br /&gt;I don't wanna say mvn deploy -P nightly,mysql; instead I just wanna say mvn deploy -P nightly and the nightly knows to activate  the mysql profile.&lt;br /&gt;Overall I like maven and it is a very lively project with a very active comunity. I also like the fact that it has many detractors as this works in favor of making it better. I do wish it was released more often though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-2521314722024723271?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tQAKgRmuOES6Ib93Av5gBqGi2qs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tQAKgRmuOES6Ib93Av5gBqGi2qs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tQAKgRmuOES6Ib93Av5gBqGi2qs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tQAKgRmuOES6Ib93Av5gBqGi2qs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=2521314722024723271" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/2521314722024723271?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/2521314722024723271?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/05/maven-love-it-hate-it-love-it-hate-it.html" title="Maven, love it, hate it, love it, hate it, ......" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DkEGQ3s4eyp7ImA9WxZaFUs.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-3332226106033214254</id><published>2008-04-30T07:06:00.000-07:00</published><updated>2008-04-30T07:10:22.533-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-30T07:10:22.533-07:00</app:edited><title>Wolfenstein on JS!!</title><content type="html">Outstanding!!!!&lt;br /&gt;Things like &lt;a href="http://www.nihilogic.dk/labs/wolf/"&gt;this&lt;/a&gt; tell more about the power of javascript than all the books on the language out there.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-3332226106033214254?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xpH2wIivL4gWLMq8pEBGH-mSnrs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xpH2wIivL4gWLMq8pEBGH-mSnrs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xpH2wIivL4gWLMq8pEBGH-mSnrs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xpH2wIivL4gWLMq8pEBGH-mSnrs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=3332226106033214254" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/3332226106033214254?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/3332226106033214254?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/04/wolfenstein-on-js.html" title="Wolfenstein on JS!!" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;C0YHRng_fip7ImA9WxZaE0Q.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-6325310076065716890</id><published>2008-04-27T10:02:00.000-07:00</published><updated>2008-04-28T06:58:57.646-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-28T06:58:57.646-07:00</app:edited><title>OS X Focus-follows-mouse issue</title><content type="html">Sometime a go I &lt;a href="http://edovale.blogspot.com/2008/03/another-mac-os-annoyance.html"&gt;bloged&lt;/a&gt; about this issue. Now Stevey has &lt;a href="http://steve-yegge.blogspot.com/2008/04/settling-osx-focus-follows-mouse-debate.html"&gt;a very detailed blog entry about this issue&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-6325310076065716890?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MmIZohkdL6s0gdGHiDB_y2ZeP8I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MmIZohkdL6s0gdGHiDB_y2ZeP8I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MmIZohkdL6s0gdGHiDB_y2ZeP8I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MmIZohkdL6s0gdGHiDB_y2ZeP8I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=6325310076065716890" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/6325310076065716890?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/6325310076065716890?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/04/os-x-focus-follows-mouse-issue.html" title="OS X Focus-follows-mouse issue" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry gd:etag="W/&quot;CEUBQHc8eCp7ImA9WxZVFU0.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-9090412355059837075</id><published>2008-03-25T13:47:00.000-07:00</published><updated>2008-03-25T20:30:51.970-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-25T20:30:51.970-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="validation" /><title>Validation Framework for java</title><content type="html">Wouldn't it be nice to be able to do something like this:&lt;br /&gt;&lt;pre&gt;public class Address {&lt;br /&gt;&lt;br /&gt;   @NotEmpty @Max(50)&lt;br /&gt;   private String street1;&lt;br /&gt;&lt;br /&gt;   @Max(50)&lt;br /&gt;   private String street2;&lt;br /&gt;&lt;br /&gt;   @Max(9) @NotNull&lt;br /&gt;   private String zipcode;&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;and then be able to say something like:&lt;br /&gt;&lt;pre&gt;public class Order {&lt;br /&gt;   @Valid @NotNull private Address delivery;&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;The implications of something like this go beyond mere validation. IMHO it si an elegant solution that if built properly will improve the &lt;a href="http://en.wikipedia.org/wiki/Don%27t_repeat_yourself"&gt;DRYness&lt;/a&gt; of the code across all layers of any java application.&lt;br /&gt;&lt;br /&gt;This is the intention behind &lt;a href="http://jcp.org/en/jsr/detail?id=303"&gt;jsr-303&lt;/a&gt;. &lt;span class="entry-author-name"&gt;Emmanuel Bernard from &lt;a href="http://jboss.org/"&gt;jboss&lt;/a&gt; has more details &lt;a href="http://in.relation.to/Bloggers/BeanValidationSneakPeekPartI"&gt;here&lt;/a&gt;&lt;/span&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-9090412355059837075?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-X14wZd93LvVHdSlItbqi4iLyLQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-X14wZd93LvVHdSlItbqi4iLyLQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-X14wZd93LvVHdSlItbqi4iLyLQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-X14wZd93LvVHdSlItbqi4iLyLQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=9090412355059837075" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/9090412355059837075?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/9090412355059837075?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/03/validation-framework-for-java.html" title="Validation Framework for java" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></entry><entry gd:etag="W/&quot;D0cFQHgzcSp7ImA9WxZWF0o.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-641818686973143375</id><published>2008-03-17T10:13:00.000-07:00</published><updated>2008-03-17T10:30:11.689-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-17T10:30:11.689-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mac" /><title>Another Mac OS annoyance</title><content type="html">For some reason in Mac OS, if an application does not have the focus, you would have to click twice on it to get something done. The first click will give the application the focus and the second will do what you where intending to do in the first click. In windows this is not true so for someone coming from Windows, like me, this is particularly annoying. Nonetheless it is not the end of the world.&lt;br /&gt;Mac OS is definitely faster than windows for the kind of work I do on it. I am just finding it a little bit tricky to get use to its windowing system.&lt;br /&gt;It could be the case that, for someone with little or no computer experience; getting use to this kind of things would be easier than it is for someone coming from a different OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-641818686973143375?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jWfxjws0dufswtV6o0hhzBJhP-A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jWfxjws0dufswtV6o0hhzBJhP-A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jWfxjws0dufswtV6o0hhzBJhP-A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jWfxjws0dufswtV6o0hhzBJhP-A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=641818686973143375" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/641818686973143375?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/641818686973143375?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/03/another-mac-os-annoyance.html" title="Another Mac OS annoyance" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;C0IBQX07eCp7ImA9WxZXGEs.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-4231056907881838538</id><published>2008-03-06T19:35:00.000-08:00</published><updated>2008-03-06T19:45:50.300-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-06T19:45:50.300-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="amigos" /><title>Amigo camino a la fama.</title><content type="html">Tengo un &lt;a href="http://www.malditosfilms.com"&gt;amigo&lt;/a&gt; cineasta de hace mas de 20 anos que, con su opera prima como director, parece &lt;a href="http://www.elnuevoherald.com/entretenimiento/revista_aplausos/story/170734.html"&gt;haberle acertado al clavo en la cabeza&lt;/a&gt;.&lt;br /&gt;La verdad yo siempre crei en el. Muchos no, y no los culpo por que despues de empezar y dejar inconclusas carreras de musica, psicologia y filologia, hay que tener mucha fe en alguien para seguir creyendo que podria llegar a algo. Finalmente encontro se verdadera profesion como cineasta lo cual me hace extremedamante feliz.&lt;br /&gt;Ale, te deseo toda la suerte del mundo, aunque se que, como hasta ahora, la suerte te la haras tu mismo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-4231056907881838538?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Q8oU_wUqh4sPYJpDCAVYLm-lIRs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q8oU_wUqh4sPYJpDCAVYLm-lIRs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Q8oU_wUqh4sPYJpDCAVYLm-lIRs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q8oU_wUqh4sPYJpDCAVYLm-lIRs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=4231056907881838538" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/4231056907881838538?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/4231056907881838538?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/03/amigo-camino-la-fama.html" title="Amigo camino a la fama." /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D0UDQnk-eCp7ImA9WxZXGEk.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-6201704253021065406</id><published>2008-03-06T15:11:00.000-08:00</published><updated>2008-03-06T15:14:33.750-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-06T15:14:33.750-08:00</app:edited><title>Software Market works upside-down</title><content type="html">What an interesting take on the software market &lt;a href="http://parlezuml.com/blog/?postid=595"&gt;this&lt;/a&gt; is.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-6201704253021065406?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kCcDxQ2Y5HEkCXg1LkPyxv6w5Ts/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kCcDxQ2Y5HEkCXg1LkPyxv6w5Ts/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kCcDxQ2Y5HEkCXg1LkPyxv6w5Ts/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kCcDxQ2Y5HEkCXg1LkPyxv6w5Ts/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=6201704253021065406" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/6201704253021065406?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/6201704253021065406?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/03/software-market-works-upside-down.html" title="Software Market works upside-down" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D0cARno7fip7ImA9WxZWF0o.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-6938659222111877396</id><published>2008-03-03T11:50:00.000-08:00</published><updated>2008-03-17T10:30:47.406-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-17T10:30:47.406-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mac" /><title>No mnemonics in MAC OS X?</title><content type="html">I just got a new mac book pro!! I am extremely excited about it.&lt;br /&gt;I have always been a windows guy; and not, I am not exactly ashamed of it. As a developer, the majority of my career has been working on the java platform even though windows was my platform of choice for development.&lt;br /&gt;Anyway, now I find my self lost around mac os x. I have to say that I am having a blast learning to work with it but today I think I found something that in my opinion is pretty serious.&lt;br /&gt;As I started coding away on eclipse in my new mac I went to create a new test class and, to my surprise, eclipse has no mnemonics at all on the mac os platform. On windows I'll go shift+alt+n+j+j+enter to open the new test class dialog, alt+o to select the source folder and alt + f to finalize the wizard. On the mac I'll have to go back to using the mouse for this and many many other things I do just with the keyboard in windows.&lt;br /&gt;At the beginning I thought I was missing some hack in the eclipse configuration to activate this but then realized that iTunes, or any other native mac application for that matter, have no mnemonic support at all. Then I called a &lt;a href="http://alexguev.blogspot.com/"&gt;fellow developer&lt;/a&gt; who is a big mac advocator and he pointed me out to &lt;a href="http://developer.apple.com/documentation/Java/Conceptual/Java14Development/07-NativePlatformIntegration/NativePlatformIntegration.html"&gt;this&lt;br /&gt;&lt;/a&gt; (search for mnemonics) and here clearly states that mnemonics are not inline with  Aqua guidelines.&lt;br /&gt;Am I the only one who makes heavy use of the keyboard? How come no mac fan ever complained about not been able to drive his/her IDE from the keyboard??&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-6938659222111877396?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/e3btlAOTUdd73mzZHq2niN8KXpk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e3btlAOTUdd73mzZHq2niN8KXpk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/e3btlAOTUdd73mzZHq2niN8KXpk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e3btlAOTUdd73mzZHq2niN8KXpk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=6938659222111877396" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/6938659222111877396?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/6938659222111877396?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2008/03/no-mnemonics-in-mac-os-x.html" title="No mnemonics in MAC OS X?" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total></entry><entry gd:etag="W/&quot;CUUNR30_eCp7ImA9WB9WF0s.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-5574986673489417530</id><published>2007-11-22T12:24:00.000-08:00</published><updated>2007-11-22T12:28:16.340-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-22T12:28:16.340-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="agile" /><category scheme="http://www.blogger.com/atom/ns#" term="tdd" /><category scheme="http://www.blogger.com/atom/ns#" term="test" /><title>Agile without Tests???</title><content type="html">Can a software organization where the majority of developers have no idea about TDD be considered agile?&lt;br /&gt;I think no, but I may be wrong. What do people out there have to say about this?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-5574986673489417530?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/e9MekUT1RPtGtfMnnyGntnYPTMk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e9MekUT1RPtGtfMnnyGntnYPTMk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/e9MekUT1RPtGtfMnnyGntnYPTMk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e9MekUT1RPtGtfMnnyGntnYPTMk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=5574986673489417530" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/5574986673489417530?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/5574986673489417530?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2007/11/agile-without-tests.html" title="Agile without Tests???" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DkIFQ3w8fCp7ImA9WxRSFU4.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-904274016834074656</id><published>2007-05-11T22:10:00.000-07:00</published><updated>2008-09-15T20:08:32.274-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-15T20:08:32.274-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hibernate" /><category scheme="http://www.blogger.com/atom/ns#" term="cglib" /><category scheme="http://www.blogger.com/atom/ns#" term="spring" /><category scheme="http://www.blogger.com/atom/ns#" term="asm" /><category scheme="http://www.blogger.com/atom/ns#" term="aspects" /><category scheme="http://www.blogger.com/atom/ns#" term="aop" /><title>darn hibernate pom.xml</title><content type="html">I just finished figuring out a problem for which I could not find any explanation online. It all started happening when I decided to take spring2 aop for a whirl. The app I am working on is a web app using spring and hibernate; both of them to the latest versions which 3.2.x for hibernate and 2.0.4 for spring.&lt;br /&gt;My build system is maven based. The things I love about maven (for regular developer tasks)is its dependency resolution capablities as well as the eclipse:eclipse plugin which helps me setup eclipse in no time.&lt;br /&gt;When I added a dependency on spring-aop and spring-aspects my application stopped deplying complainig about a class in asm that was not found. The exception was comming from hibernate trying to proxy an object using cglib. This was the stacktrace I was getting:&lt;br /&gt;java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor&lt;br /&gt;at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)&lt;br /&gt;at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)&lt;br /&gt;at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)&lt;br /&gt;at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)&lt;br /&gt;at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)&lt;br /&gt;at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)&lt;br /&gt;at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)&lt;br /&gt;at net.sf.cglib.proxy.Enhancer.&lt;clinit&gt;(Enhancer.java:69)&lt;br /&gt;at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:107)&lt;br /&gt;at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)&lt;br /&gt;at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)&lt;br /&gt;at org.hibernate.tuple.entity.AbstractEntityTuplizer.&lt;init&gt;(AbstractEntityTuplizer.java:135)&lt;br /&gt;at org.hibernate.tuple.entity.PojoEntityTuplizer.&lt;init&gt;(PojoEntityTuplizer.java:55)&lt;br /&gt;at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.&lt;init&gt;(EntityEntityModeToTuplizerMapping.java:56)&lt;br /&gt;at org.hibernate.tuple.entity.EntityMetamodel.&lt;init&gt;(EntityMetamodel.java:295)&lt;br /&gt;at org.hibernate.persister.entity.AbstractEntityPersister.&lt;init&gt;(AbstractEntityPersister.java:434)&lt;br /&gt;at org.hibernate.persister.entity.SingleTableEntityPersister.&lt;init&gt;(SingleTableEntityPersister.java:109)&lt;br /&gt;at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)&lt;br /&gt;at org.hibernate.impl.SessionFactoryImpl.&lt;init&gt;(SessionFactoryImpl.java:226)&lt;br /&gt;at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)&lt;br /&gt;at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)&lt;br /&gt;at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)&lt;br /&gt;at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)&lt;br /&gt;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1175)&lt;br /&gt;&lt;br /&gt;and more stuff which adds no value to this blog entry.&lt;br /&gt;&lt;br /&gt;The problem, after hours of digging, banging, pulling hair and snapping was the hibernate's pom.xml has cglig-2.1_3.jar as dependency and somehow this guy depends on asm-1.5.x.jar. Spring aop depends indirectly of asm-2.2.3 and maven, smart enough, was using the latter is its a newer version. To make a long story short, I added an exclussion to hibernate dependency for cglib and added cglib-nodep as one of my dependencies and this solved the problem.&lt;br /&gt;I hope, if anyone hits this problem ever, he/she will google the stacktrace and will find this post.&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;&lt;/clinit&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-904274016834074656?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4aYC0093vmAsrREWLUFK8XFY794/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4aYC0093vmAsrREWLUFK8XFY794/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4aYC0093vmAsrREWLUFK8XFY794/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4aYC0093vmAsrREWLUFK8XFY794/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=904274016834074656" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/904274016834074656?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/904274016834074656?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2007/05/damn-hibernate-pomxml.html" title="darn hibernate pom.xml" /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></entry><entry gd:etag="W/&quot;DkMCQ3Y9cSp7ImA9WBBRE0Q.&quot;"><id>tag:blogger.com,1999:blog-12753005.post-116239479166876552</id><published>2006-11-01T00:50:00.001-08:00</published><updated>2006-11-01T07:21:02.869-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2006-11-01T07:21:02.869-08:00</app:edited><title>Validation Framework For Commands.</title><content type="html"> &lt;p dir="ltr" style="MARGIN-RIGHT: 0px"&gt;In my company they came up with a rather strange way to"customize/extend" the product. There is a sort of framework upon whichcustomizations are built. The way to customize a certain piece of logicis by using a variation of the &lt;a href= "http://en.wikipedia.org/wiki/Chain-of-responsibility_pattern"&gt;chain of responsibility pattern&lt;/a&gt;. Pieces of logic are put into command objects and these objects are chained using &lt;a href= "http://jakarta.apache.org/commons/chain/"&gt;Apache Commons-Chain.&lt;/a&gt; The reasons why this done like this is a topic for another post.&lt;br/&gt; Becausethe application is spring based, it was awkward to have these commandobject instantiated outside spring. By doing this we were unable toleverage the dependency injection facility in spring and therefore, hadto come up with a very wacky way of doing this which basically wasputting collaborators into the command context.&lt;br/&gt; Recently this wasfixed. We are now able to declare command objects as spring beans andinject anything we want into them. The same goes with chains. This isindeed, a great improvement over what we had before.&lt;br/&gt; Now, to thepoint of this post. In my team, we thought it would be nice to have aframework to validate the command contexts before the actual executemethod is called. By having this, we'll be saving our selves theclutter of having validation code inside the commands; instead, thecommands would assume everything expected to be in the context wasthere, and focus only on getting the job done.&lt;br/&gt; This is the kind ofuse cases aspects are very well suited for. It is a cross cuttingconcern because validation has to be performed across a large set ofobjects.&lt;br/&gt; So, we came up with a before advice for the execute methodon the command objects and also wrote a factory that is able to returna validator object for a particular type of command. This factory onlyhave to be declared as a bean in the spring context and wheninitialized it will search the application context for Validator beansand put them in a map keyed by the type of comand they know how tovalidate.&lt;br/&gt; If the factory returns &lt;font style= "FONT-STYLE: italic"&gt;null&lt;/font&gt;for a particular type of command then the advice will let theinvocation continue without further actions. At the most, it logs awarning about the missing validator.&lt;br/&gt; &lt;br/&gt; This is how the advice looks in real life:&lt;br/&gt; &lt;br/&gt;&lt;/p&gt; &lt;p&gt;&lt;br/&gt;&lt;/p&gt; &lt;div style="BACKGROUND-COLOR: rgb(192,192,192)"&gt;&lt;br/&gt; &lt;font style="FONT-WEIGHT: bold; FONT-STYLE: italic" size="2"&gt;&lt;br/&gt; public class CommandContextValidationAdvice implements MethodBeforeAdvice {&lt;br/&gt; private CommandValidatorFactory validatorFactory = null;&lt;br/&gt; &lt;br/&gt; /**&lt;br/&gt; * Lookup a CommandContextValidator via the factory. And if not null then execute the validate method.&lt;br/&gt; */&lt;br/&gt; public void before(Method method, Object[] params, Object command) throws Throwable {&lt;br/&gt; CommandContextValidator validator=validatorFactory.getCommandValidator(command.getClass());&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(validator != null) {&lt;br/&gt; validator.validate((Context) params[0]);&lt;br/&gt; }&lt;br/&gt; }&lt;br/&gt; &lt;br/&gt; /**&lt;br/&gt; * @param validatorFactory The validatorFactory to set.&lt;br/&gt; */&lt;br/&gt; public void setValidatorFactory(CommandValidatorFactory validatorFactory) {&lt;br/&gt; this.validatorFactory = validatorFactory;&lt;br/&gt; }&lt;br/&gt; }&lt;br/&gt;&lt;/font&gt;&lt;br/&gt;&lt;/div&gt; &lt;br/&gt; &lt;br/&gt; The second problem we faced was applying the aspect to the commands. We didnot wanted to change every single command bean definition as this woulddefeat the purpose of making the validation framework orthogonal to theactual command hierarchy.&lt;br/&gt; In order to solve this, we used the autoproxy facility in spring. The bean definitions in the applicationcontext then looks like this:&lt;br/&gt; &lt;br/&gt; &lt;div style="BACKGROUND-COLOR: rgb(192,192,192)"&gt;&lt;br/&gt; &lt;font face="Arial" size="2"&gt;&lt;b&gt;&amp;lt;BEAN class=org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator id=jdkBeanNameProxyCreator&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="beanNames"&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;VALUE&amp;gt;*Command&amp;lt;/VALUE&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="interceptorNames"&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;LIST&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;VALUE&amp;gt;commandContextValidationAdvisor&amp;lt;/VALUE&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/LIST&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;br/&gt; &amp;lt;/BEAN&amp;gt;&lt;/b&gt;&lt;/font&gt; &lt;p dir="ltr" style="MARGIN-RIGHT: 0px"&gt;&lt;font face="Arial" size= "2"&gt;&lt;b&gt;&amp;lt;BEAN class=com.mycompany.myclientcompany.command.CommandContextValidationAdvice id=commandContextValidationAdvice&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="validatorFactory"&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;REF bean="commandValidatorFactory"/&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;br/&gt; &amp;lt;/BEAN&amp;gt;&lt;br/&gt; &lt;br/&gt; &amp;lt;BEAN class=org.springframework.aop.support.RegexpMethodPointcutAdvisor id=commandContextValidationAdvisor&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="advice"&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;REF local="commandContextValidationAdvice"/&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="pattern"&amp;gt;&lt;br/&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;VALUE&amp;gt;org.apache.commons.chain.Command.execute&amp;lt;/VALUE&amp;gt;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;br/&gt; &amp;lt;/BEAN&amp;gt;&lt;br/&gt;&lt;/b&gt;&lt;/font&gt;&lt;br/&gt;&lt;/p&gt; &lt;/div&gt; &lt;br/&gt; The first bean definition is the auto proxy creator. It will proxy everybean in the application context whose name end with the word Command. In our case this was not much of a problem because all the commands were following this convention even before we thought about the validation framework. The rest of the bean definitions are the Advice and the Advisor respectively. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12753005-116239479166876552?l=edovale.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gBi6Xk_qks_OoAnYlTK2pcz4vZs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gBi6Xk_qks_OoAnYlTK2pcz4vZs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gBi6Xk_qks_OoAnYlTK2pcz4vZs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gBi6Xk_qks_OoAnYlTK2pcz4vZs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=12753005&amp;postID=116239479166876552" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/116239479166876552?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/12753005/posts/default/116239479166876552?v=2" /><link rel="alternate" type="text/html" href="http://edovale.blogspot.com/2006/11/validation-framework-for-c_116239479166876552.html" title="Validation Framework For Commands." /><author><name>edovale</name><uri>http://www.blogger.com/profile/13981092194125762945</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="09483303044441276492" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry></feed>
