I came across many tutorials using Jersey and Tomcat7 to implement rest web services. But I also see that tomcat provides web services support if you download catalina-ws.jar (look here). So I would like to ask if we can use only this jar in the project and call rest web services ? Has anyone used this before ?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Jersey is JAX-RS (JSR-311) which is absolutely not the same as WebServices 1.2 (JSR-109), which is part of Java EE 5. Either install Jersey separately, or replace Tomcat by TomEE. You only get Apache CXF instead of Jersey.