Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Want Suggestions from you friends. please send reply , is it possible to develop restful services with out annotation

please send reply as early as possible
Posted
Comments
Mehdi Gholam 8-Jan-14 9:33am    
You will have to explain more what you mean...
Member 10351768 16-Jan-14 7:12am    
there is nothing to explain more,i want possible or not,if possible what is that way
TorstenH. 10-Jan-14 2:50am    
Depends on your experience. Might be possible - never tried.
Member 10351768 16-Jan-14 7:13am    
if you got solution then tell me

1 solution

The JAX-RS API requires the use of annotations, so at some point you would need to provide them. I guess you could put it all into a higher level class and then derive everything else from that but I doubt you'd gain anything or improve your code base.

The role of the API is to take out a lot of the mundane code needed to wire everything together. Using JAX-RS gives you a high level of functionality without needing to implement anything other then business function.

If that is not what you want then you are free to develop your own API to handle this, but to my mind you've got a lot of what you need for free.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900