Musing on mis-usings: ‘Powerful use, Damaging misuse’

There’s an old phrase attributed to the former British Prime Minister Benjamin Disraeli which states there are three types of lies: “lies, damn lies and statistics”.  The insinuation here is that statistics are so easy to make up they are unreliable.  However, statistics are extensively used in empiracle science so surely they have some merit? In fact, they have a ...

Read More »

Multitenancy in Google AppEngine (GAE)

Multitenancy is a topic that has been discussed for many years, and there are many excellent references that readily available, so I will just present a brief introduction. Multitenancy is a software architecture where a single instance of the software runs on a server, serving multiple client organizations (tenants). With a multitenant architecture, an application can be designed to virtually ...

Read More »

Spring Pitfalls: Transactional tests considered harmful

spring-interview-questions-answers

One of the Spring killer-features is an in-container integration testing. While EJB lacked this functionality for many years (Java EE 6 finally addresses this, however I haven’t, ekhem, tested it), Spring from the very beginning allowed you to test the full stack, starting from web tier, through services all the way down to the database. Database is the problematic part. ...

Read More »

Best Of The Week – 2011 – W49

Hello guys, Time for the “Best Of The Week” links for the week that just passed. Here are some links that drew Java Code Geeks attention: * Java 7: Project Coin in code examples: This article provides a short description of the new features included in Java 7 (Project Coin) accompanied with code examples on how to use them. Also ...

Read More »

REST Service Discoverability with Spring, part 5

spring-interview-questions-answers

This is the fifth of a series of articles about setting up a secure RESTful Web Service using Spring 3.1 and Spring Security 3.1 with Java based configuration. The previous article introduced the concept of Discoverability for the RESTful service, HATEOAS and followed with some practical scenarios driven by tests. This article will focus on the actual implementation of discoverability ...

Read More »

RESTful Web Service Discoverability, part 4

spring-interview-questions-answers

This is the fourth of a series of articles about setting up a secure RESTful Web Service using Spring 3.1 and Spring Security 3.1 with Java based configuration. The article will focus on Discoverability of the REST API, HATEOAS and practical scenarios driven by tests. Introducing REST Discoverability Discoverability of an API is a topic that doesn’t get enough well ...

Read More »

Ignoring Self-Signed Certificates in Java

A problem that I’ve hit a few times in my career is that we sometimes want to allow self-signed certificates for development or testing purposes. A quick Google search shows the trouble that countless Java developers have run into over the years. Depending on the exact certificate issue, you may get an error like one of the following, though I’m ...

Read More »

Iterationless Development – the latest New New Thing

Thanks to the Lean Startup movement, Iterationless Development and Continuous Deployment have become the New New Thing in software development methods. Apparently this has gone so far that “there are venture firms in Silicon Valley that won’t even fund a company unless they employ Lean startup methodologies”. Although most of us don’t work in a Web 2.0 social media startup, ...

Read More »

Decompiling Mega Vendors behaviour and future strategics (Microsoft, IBM, Oracle and SAP)

IT News have an excellent article about the latest Gartner Symposium, where one of Gartner analyst Dennis Gaughan gave a broad overview of the strategic direction of the world’s largest application vendors IBM, Microsoft, Oracle and SAP. Below are some keynotes and related “quotes” from Mr. Dennis Gaughan. IBM IBM wants to manage you. Quoting Mr. Gaughan “The number one ...

Read More »