InfoQ: IntelliJ Goes Open Source

…Starting with the upcoming version 9.0, IntelliJ IDEA will be offered in two editions: Community Edition, free and open-source, and Ultimate Edition, which until today has been referred to as simply IntelliJ IDEA. via InfoQ: IntelliJ Goes Open Source. Unfortunately, without html/css and refactoring support in the community version, i´d not even consider installing it [...]

Book review : Scrum and Xp from the Trenches

At work, we’re currently reviewing our Agile process. So I thought it was a nice occasion to read again Scrum and Xp from the trenches, esp. since we have a paper edition of it. Simply put, this book is why I started to be so much interested in Agile software development : the process it [...]

Another nice online UML Diagram creator

can be found here and creates images like this:

Hibernate default fetching strategy…

hi We all know that the default fetching strategy for hibernate is lazy. But, wait, is it, really ? As you might have guessed by now, it’s not. Indeed, for @OneToOne and @ManyToOne annotations (and only theses annotations), the default is eager. Funny no ? Oh, I forgot : don’t ask me why, I can [...]

Is Spring still lightweight?

Nice article speaking out loudly, what has to be said. http://azeditech.com/spring/is-it-still-lightweight.html And I can’t even work out what each Spring Source product does and whether it makes sense for me to even consider spending the cash, I quickly get bogged down by solution-speak every time I try to get a quick understanding. Then I saw [...]

Redis vs MySQL comparison

http://www.mysqlperformanceblog.com/2009/08/27/looking-at-redis/ Interesting read, even though possibly biased

UML Sequence Diagram Generation

fun to use and good results, at least for simple sequence diagrams: http://www.websequencediagrams.com/

Another review of Cassandra et al.

i almost missed Redis, but it sounds interesting: It also has atomic operations. This is honestly the only reason I find this project interesting, because the atomic operation support that it has means that it can be turned into a best-of-breed tally server. If you are building a server to keep real-time counts of various [...]

Cassandra review

keeping my eye open for data storage alternatives, i ran into this nice, thorough discussion of cassandra.

Wanted : book/resources on Java certifications !

I’m currently looking seriously at some Java certifications. As such, Uwe kindly gave me lots of Java certification books, but they are about Java 1.2 (whaou, prehistory ) and 1.4. Since Java 5 introduced quite some new stuff, extra resources/books would be welcome, as such feel free to comment. I’ll as well update this post [...]

How we have the development specific code safely out of the way

Quite frequently, one has to write some development specific code. For example, at work, we have, when needed, an “application launcher” (named with the application name) and a dev web page, mounted under /dev. This page in turn allows to write shortcuts in the application work flow, in order to access specific page with an [...]

Why is “Agile” planning better than the traditional Gantt approach ?

Last sunday, I’ve been discussing with a friend about planning. In his company, they’re doing it the “traditional” way, with a Gantt like approach. The example was of an excel sheet containing two tasks, coding and testing, one after the other. Quite to my disappointment, I was at pain to express clearly the advantages of [...]

Thoughts and questions on Pragmatic Unit Testing

2 points stroke me when reading this “Pragmatic Unit Testing” book : – in order to easily test some class, they suggest to open the required methods by making them protected. I had first to check that protected included package readability (it does) but still I think it’s going a bit too far : if [...]

Weird Ads…

Sometimes ads get weird.

AMF Serialization (followup Faster Serialization)

While i was looking for the fastest possible way to serialize Java Objects to byte-streams, i was comparing some serialization libs. With the help of Adobe Evangelist Cornel Creanga, i added AMF3 Serialization to the test. Good things first: for my test-case, AMF3 turns out to be slightly faster and a little more compact than [...]

Book review : Pragmatic Unit Testing

During my holidays, I notably read

Defining JavaScript variables…

hi Do you know the difference in JavaScript between these variables declarations : – myVar = “foo” – var myVarVar = “foo” In fact, the first one will have an unlimited scope, and thus accessible from the outer world, whereas the second one will only be accessible at this level and below. As such, this [...]

Breaching Fort Apache.org

hi Quick post about this breaching of apache.org. In fact, it highights a point I was discussing quite recently : OS diversity. Indeed, speaking about Apache security strengths, we can read : For example, core servers on the network employed a variety of hardened operating systems, including CentOS, FreeBSD-7, and Solaris 10, creating a diverse [...]

Coins, coins, coins…

