Spring MVC | Share Root WebApplicationContext Beans with Child WebApplicationContext

spring-240In the Web MVC framework, each DispatcherServlet has its own WebApplicationContext, which inherits all the beans already defined in the root WebApplicationContext. So if you have common beans or resources that need to be shared among “child” WebApplicationContexts,  you need to define them within root WebApplicationContext.

Continue reading

Android |Get Current Location & Location Updates | Location Services API Tutorial

android-location-apiLocation Services API enables you to build location-aware Android application without going into the details of the underlying technologies. Location Services maintains user’s current location so your app just needs to get it from location client. The accuracy of the location depends on the active location sensors and location permissions requested in the Manifest file. Also, the API allows you to get the user’s updated location at regular intervals.

Continue reading