Learning java, jax-rs, angularjs