As almost everybody knows; one of the main benefits with Apache Cassandra is the possibility to create column indexed time series, i.e. use TimeUUIDType as comparator and you get a chronologically arranged list of indexed column names and an excellent performance when performing slice queries.
If millisecond precision is good enough for you to create an unique [...]
Archive for the ‘Java’ Category
Posted in Apache Cassandra, Java, Open Source | No Comments »
Due to the explosion of smart phones on the market, the need for exposing existing enterprise systems through the mobile channel is growing rapidly. One of the first questions that will come up is how we can establish a secure communication channel with the existing enterprise system.
In this article, I will cover both how to [...]
Posted in Android, Java, Mobile, Security | 21 Comments »
Soi-toolkit and the upcoming Mule Studio (currently in beta) are two tools that simplify development of services and integrations based on Mule ESB. This article describes how these two tools complement each other to make the development even more simplified (and fun ☺).
First a short introduction of the two tools and then an illustrated test [...]
Tags: mule, soi-toolkit
Posted in ESB, Java, Open Source, SOA, Tools | 5 Comments »
For sure, Java is a great language. I wrote my first Java app 1996 and have had lots of fun with it ever since. But for the past 4-5 years my interest in dynamic programming languages as Python, Groovy and Clojure has increased more and more. When working with other languages you discover a bunch [...]
Posted in Java, Java 7 | 1 Comment »
As Martin Fowler states in his article Mocks Aren’t Stubs, mocks are often confused with stubs (or vice versa). It is understandable but there are some distinctions. A common interpretation is that stubs are static classes and mocks are dynamically generated classes by using some mocking framework. But the real difference between them is in the [...]
Posted in Java, TDD | No Comments »
In a project I have been working in recently a strange problem appeared.
We had a third-party dependency provided by the application server and as a consequence the same dependency marked as provided in our maven build script. In one of our own classes we called a static method in class supplied by the third-party dependency.
Foo.bar()
The [...]
Posted in Debugging, Java, Open Source | No Comments »



