http://ivillalba.blogspot.com.es synchronous resource sharing sample.