spring - RESTful web service -
I'm implementing a REST service from scratch. I'm using Spring + Ebatus for that now, Spring Provides comfortably using annotations. However, online, I search for many tutorials to integrate jersey with Spring.
My question: jersey jx-rs, when the spring itself is good, why do you want to present additional dependencies by including another structure?
You believe there is a problem presenting "another" dependency, as long as you There are some small embedded systems, not there. Added memory footprint, complexity etc. will usually be irrelevant. Decision to use REST
v for
spring
or jersey
should be one of the personal preference and suitability implementation . Choose the one who satisfies your needs and are most comfortable with you.
In addition to this, the use of REST
will for spring
automatically requires additional dependencies if you have the dependency injection If you are using only Spring
, you will not need spring-web or spring-webmvc, while they require REST
.
Hope this helps
Comments
Post a Comment