iam newbie to clojure, just curious as to can i use jersey REST api as REST webframework for clojure? all along i see people talking about compojure? 开发者_开发知识库if you can provide me any resource or reasoning that would be great
Thank you
You can use jersey just the same as you can use any other java library in clojure. As to whether jersey or compojure would be better for you needs it's hard to say. You would have to provide more details about what you want to do and how you want to do it.
I find compojure very good for doing Rest in in an ideomatically clojure way. If you are familiar with jersey though then it may be a better fit and get you up and running faster.
精彩评论