Image ransfer using hessian protocol from client's folder to tomcat server

Posted by ?? ? on Stack Overflow See other posts from Stack Overflow or by ?? ?
Published on 2012-09-25T03:36:43Z Indexed on 2012/09/25 3:37 UTC
Read the original article Hit count: 192

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about java

Related posts about data-transfer