How do I upload files in a REST web service? The Java Swing application will call REST web service to use the upload method.
I used apache.commons.fileupload but it is for web-based applications.
How do I download files? I used FileReader and PrintWriter. it is ok for other files, but I have a problem with pictures and zip files. What lib do I need to use to download binary files, pictures, zip, HTML, etc.?