web services - RESTEasy or Jersey? -
i have requirement restful webservices. team decide whether go jersey or restlet or resteasy or else. after omitting other frameworks, not able choose between resteasy , jersey.
since both of them seem same, should consider?
the client api should simple , rich. using jboss 5.1 in production.
please let me know pros , cons of jersey , resteasy. except jboss, i'm not able find valid point on jersey.
one nice value-add feature of jersey jersey test framework lets run , test jersey rest services inside junit, without need first deploy them stand-alone server , before commit code repo.
these tests easy write, can run them before check in jersey web service code make sure service working, , become part of automated test suite helps enforce contract services have clients.
see this article more information if you're using jersety 1.x or this one 2.x.
another nice feature support rest mvc pattern, allow return view jersey services rather data (the model). compatibility jersey test framework still maturing in regard, workable.
see article more information on that:
http://usna86-techbits.blogspot.com/2013/12/jersey-jerseytest-migration-from-1x-to.html
Comments
Post a Comment