Devoxx highlights

Avatar of 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

Avatar of 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?
With Objective-C you can
In short the problem is that the implementation of [...]

Tags: , , ,

Java ME Logging over Bluetooth using MicroLog

Avatar of 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: , , ,

Getting Coverage For Integration Tests

Avatar of 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: ,

Executable .war with winstone-maven-plugin

Avatar of Hugo Josefson

You don’t need to install Tomcat, JBoss or any other web server in order to run a Java web application (.war file)!
If your project is configured with a Maven pom.xml and the module has <packaging>war</packaging>, you can just add this little piece of XML inside the pom’s <plugins> tag:
<plugin>
<groupId>net.sf.alchim</groupId>
[...]

Tags: , , , ,

Android on the FreeRunner

Avatar of Peter Neubauer

Hi there,
Öredev was great success, especially all the people and the organization - a big Thank You to Michael and Emily for making this possible, you rock!
Now, it was really awesome to exchange Android games with Mike Jennings fro the Android team, and get him excited over the recent Android port to the Neo FreeRunner! [...]

Tags: , , ,

Announcing the Streamflow workflow product

Avatar of Rickard Öberg

Swedish readers of IDG.se might have noticed today that there was an article about how the Swedish municipalities are working on a new workflow product, as the current vendors simply doesn’t cut it. Jayway was mentioned as a partner in this development, and since this involves me I thought I would take this opportunity to [...]

Tags: ,

HessianKit Released

Avatar of Fredrik Olsson

HessianKit, an implementation of the Hessian binary web service protocol for Objective-C 2.0 have now been released under Apache License 2. It is available on sourceforge at:
http://sourceforge.net/projects/hessiankit
HessianKit is available for Mac OS X 10.5 and later, and iPhone OS 2.0. The three main goals are:
* To be as compliant and forgiving as possible.
* Provide seamless [...]

Tags: , , , ,

Mocking Classes

Avatar of Ulrik Sandberg

Mocking a class rather than an interface might present some interesting obstacles. Perhaps you have ran into the dreaded:
Unexpected method call toString():
toString(): expected: 0, actual: 1
You think nothing of it and happily add an expectation for toString. Then you get:
Unexpected method call toString():
toString(): expected: 1, actual: 2
The reason is that EasyMock [...]

Tags: ,

Indented Tracing Using AspectJ

Avatar of Ulrik Sandberg

Given inspiration from the book “AspectJ In Action”, I wrote a little aspect that provides indented tracing of method executions. This means that the aspect keeps track of the current indentation level in a call flow

Tags: , , , ,