code for 《Restlet In Action》and someother sample