many thanks for your reply,
i was studying Apache CXF and i reached this section
http://cxf.apache.org/docs/jax-rs-filters.html
but i did not find any tutorial to know how can i configure RequestHandler or ResponseHandler
sorry,my question was not clear as i'm really confused regarding the difference between restful web service in Apache CXF and the standard Restful