December 23rd, 2008 by Jacob Mattsson — Agile, Events, Frameworks, Spring
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: bdd, concurrency, conference, java, spring dm
December 17th, 2008 by Fredrik Olsson — Architecture, Design Patterns, Embedded, Frameworks, Programming
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: iphone, java, objective-c, tips
December 17th, 2008 by Henrik Larne — Embedded
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: bluetooth, java, logging, mobile
December 13th, 2008 by Ulrik Sandberg — Testing
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: coverage, java
November 28th, 2008 by Hugo Josefson — Programming, Web
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: executable, java, maven, tricks, war
November 21st, 2008 by Peter Neubauer — Embedded, Linux, Open Source, Programming
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: android, java, mobile, oredev
October 17th, 2008 by Rickard Öberg — Agile, Frameworks, Open Source
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: java, streamflow
July 10th, 2008 by Fredrik Olsson — Embedded, Frameworks, Open Source
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: hessian, iphone, java, objective-c, webservice
May 9th, 2007 by Ulrik Sandberg — Programming, Testing
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: java, mock
December 15th, 2006 by Ulrik Sandberg — Programming
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: aop, aspectj, java, tracing, tricks