Image ransfer using hessian protocol from client's folder to tomcat server
- by ?? ?
My goal is to upload a image(.jpg or .png)from client's folder to tomcat6 server through hessian protocol. And do image processing using opencv on server, then return the image back to client. Question1. Is the following transfering steps correct?
put a test.jpg image on client's folder -- convert the test.jpg in client.java(main.java) class to BufferedImage -- convert the BufferedImage to mat or Iplimage in server for using openCV.I have set a hello world sample from Simple Messaging Example using Hessian
, and searched from Hessian with large binary data
and other websites, but still dont know how to use it!
Question2. Is there a related JAVA sample code?
Thank you very much. Btw, I am using ubuntu12+netbeans7.2