Archive for “June, 2011”

Secure JMS, Spring and WebLogic – a One Click Workaround

In our current assignment we are building a messaging based integration solution using Spring Integration and deploying it on WebLogic. In general, this has been quite a good experience as Spring Integration is a pleasant framework to work with from a developer's perspective and the customer is happy that it will be rolled out on WebLogic as this is their strategic platform. When it was time to...

Using the Sparrow Framework with MonoTouch

A blog post about iPhone game programming by a .NET developer might seem odd at first sight. However, when I´m not working with .NET I usually work with the some of my game projects. And one of my favourite platforms for developing games is of course the iPhone. But it´s not the only preferred platform, I also have some experience with Microsoft´s XNA. I just haven´t really tested it on the...

Hosting your own Source & Symbol Server

If you are using NuGet to add 3rd party components in your project, you should also use SymbolSource.org to get debug info and source code for those components. If you are not familiar with SymbolSource.org, it is a service that hosts debug information (.pdb-files) and source code for open source projects. When you debug your project in VisualStudio and step into 3rd party code, Visual Studio...

Notes and Thoughts from a Great Conference

The Nordic Ruby conference is a really great conference. I think the secret is: it’s small (they set a limit of 150 people which was reached), single track, 15 or 30 min sessions and 30 min breaks, great party and you have lots of time to talk to very passionate speakers and attendants. The quality of every single session was extremely high, both interesting subjects as well as good and amusing...

Collective note taking – More value from your test notes?

For quite some time now I have struggled with making note taking a natural part of my personal progress while testing. And well, I can say that it has really made impact on many other aspects of my work in other situations as well. I am actually quite proud to say that it has made great impact on how I perform in general, and how easy it is to make follow ups when done with anything. Now I would...

A nice, basic log4net setup

In my current project I have need for quite a bit of logging. I’ve never used log4net before so I thought it was about time. Log4net has been around for ages, and is very well documented in the log4net documentation, and explained very nicely in e.g. Jim Christopher’s log4net tutorials. What I plan to show you here is my findings in setting up my logging solution. What I wanted was couple of...

Deploying a Clojure web app on Heroku

Heroku is a cloud application platform for Ruby/Rails and Node.js. However, the Cedar stack on Heroku makes it possible to deploy other types of applications. In this blog entry, I will first describe how to write a simple Clojure web app using the Ring library and the build tool Leiningen. Then I will show how to deploy this Clojure web app on Heroku, using nothing but Git. I will make a change...

Tips from Rails Anti-Patterns

Another good Ruby book is out, Rails Anti-Patterns. The book is loaded with good tips on everything from following the Law of Demeter to cleaning up your views with the use of helper methods. Here are some things I picked up from the book. delegate can take a :prefix argument The delegate method from active_support is used for delegating calls to another object without having to write out the...

Is your REST assured?

A couple of months ago I introduced a new open source Java framework for simple automated testing of REST/HTTP services called REST Assured. A lot of things have happended to the framework since then and it's now better than ever. In this blog I'm going to summarize some of the most important new features that have been added since the last blog post. Easy parsing of the response body JSON Let's...

WP7 build error ‘Xap packaging failed’

Today my Windows Phone 7 solution started giving me one single build error: Xap packaging failed. Object reference not set to an instance of an object. Short story A file had been removed from disk but not from the solution. Always set your sample data files to Build action: None. Long story The missing file After a few rounds of clean, rebuild, machine reboot etc., I started...

Subversion + Mercurial = True

In the team I am working in now, we are using Mercurial (ToroiseHg and VisualHg) as version control. This works great and we are quite happy with it. But there's one little cloud on our sunny sky. We are interfacing with other teams and they are using Subversion. This means we have to switch between Mercurial and Subversion every now and then. Wouldn't it be great if you could use Mercurial as a...