Home » Author Archives: Ben Wilcock

Author Archives: Ben Wilcock

Working with Robolectric and Robotium in Android Studio and Gradle

android-logo

I develop the TripComputer App for Android but I find testing apps using the standard Android Instrumentation framework is really slow and painful. Slow testing cycles can kill productivity and are a well documented disincentive to TDD. Therefore, most Android tutorials that talk about testing bestow the virtues of switching to something like the Robolectric framework when unit testing Android apps. Robolectric is great because ...

Read More »

Event Tracking with Analytics API v4 for Android

android-logo

As I’ve learned from developing my own mileage tracking app for cyclists and commuters, getting ratings and feedback from users can be challenging and time consuming. Event tracking can help by enabling you to develop a sense of how popular a particular feature is and how often it’s getting used by users of your app. In Android, Google Play Services’ Analytics API v4 can ...

Read More »

Working with Google Analytics API v4 for Android

android-logo

For v4 of the Google Analytics API for Android, Google has moved the implementation into Google Play Services. As part of the move the EasyTracker class has been removed, but it still possible to get a fairly simple ‘automatic’ Tracker up and running with little effort. In this post I’ll show you how.               Assumptions: ...

Read More »

Implementing Entity Services using NoSQL – Part 1: Outline

apache-couchdb-logo

Over the past few weeks I’ve been doing some R&D into the advantages of using NoSQL databases to implement Entity services (also known as Data Services). Entity service is a classification of service coined in the Service Technology series of books from Thomas Erl. It’s used to describe services that are highly agnostic and reusable because they deal primarily with ...

Read More »

Implementing Entity Services using NoSQL – Part 2: Contract-first

apache-couchdb-logo

It’s time to begin the coding of my SOA entity service with NoSQL project, and as promised I’m starting with the web service’s contract. Take a look at Part 1 of this series. This technique of starting with a web service contract definition is at the heart of the ‘contract-first’ approach to service-oriented architecture implementation and has numerous technical benefits ...

Read More »

Implementing Entity Services using NoSQL – Part 3: CouchDB

apache-couchdb-logo

Following on from Part 2 of this series where I created and deployed the Product Entity Service using the SOA ‘contract-first’ technique, I’m now going to work on the NoSQL database aspects of the service implementation. As I already mentioned in Part 1, I’ve already selected CouchDB as my NoSQL database and the Ektorp library as the database driver. CouchDB ...

Read More »

Implementing Entity Services using NoSQL – Part 4: Java EE

apache-couchdb-logo

Now that I have prepared a skeleton contract-first web-service and created a data access layer using Ektorp and CouchDB, it’s time to wire them together into a fully working entity service. To do this I’m going to use Java EE and Glassfish 3.1. It’s worth noting at this point that it’s not strictly necessary that I use Java EE at ...

Read More »

How to build a DIY Service Repository

software-development-2-logo

Every Jedi faces the moment in their life when their Lightsaber simply fails to perform as expected and he or she has bite the bullet and build a better one. Not being a Jedi I clearly have no use for a Lightsaber, but I did have a recurring irritation in the form of the service registries and repositories. These tools ...

Read More »

Top 5 SOA gotchas and how to avoid them

software-development-2-logo

After 5 years of designing and building award winning service oriented architectures, I thought I’d share my top 5 SOA gotcha’s and some general hints on how you can avoid them in your SOA programme. 1. Failure to recognise that Service-Orientation is about design (and not about technology). Service-orientation is to web services what object orientation is to Java, C# ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close