Sneak peak from CERN: taking jQuery DataTables to the next level

Me and my colleagues from CERN are working on a new reporting tool to satisfy various administration needs of our organization. And trust me, as the largest particle physics laboratory in the world with over 15,000 people working here and a yearly budget over 1,000,000,000 CHF our admin departments are quite demanding.

Continue reading Sneak peak from CERN: taking jQuery DataTables to the next level

Ignore default list of beans created/used by @Autowired

Problem

You define a group of beans of certain type in Spring and at the same time you want to define a custom list of these beans. However when using @Autowired to inject this list you end up with the default implementation of the list provided by @Autowired .
Continue reading Ignore default list of beans created/used by @Autowired

Pentaho BA Server: Analysis Report Performance Test – Part 1

Problem

Few days ago we were told by the pilot users of our BA Server that for few minutes their performance when creating reports drastically dropped. Our initial guess was that probably it was somehow related to one of the ETL processes running in the background. We started monitoring the database, but we did not see nothing interesting. Hence we decided to get deeper insight into the performance of the BA server itself. My colleague decided to use JMeter but me, I wanted to see whether Selenium engine can get me somewhere.

Continue reading Pentaho BA Server: Analysis Report Performance Test – Part 1

Spock Testing – Spock tutorial

What is Spock?

Spock is a unit testing framework that in great extent utilizes Groovy’s syntax making your tests comprehensible and easy on the eyes. Although it is a Groovy technology you can use it to test your Java classes as well. What is the most important is that Spock makes writing tests fun. And I really mean it.

Why Spock?

I have to admit that even knowing all the benefits of TDD and tests over all I considered writing them as little pain in the neck. How has that changed when I started using Spock?

Continue reading Spock Testing – Spock tutorial