Skip to main content

Posts

Jmxterm project has a new website

I made a number of big changes for project Jmxterm recently, to keep trace of bugs, questions and documents in a better way. Changes include: Start tracking bugs and questions in launchpad.net/jmxterm , move all bugs mentioned in discussion into launchpad.net Setup wiki site for cyclopsgroup.org in wikidot.com Create wiki category for Jmxterm project in wik site Evacuate existing Jmxterm home page and make it a shell to new wiki category Create a few forums for cyclopsgroup.org in wiki site Retire the forum in nabble.com Hope these changes make sense.

SourceForge stopped shell service and broken maven2 site deployment

According to the sourceforge notice, the access methods for project web file management have changed. The new accepted methods are: SFTP, SCP, rsync over SSH. SSH shell service is not supported anymore. When maven 2 SSH based wagon deploy site, it zip the whole site, upload zip file and unzip it with remote SSH call, which wouldn't work after SHELL service is stopped. Which means SSH wagon is broken for all projects hosted in sourceforge. Issue has been raised but not resolved. Until this issue is resolved, all site deployment to sourceforge hosted project remains broken.

Replace jconsole with command line based jmxterm

JMXTERM is a command line based interactive JMX client software. It opens a command line console and user can open connection to an MBean server, then operation against it with interactive commands. The user experience of JMXTERM is like a combination of jconsole and ftp. With JMXTERM, JMX operation doesn't have to be done in graphical environment anymore. JMXTERM project has recently release the second version 0.2, which is much more reliable and better documented than the previous version 0.1. Several serious bugs including white space in MBean name and user/password based authentication were resolved in version 0.2. Besides, version 0.2 adds the feature of listing local running Java process even if they aren't launched with jmxremote argument. Links: JMXTERM project home page Download packages Version 0.2 release note

Dark Knight, the #1 movie in IMDB

This movie tells that, A comic super hero move, a box office blockbuster movie can be appreciated in the same way God Father or The Shawshank Redemption is It doesn't take comedy to be a profitable super hero movie To be a good movie, it doesn't matter how many predecessors there are. Dark Knight is unique and unconventional. The #1 position in IMDB may turns out to be too overwhelming in the future, but it's definitely easily the best movie of year, best superhero movie and a movie should be appreciated by Oscar academy.

Reflection is expensive? Illusion!

Reflection invocation is a little bit more expensive comparing to the direct call, but it wasn't very slow and it's not slow at all now in JDK 6. It is looking up by name that takes long time. Operation 2000/11 (probably jdk 1.3.1) 2003/1 (probably jdk 1.3.1) 2004/10 (jdk1.4.2_03) 2007/2 (jdk1.6.0_b105) 100,000 regular calls 2664ms 281ms 203ms 78ms 100,000 reflection calls without lookup 4216ms 297ms 250ms 78ms 100,000 reflection calls with lookup 45505ms 938ms 562ms 203ms 1,000,000 regular calls 27840ms 2578ms 1828ms 594ms 1,000,000 reflection calls without lookup 43863ms 2782ms 2485ms 641ms 1,000,000 reflection calls with lookup 47097ms 5453ms 9343ms 1984ms 10,000,000 regular calls - 25906ms 17766ms 5063ms 10,000,000 reflection calls without lookup - 27891ms 24813ms 6141ms 10,000,000 reflection calls with lookup - 54843ms 93611ms 20093ms Link: What are the performance costs involved in Java reflection? E.g., looking up a method by name and then invoking it.