开发者

can rest framework like jersey be used in clojure instead of compojure

开发者 https://www.devze.com 2022-12-26 05:18 出处:网络
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 resourc

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消