On 08/14/2014 11:37 AM, Sergey Beryozkin wrote:
No problems at all, thanks for the clarifications. It's a bit of a grey
area, and I actually sent a message to the JAX-RS group to clarify. You
may well be right in the end :-). It's just a bit of a sensitive area, a
non-compliance will be addressed immediately if confirmed, but we need a
clear statement in the API docs or a message from a spec lead, etc.
My take on this from the admittedly superficial reading of the spec is
that CXF is right and Resty-GWT is wrong. For the cases of List, Set,
SortedSet (and their descendants?) the list argument must be broken in
multiple params with the same name. All others Map, HashMap,
(even Collections? CXF treats Collection as a List which makes sense of
course) are fair game and the client can put the payload as he wants it.
Of course I may be wrong. Won't be the first time...
Vassilis
--
__________________________________
Vassilis Virvilis Ph.D.
Head of IT
Biovista Inc.
US Offices
2421 Ivy Road
Charlottesville, VA 22903
USA
T: +1.434.971.1141
F: +1.434.971.1144
European Offices
34 Rodopoleos Street
Ellinikon, Athens 16777
GREECE
T: +30.210.9629848
F: +30.210.9647606
www.biovista.com
Biovista is a privately held biotechnology company that finds novel uses
for existing drugs, and profiles their side effects using their
mechanism of action. Biovista develops its own pipeline of drugs in CNS,
oncology, auto-immune and rare diseases. Biovista is collaborating with
biopharmaceutical companies on indication expansion and de-risking of
their portfolios and with the FDA on adverse event prediction.