RE: A beginner Question about the JAX-RS parameters

2013-03-18 Thread Andrei Shakirin
more sophisticated use cases. Regards, Andrei. > -Original Message- > From: srinivas thallapalli [mailto:sree.tallapa...@gmail.com] > Sent: Montag, 18. März 2013 15:41 > To: users@cxf.apache.org > Subject: RE: A beginner Question about the JAX-RS parameters > > Thanks A

RE: A beginner Question about the JAX-RS parameters

2013-03-18 Thread srinivas thallapalli
Thanks Andrei. But still I need an answer for my question about security. How we can take care of passing sensitive data to restful service, how the security is ensured. Could you please briefly explain what are best practices for ensuring the security. Regards, Srinivas -- View this message

RE: A beginner Question about the JAX-RS parameters

2013-03-15 Thread Andrei Shakirin
Hi, To say shortly, - path parameters are segment part of URL: /customer/546 - query parameters belong to URL query string: /books?topic=software The main criteria how to choose query or path parameters is following: if want to return 404 error in case if parameter doesn't correspond existing