does order matter for jax-rs resources?