Hi Nipun Have you checked out the job servwr
https://github.com/spark-jobserver/spark-jobserver Regards Sam On Fri, 12 May 2017 at 21:00, Nipun Arora <nipunarora2...@gmail.com> wrote: > Hi, > > We have written a java spark application (primarily uses spark sql). We > want to expand this to provide our application "as a service". For this, we > are trying to write a REST API. While a simple REST API can be easily made, > and I can get Spark to run through the launcher. I wonder, how the spark > context can be used by service requests, to process data. > > Are there any simple JAVA examples to illustrate this use-case? I am sure > people have faced this before. > > > Thanks > Nipun >