Author Archives: Michael Glauche

Java.util.logging vs. slf4j

A bit of History At the time the now discontinued log4j was the most commonly used logging framework for java sun decided to implement JSR 47: java.util.logging. There were a lot of discussion, but it seems not been fruitful. java.util.logging … Continue reading

Posted in java | Tagged , , , | 1 Comment

Drag & Drop with Selenium

Using Selenium for web-gui tests is really nice. You can record your workflow with the excelent selenium plugin for firefox and use them to write your own test. The only problem seems to be Drag&Drop. The senenium runner has some … Continue reading

Posted in java, Testing | Tagged , , | 1 Comment

Logging with SLF4J and Guice

After getting angry at the java.util.logger once again i was thinking how to replace it with the SLF4J logger. Although Guice provides a very nice internal binding to java.util.logger, slf4j does offer a much nicer syntax. The devil is in … Continue reading

Posted in guice, java | Tagged , , , | 2 Comments

got the Imon VFD Display (15c2:0036) finally working

The IR part of the SoundGraph 15c2:0036 VFD/IR device was working for quite some time now after a couple of big updates hit lirc (currently it works for the 0.8.5+ cvs version) One small quirk was still present, the vfd … Continue reading

Posted in linux | Tagged , , , | Leave a comment

Easymock … or taking the pain out of (j)unit tests

Easymock provides easy mocking for junit tests, this blog entry describes how to use them efficiently. Continue reading

Posted in java, Testing | Tagged , , , | Leave a comment

Aop with Guice

Aop has many uses, from doing transaction handling to authorisation. With the powerfull Guice framework it is suprisingly easy. Continue reading

Posted in aop, guice, java | Tagged , , , | Leave a comment

a thin god

Nothing spirtual here, but the cool monitoring framework god together with thin. You’ve probably read a lot of benchmarks about thin, but whats the fastest webserver when you can’t ensure they are up and running ? Right here is where … Continue reading

Posted in ruby on rails, thin | Tagged , , , , , | 3 Comments

How many Thin server instances are best ?

I wondered about how many parallel thin you need to get the optimal throughput. I often saw values from 3 to 10 servers in different configuration examples around the net. Time to get some real numbers. To get a meaningful … Continue reading

Posted in nginx, ruby on rails | Tagged , , , , , | 1 Comment

Thin + Nginx with Rails

Recently i’ve been playing around with xen and different hosting solutions, and i was wondering about lightweight, yet performant replacements for the usual apache + mod_fcgi + dispatcher stack. I did toy around with nginx before, together with mongrel with … Continue reading

Posted in nginx, ruby on rails | Tagged , , , | 6 Comments

using extjs in rails part 2

creating a simple logon window First, we need a simple view for our index defined in part 1 index.rhtml in views/login <script type=”text/javascript” src=”/javascripts/login.js”></script> <p>Here comes the Content which will be used after the user logged on.</p> This is just … Continue reading

Posted in extjs, ruby on rails | Tagged , , , , | 1 Comment