Entries from December 2008 ↓

Devoxx highlights

Jacob Mattsson

In order to embrace the true Christmas spirit, I thought I’d share a few goodies from the Devoxx conference that took place in Antwerp, Belgium in mid December. Devoxx is the former JavaPolis that has changed name due to trademarking issues with Sun. Nonetheless, it’s still the worlds largest independent Java conference, where the 3200 [...]

Tags: , , , , ,

UIButton troubles, a better solution

Fredrik Olsson

I described in my previous post how you can change the class of a live object instance. The use-case was a workaround for bug in Cocoa Touch’s UIKit. What if I could fix the bug, instead of applying a work around in my sub-class? Update: Buttons created with UIButtonTypeRoundedRect is a special case returning a [...]

Tags: , , , ,

Java ME Logging over Bluetooth using MicroLog

Henrik Larne

When developing in Java ME and wanting to support several different devices, you wil no doubt run into problems with devices behaving differently. In some cases it is only the appearance that changes and in others the actual functionality varies or breaks. The first step in solving this is to run your Midlet in the [...]

Tags: , ,

Scrum Shock Therapy, Part 2

Björn Granvik

So we have a recipy for the team. But this is just not enough. We need to make sure that management and everyone else is on board. The second part of the Scrum Shock Therapy presents a bootstrapping recipe on how you can do this. The first part of this series can be found here: [...]

Tags: , , ,

What’s new in PowerMock 1.1

Johan Haleby

We’re proud to announce that PowerMock 1.1 was released a couple of days ago and it has many new interesting features. Framework independence First of all the internal structure of the project has undergone major changes. PowerMock core is no longer coupled to EasyMock which means that PowerMock can now be used as a foundation [...]

Tags: , , , , , , , , ,

Getting Coverage For Integration Tests

Ulrik Sandberg

Unit testing in my world is basically defined by being able to run the tests wherever and whenever; on the train, on the plane, at work, or at home. If you also have integration tests, chances are that they require some external data source or something that simply makes it impossible to run them everywhere. [...]

Tags:

UIButton troubles, and Obj-C magic

Fredrik Olsson

When developing SC68 Player for the iPhone I came upon a quite peculiar problem regarding the UIButton. First the preface I wanted to add a star button to the right side of each row, subclassing UIButton that can manage selected states, images and all I needed, and use it as the accessory view of the [...]

Tags: , , , ,

Encrypting Properties With Jasypt

Ulrik Sandberg

Properties are used in many Java applications as a simple way of separating parts that are likely to change, from the parts that are not that likely to change. Consider for example this typical bean definition in a Spring configuration file:   <bean id="traditionalPersonDao" class="org.springframework.ldap.samples.article.dao.TraditionalPersonDaoImpl"> <property name="url" value="ldap://localhost:3901" /> <property name="base" value="dc=jayway,dc=se" /> <property name="userDn" [...]

Tags: , , ,

Questions from the Øredev session Shock Therapy

Björn Granvik

The Øredev conference was a real success. I’m involved in it ,so that probably makes me biased:-). However, I struggled for the first 10 minutes of my presentation to get my slides on the projector. A tip for you Mac users out there: Plug the adapter (dmi to vga) into the VGA cable first! I [...]

Tags: ,

iPhone Tech Talks – Stockholm

Fredrik Olsson

Apple has arranged a world tour of iPhone Tech Talks, and in cold december it was Scandinavia’s turn and a crew of software evangelists from Apple turned up at KTH in Stockholm for a full day of sessions. The sessions are confidential so I will keep this post vague on the technical parts, not revealing [...]

Tags: , , , , , ,