I'm developing an API using Java.
The requirement is receive request and response in XML format.
I don't have much experiences about this before.
So I want to ask a best practice to build this system.
Would you please help me?
I'm developing an API using Java.
The requirement is receive request and response in XML format.
I don't have much experiences about this before.
So I want to ask a best practice to build this system.
Would you please help me?
You can go with Restful Frameworks:
Following is the comparison of above frameworks:
http://architects.dzone.com/articles/apache-cxf-vs-apache-axis-vs
Out of 4 above the most popular are:
Lets have a look at both on following link
Java REST implementation: Jersey vs CXF
But on the other hand people also recommend to use SPRING MVC if we are already familiar with Spring as it has full support for REST.
Following are the two very helpful articles on SPRING MVC VS JERSEY
http://www.infoq.com/articles/springmvc_jsx-rs
http://spring.io/blog/2009/03/08/rest-in-spring-3-mvc/
Moreover, we can integrate Spring and JERSEY together as well
Some more information:
Jersey:
Pros: Standard API (JAX-RS) Cons: MVC support is less richer than Spring MVC. Spring:
Pros: Many features, many documents, active community. Cons: Many rules to learn.