update the pom.xml ,add demo code for jax-rs