2008-08-31

Enterprise Foo

Really inspiring and quite realistic sample (from the Wikipedia Dependency Injection article).
EnterpriseFactoryObserverFactoryCreator efofc = new EnterpriseFactoryObserverFactoryCreator("bar"); efofc.creatify(); efofc.preparify(); efofc.configurise(); efofc.makeAwardWinning(); efofc.opportunities.leverage();

2008-08-28

The longest route

Not immediately obvious for me: 35 -> 10 -> 1 -> 17 -> 25 -> 14 (total 34) I have other sparse samples, but those seem to be human-intractable (and thus not that interesting). Rendered and laid out by Pajek.

2008-08-22

Standalone JConsole

Well, recently I had to tinker with JMX-enabled application, without installing the full JDK to bring up JConsole. So, I tried to continue stripping the JDK of irrelevant stuff while JConsole remains functional. So, here's what I ended up with:
jdk.root
  bin
    attach.dll // copied from jdk.root/jre/bin/attach.dll
    jconsole.exe
    jli.dll
    msvcr.dll
  lib
    jconsole.jar
    tools.jar
That worked fine for me. I've used JDK 1.6.0_05, the same JRE version was installed on PC's I was testing this on. DISCLAIMER: it's a dirty hack which is unsupported by the vendor and would apparently get broken for some other JDK/JRE version combinations.

2008-08-20

P-Grid and The Good Wine

Sometimes things turn upside down and lonesome middleware debugging session feels like... a good movie or some other kind of enjoyable free time. That's possibly because the time pressure is gone this week, and/or due to the wine I've opened couple of minutes ago. Went back to heal unbalanced splits in P-Grid protocol (one of most advanced distributed hash-table protocols I've seen to date).