views:

266

answers:

1

Hi ,

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

+4  A: 

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.

Jeremy Wall