How to access multiple resources in a single request : Jersey Rest
问题 I am trying to a find a good design for the following scenario. I have a POST rest service which will be given an array of services as data. And which should in turn be calling them one by one to aggregate results on the server and send them back to the client. @Path("/resource1") @Path("/resource2") @Path("/collection") Post data to /collection {["serviceName": "resource1", "data":"test1"], ["serviceName":"resource2","data":"test2"]} The reason i need the resource1 and resource2 are, because