Posted on:

One thing that I seem to forget from project to project (after all, you only need to take care of this once pr project) is that a deployed Spring project is two parts: model, business and controllers is one part, views are another.

This means that in your web.xml you're likely to have two parts defined, the org.springframework.web.context.ContextLoaderListener servlet which contains model, business and controllers, and the org.springframework.web.servlet.DispatcherServlet that contains your view resolvers and views.

This distinction is important, if nothing else than because it's easy to set the url-pattern for the view servlet too broad, for instance to /*, and this will surely mingle your requests so that you don't really know if it goes to the controller or to the view resolver.

Posted on:

These days I'm heavily looking into the NoSQL space, and I've currently limited my learning to the document space of CouchDB, MongoDB, key/value space of AWS SimpleDB and Cassandra, and the Neo4J graph space. For the projects I'm involved in I'm most excited about Couch & Mongo, even though I'd love to host it in the AWS space and therefore should be looking at SimpleDB.

If you're exploring this space as well, I'd love to hear from you and your thoughts. Many more posts are bound to come :-)

Posted on:

Today was the time for my yearly developer certificate renewal. After invalidating my old certificate and making a new one, removing all old profiles, I got the error above. It took me a little while to figure it out, but while I had generated my Ad Hoc distribution profile, I hadn't actually installed it, so I had my certificate set up for distribution but no mobile provision profile. Just my little d'oh moment, I hope it helps you figure out yours :-)

Posted on:

When the iPad was announced, we got to hear we had to wait until the international launch date. So before it was even morning on the date of the international launch I ordered mine online, black 64Gb with 3G. I expected Apple to prioritize their own sales channel, but it turned out I had to wait 33 days from I ordered it until Apple expected me to have it!

To reduce the wait, I went by many stores, and finally I came by a Virgin Megastore in Nice, and the salesman there said unfortunately, they only had one model, and it was exactly the one I wanted, so I quickly bought it, set it to update and sync and went about my day.

Later that evening I got to play with it, but the home button really needed to be pushed very hard to work, and that really affected the pleasure of using it. After much thought, I decided to return it. The ...

Posted on:

Påskebryg by Ørbæk bryggeri was an instant hit. It has quite a strong taste, with a surprisingly lack of after-taste. It has a very nice foam, has lots of spice and hop, and is moderately sweet.

In color its dark, and you can't see trough the glass, it's too misty / unfiltered for that. It has an average amount of gas, and will go well with most kinds of food. This beer is an excellent replacement for a good glass of wine, and can be had by itself. Only weird thing is that if you served this to me as a christmas beer, in my ignorance I wouldn't know better than to call ...

Image Image

Father, husband, software developer, musician and photographer.


Get to know what I'm up to

© 2020 Niklas Saers Contact Me