Add Java ResourceRead example