In my current project we are rewriting a feature-packed Struts application into a single page web app using Backbone and Bootstrap. The need for architectural patterns is becoming more and more evident as the application grows and we realize how many different ways you can use Backbone to do the [...]
Archive for the ‘Uncategorized’ Category
Tags: Backbone, RequireJS, web applications
Posted in Architecture, JavaScript, Tools, Uncategorized, Web | No Comments »
Mule ESB and the C10k problem, streaming updates to 10 000 WebSocket clients using the upcoming nio-http-transport
This blog is based on two questions (problems) and an example of how they can be solved using Mule ESB and the upcoming nio-http-transport.
Background
Question #1: Why does it have to be so hard to stream or push updates from a server to HTML based applications (mobile or not)?
Question #2: Why does my ESB server go [...]
Posted in Uncategorized | 1 Comment »
Have you ever tried to setup a secure communication using HTTPS?
With mutual authentication, a service consumer, an ESB in the middle, a service producer and a number of certificates and truststores this can be quite challenging and time consuming. This is however a very typical integration scenario that we help our customers to implement over [...]
Tags: ESB, https, mule, mutual authentication, soap, soi-toolkit, studio
Posted in Uncategorized | No Comments »
One of the last days in my current project I was about to freeze the codebase and finish things up. Luckily, I had a couple of hours left to play around with something that I have been thinking about throughout the project but never had time to implement. My mission was to deploy the application [...]
Posted in Agile, Build, Build automation, Tools, Uncategorized | No Comments »
Just came home from a very interesting conference a couple of days ago. I still feel a bit jet lagged after the long trip over the atlantic ocean from Fort Lauderdale, Florida, but it was really worth the effort.
Fort Lauderdale was greeting us with a comfortable wintery weather with temperatures at around 25°C so it [...]
Posted in Uncategorized | No Comments »
Speed is the key. I often need a web server in order to run a web application I developed to try things out. Setting up this infrastructure can often be quite tedious but if the only thing you need is a servlet container I often use the approach described in this article. We start out [...]
Posted in Build, Tools, Uncategorized | No Comments »
This post is the first in a series of two blog posts where I will try to give some usefull tips on how to make your spring applications more configurable. Too often I see application configuration files embedded somewhere deep down in the application referenced only by its classpath location.
<context:property-placeholder location=”classpath:config.properties” />
By injecting the configurations [...]
Posted in Uncategorized | 2 Comments »
Having used subversion for a long time I wanted to learn how to use a distributed versioning system. The selling points for these products are very interesting.
For instance the possibility to separate commit from delivery seems like a nice option.
If you work on something that takes a couple of days to do, you want to [...]
Posted in Uncategorized | No Comments »
In a recent project, I was assigned to setup monitoring of a set of web services. The idea was to call the web services every 5th minute and check whether they operated normally or not, i.e a valid SOAP response was returned. The web services used SSL Mutual Authentication to authenticate the calling client. Since I [...]
Posted in Security, Tools, Uncategorized | No Comments »
Backgroud
In my current project we have found that test using a slightly larger unit than single classes makes a lot of sense. Typically there is a service class with some methods that calls a number of entity objects to interact with the database. So our unit under test is often the service class, some entity [...]
Posted in Uncategorized | 4 Comments »



