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();
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.jarThat 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.
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).