Use Spark View as a Java library

The server side component (SparkGateway.jar) can be used as a library and included in your project. You may want to remove the third party libraries from the jar if you have version conflict. Make sure following packages are not removed: com.toremote.* net.protocol.*...