I have a simple server-side code that receives a byte array representing an image in JPEG format and returns the dimensions of the image.
public String proce
Try running your java program with the following command line option and see if it speeds things up at all:
-Djava.awt.headless=true