The hunt for architectural solutions

At my customer’s site, I have the chance to work in a team of architects. This is rare enough to be mentioned, since most of the time, I’m alone. This is an opportunity to exchange thoughts. Earlier this year, we talked between us about similitudes that sometimes exist between searching for an architectural solution and hunting in 3 phases. At the beginning, it is simple enough: the requirements are clear, and the path to them is straight. You’re tasked with hunting for just

jbehave test

Automate your integration tests

Software testing traditionally has been separated between unit testing - testing classes in isolation - and integration testing - testing across all layers. Whereas unit testing is the domain of developers, integration testing is the domain of analysts. Moreover, most of the time, those tests are not automated and are painfully reexecuted by hand each time they are needed. This means that your build process has a safeguard harness on the unit level but nothing on the feature level (at least nothi

Unselect all toggle buttons of a group

It’s summer and since I’m hearing more and more the sound of waves splashing instead of the sound of keyboards typing, I’m providing you with quick tricks instead of well-though deep articles. This time, it’s about Swing. I’m doing Swing for a pet project…​ a lot. And I’m more of a web guy. So, I’m always butting my head against the wall trying to overcome problem people more experienced in Swing wouldn’t find a problem at all. This is

Safely give away your demo applications

Last month, I had to develop a Proof-of-Concept web application for a potential customer. Everything went fine, but at the end of the meeting, the customer asked 'Surely you will give us the demo so we can play with it further on our own'. I was pretty sure of my craft, so I had no problem about bugs and yet I gently refused anyway. Why so? Because I didn’t want to risk that my customer open the WAR and see how I made things happen.

Swing

Flamingo tutorial

In this article, I will provide you with the documentation to easily use the Flamingo framework and more precisely, its ribbon widget. Never say that Microsoft never innovates: in Office, it introduced an interesting concept, the ribbon band. The ribbon band is a toolbar of sort. But whereas toolbars are fixed, ribbons layout can change according to the width they display. If you have such an application, just play with it for a few seconds and you will see the magic happens

CDI Swing

Lessons learned from CDI in Swing

Sinced I dived into CDI, I explored classical Java EE uses. Then, I used CDI into a pet project of mine to see how it could be used in Swing applications. This article sums up what lessons I learned from itthis far. This article assumes you have some familiarity with CDI; if not, please read my previous articles on CDI (CDI an overview part 1 and part 2) or read the documentation. In my last attempts at Swing (I’m more of a web developer), I figured it could be nice to config