move java custom code sample to expect location for auto deployment