As the List for project coin is finalizing, it looks like, we wont get Multi-catch, which is pretty sad.  Java |  copy |? } catch (Exception1 | Exception2 ex) { LOGGER.log(Level.SEVERE, ex); throw ex; } That being said, i really like the Collection Literals stuff, that´ll bring  Java |  copy |? final List< Integer > piDigits = [3, 1, 4, 1, 5, 9, [...]

The big OSS sellout continues…

via Intalio, The Private Cloud Company » Intalio Acquires Webtide, Developer of the Jetty Application Server.

32 css files!?

oh boy… … which reminded me of a less known limitation in Internet Explorer…. The max number of external CSS files that can be loaded in a single webpage via the tag, or included via the @import url directive is 32. Any css file beyond this limit will not be parsed. full article here. i [...]

jQuery cheat sheet

jQuery Cheat Sheet.

“Faster” Serialization

as i´m gonna be involved in building a System that has some significantly complex aggregated Data Objects to serialize frequently, i came across http://jboss.org/serialization/. this one actually promises some kind of performance gain over plain java serialization … Recently we discovered that most of the problems in JavaSerialization are related to static synchronized caching, what [...]

Video: Douglas Crockford — The JSON Saga

via Video: Douglas Crockford — The JSON Saga. that was fun But this was late in 2002, we’d just started the War On Terror, and we were going after the evil-doers with the President, and the Vice-President, and I felt like I need to do my part. [laughter] So I added one more line to [...]

m2eclipse tips

Thanks to Maven: The Definitive Guide, I was able to answer some questions I had about m2eclipse as well as learn more of it. When you put a plugin in the build part of the pom, how comes some are running on each source modification and others not ? The reason is simple : m2eclipse [...]

Book review : Maven: The Definitive Guide

I’ve recently finished Maven: The Definitive Guide. It was the paper edition, since I muss confess I didn’t manage to go through the pdf edition. Still, I found the book rather interesting and quite well put. It’s not as enlightening and breath cutting as some others, but at least I was able to read it [...]

Nice jQuery plugin

lavalamp Crazy framework !

Best practice for building wicket components

i just sent this bit to the list [while this is] valid with about any wicket component that uses a JS lib, i´m making the jQuery case here: as it is a good practice to add functions (aka plugins) to the jQuery object, including the jQuery script more than once in a page is not [...]

Book Review: ActiveMQ in Action

via CLOSED-LOOP: Book Review: ActiveMQ in Action. However do not expect the following from the book: Learning how to architect and design applications/systems that use ActiveMQ (or generally MOM/JMS) How to evaluate if ActiveMQ is the right technology for a new system For me the book did not contain any real eye-openers nor did I [...]

Thrift, or where generated java source code sucks…

Rod Johnson (yes, the guy who´s company was just sold for 420mn ) once wrote in a book, that about any kind of source-code generation sucks for a bunch of reasons and nowadays could/should be replaced by reflective or framework code. (j2ee one on one, wrox, very old) those of you, who know details of [...]

Wicket resource caching

Whenever you add extensive caching to your wicket resources, this might be awfully useful:  Java |  copy |? Application.getResourceSettings().setAddLastModifiedTimeToResourceReferenceUrl(true); which exactly does what you can get from the name

jQuery equals

playing with jQuery recently, we were in need to compare equality of some jQuery objects. it looks quite weird to find this not to be part of the API. i finally found what is needed:  Javascript |  copy |? $.fn.equals = function(compareTo) { if (!compareTo || !compareTo.length || this.length!=compareTo.length) { return false; } for (var i=0; i<this .length; i++) [...]

Web watch !

In my previous blog I used to sometimes post links I found useful/interesting/which I could want to look again in the future. I hope noone minds this practice since I’m going to strike again… At worst, let me know :$ Anyway, here we are : Google Chrome is the New Firefox, and Firefox the new [...]

Book review : Effective Java, 2nd edition

I bought Effective Java 2nd edition last year. I loved it immediately, and since I’m frequently reading bits of it again. I even think I should read it all over another time. Indeed, Joshua Bloch items are more than just “do this, do that” : he takes care of explaining them in great depth. It [...]

Yui Compressor mojo

as we´re into bundling Wicket/JQuery-frontend components lately, we needed a way of automatically minimizing JavaScript on deployment. luckily, there is an excellent mojo out there : http://alchim.sourceforge.net/yuicompressor-maven-plugin the nice thing is, it does not only minify but also check and obfuscate, which turned out to be very handy! if you´re bundling javascript (or even css, [...]