The Android Tutorial Series Part 4 – RESTful Web Services and Google Maps integration with Android Application

Short Link: http://wp.me/p5Jvc-aB

My previous three blogs have focused on the following areas in the Android platform:

This blog post is going to focus on Andriod application integration with the outside world using RESTful web services. Also it is going to look at how the wonderful Google Maps product can be integrated within Android App. My technology configuration as stated in the first blog post remains unchanged.

Continue reading

Interview Question: During XML modeling, do you model a data member as XML Element or XML Attribute?

Short Link: http://wp.me/p5Jvc-aq

In case your resume showcases experience in using XML, the interviewer would normally probe you regarding what selection criteria do you apply in modeling a data member as a XML element or attribute.

Continue reading

The Android Tutorial Series Part 3 – Layout

Short Link: http://wp.me/p5Jvc-9B

My first two tutorials in this series covered a simple HelloWorld and provided an insight into development of a simple android based mobile application (mobile app). In this blog post I intended to skim below the surface and take a look at the various layout formats supported by the Android 4.0 platform. My development platform as discussed in Part 1 HelloWorld blog post remains unchanged.

Continue reading

The Android Tutorial Series Part 2 – Calculator App

My previous blog post provided an introduction to the Android platform with a characteristic Hello World example. This post intends to continue our exploration further by creating a simple calculator application using the Android platform. A calculator application is already present in the emulator environment but I thought it would be a good starting point to gain an improved understanding into the platform.

Continue reading

The Android Tutorial Series Part 1 – Hello World

The mobile world has gained a lot of mind share with the ongoing battle between Apple’s iOS and Google Android operating system. As the world wide use of smart phones or devices with smart phone like convergence capabilities increases, developer interest and demand for application development on such devices will shoot up. I have decided to take the Android operating system for a test drive. This is going to be my maiden foray in the Android world. So here goes my Hello World example for Android.
Continue reading

RESTEasy Client Framework (RESTful Web Services Client) – A Tutorial

Around two years back I had posted a blog post on RESTful Web Services using JBoss RESTEasy framework. That blog post was focused on the server side of RESTful Web Services. It explained how to expose your business functionality as RESTful Web Services to the consumer community, i.e. act as a Service Provider. This post intends to look at the other side of the RESTful Web Service contract, the client side. How does a service consumer utilize a RESTful Web Service interface? What facilities does the JBoss RESTEasy framework provide to support service consumers? I found the RESTEasy Client Framework documentation a little lacking so decided put a small tutorial together. The examples below are implemented using RESTEasy 2.2.2 GA version.

Continue reading

Investigating Hibernate fetch strategies – A tutorial

It has been nearly 3 or more years since my last post on Object Relational Mapping (ORM) tool Hibernate. There is an inevitable performance overhead associated with ORM tools like Hibernate. The overhead gets further magnified by application of imprudent querying or fetch strategy. Hibernate is a sophisticated ORM tool and a developer needs to understand the programming intricacies/flexibilities provided by Hibernate before applying it in application development. This blog post intends to cover the various data fetching strategies supported by Hibernate.

Continue reading

java.util.concurrent: Executors, Thread Pools(Cache, Fixed, Scheduled), ExecutorCompletionService – A tutorial

I received a request from one of my blog readers Kunal inquiring if I was planning to post something on FutureTask and ExecutorCompletionService. Since he put the seed of a possible blog post in my mind, I decided to go ahead and write a post on the two concurrency classes. Additionally to make the coverage complete the post intends to cover the Executors class as well.

Continue reading

Spring Framework-An Introduction-Part III – Aspect Oriented Programming

My previous two posts on Spring Framework covered dependency injection, bean reuse and object lifecycle, autowiring and internationalization. This post will cover Aspect Oriented Programming(AOP).

Continue reading

Spring Framework An Introduction Part II – Object LifeCycle, Autowiring, Internationalization(i18n)

The part one of my post covered the basics of Spring Framework namely dependency injection, bean reuse. This post intends to take a little more deep dive into understanding the inner workings of Spring framework.

Continue reading