posted 9 years ago
I am new to apache CXF and REST.
I am using apache CXF and trying to write a generic rest interface which works with any kind of DTO which implents DTOIntf.
Super interface for each DTO is DTOIntf
rest interface which i want to write would be as follows:
This should recieve JSON from client for specific DTOs which should be converted to DTOIntf.
I am not sure how this will be achieved.
Is there any way to pass specific DTO from client which will be mapped to generic DTO interface "dto" of create method?
Can it be done through customizing Jsonprovider implementation?