Reputation: 125
I am new to rest apis in java.I found ,there are mainly two methods to create Rest Apis in java.One method is using Jersey and other i think is using org.restlet (not sure i mean without jersey).so whats the main difference between these two.
Upvotes: 2
Views: 1436
Reputation: 202256
Restlet provides an API to build and consume RESTful applications. It provides a wide support of HTTP headers and mechanisms described in REST. It also comes with a set of pluggable features like:
Accept*
headerAuthorization
headerJersey is an implementation of the JAXRS specification. You can notice that Restlet also provides an implementation of this specification through its JAXRS extension: https://restlet.com/technical-resources/restlet-framework/guide/2.3/extensions/jaxrs.
Upvotes: 2