Load-time weaving, Spring and Maven.

As some of you might have read in my earlier post, I’m using load-time weaving in the project that I’m working on. Lately I’ve run in to some problems with getting the tests to play nice with Maven.
So what was the problem? Well, I’ve been using @Configurable and @Autowired to inject stuff in my [...]

Tags: , , , , ,

Spring and load-time weaving of Neo4j-based domain objects

What do you do when your Spring configuration isn’t in charge of creating your objects that needs to be injected with stuff? This became a real problem for me when I tried doing some non-anemic domain object implementations persisted as Neo4j Nodes.
I was playing around with creating a Twitter clone, in my opinion the [...]

Tags: , , , , ,

Questioning “testable design”

After a discussion about PowerMock with @olabini on Twitter I felt I had to write a post on testability.
The truth “Autonomous, re-runnable, code-based tests are objectivity good” has created a perceived truth, namely “Testable design is good design”. This assumption is incorrect.
The phrase “testable design” is dependent of two things; the design of the code [...]

Tags: , , ,

On Twitter…

Twitter has actually just recently gotten a lot of traction in Sweden and Scandinavia. Google Trends show this clearly which means that a Swedish blog-post about Twitter is still sort of relevant
What is Twitter? Well, it’s a micro blog. Users post so called tweets, messages with 140 characters or less. You can tweet, [...]

Tags: , ,

OpenCauses.org – Do Good.

I had the opportunity to present the Way Group initiated project OpenCauses.org at TED@PalmSprings this year. It was a fantastic experience and I got a great response on the project. But what is it we are doing with OpenCauses.org?
For good or for bad, the market is unprecedented in its power to generate wealth. What if [...]

Tags: , ,

Three minute talk at TED@PalmSprings

Thanks to the launch of a Way Group-initiated project based on one of my ideas (much more on that later) I am going to talk at TED@PalmSprings. At TED all main talks are 18 minutes, but there are small talks of 3 minutes in-between the 18 minute talks. I’ve gotten a 3 minute talk. But [...]

Tags: , ,

Neo4j matches my mental model of information

I’m a visual person which means that I see pictures in my head when I think about abstract things like structure, code and information. My guess is that most people do, but anyway…
When I first started looking at Neo4j I was blown away by how precise the graph database structure matched my mental model of [...]

Tags: , , , ,

Making APIs usable

All APIs have end-users. How and whether these users use a certain API depends on how useful the API is to them. This in turn is determined by what problem the API solves, how easy it is to learn and understand, and how easy it is to use. This article will give some (perhaps obvious) [...]

Tags: , ,