sample application implementation using JSR 338