The Architecture Day in Oslo, with Neal Ford, Mark Richards and Venkat Subramaniam as the main speakers, was a full day event focused on topics such as the journey from developer to architect, expectations for and the roles of an architect, software design architecture and principles and much more. One of the talks was the relation between technical depth and breadth of an architect and why it so important to know the difference between them. In this article I will summarize this topic, which is relevant for not only architects but also for developers.
In this post, I’ll show you how to write clean and easy to understand JUnit test for any Spring Controller that has JSON databinding through the @RequestBody annotation with only JUnit and Mockito.
I recently studied the Esri ArcGIS JavaScipt API and after hours of trying and failing, I managed to find out how to use the Printer API to create (and also be able to download) pictures of my existing ArcGIS maps. Here, I will share the code as I’m very sure that there might be someone looking for the same. In this post, I will also show why I had to use ArcGIS and not Google Maps.
In this post, I will share a small utility for creating PDF files from a template file written in XHTML and CSS 2.1. The template file is set up with a stylesheet that handles margins, page breaks and running top content. This is a complete example showing how to use the Flying Saucer 9.0.4 framework (based on IText 2.1.7 which has an open source license).
In this blog, I will give you a quick introduction to the upcoming version of Java, showing you simple examples of how to use the most important feature in JDK8; lambda expressions.
I have implemented an algorithm today for creating a random datamatrix image. While writing the algorithm I learned about how to create a random image using a BufferedImage, how to iterate the bits in a byte array, how to do simple bitwise calculation and image scaling; The result of the algorithm is images similar to these ones:
Here is the code:
In this short tutorial, I’ll explain you how to use the Tiles 2.2.2 templating along with Spring MVC 3.x.
Recently when working on a feature for syntax highligting using SyntaxHighlighter library, I noticed that pages loaded through Ajax was not higlighted. Here’s how I solved it.
Do you wonder why IE doesnt render JQuery UI widgets properly? You might have forgotten this.