Purpose of this web service is to server html/javascript/css/binary data inside simple XML document (or are there better suggestion for fromat? Could JSON be used for this kind of web service?) and requests requesting this data would be simple XML request containing 10-100 objects. By simple I mean not too complex framework that requires a lot of memory and classes. By secure I mean service that couldn't be easily abused by hackers.
3 Answers
Maybe REST with https. Take a look at Jersey and the Jersey User Guide. REST also offers 'native' support for different response representations. No need to wrap them inside XML.