How to connect a mobile app (Android/iOS) with a Spark backend?

2015-02-18 Thread Ralph Bergmann | the4thFloor.eu
Hi, I have dependency problems to use spark-core inside of a HttpServlet (see other mail from me). Maybe I'm wrong?! What I want to do: I develop a mobile app (Android and iOS) and want to connect them with Spark on backend side. To do this I want to use Tomcat. The app uses https to ask

Re: How to connect a mobile app (Android/iOS) with a Spark backend?

2015-02-18 Thread Arush Kharbanda
I am running Spark Jobs behind tomcat. We didn't face any issues.But for us the user base is very small. The possible blockers could be 1. If there are many users of the system. Then jobs might have to w8, you might want to think about the kind of scheduling you want to do. 2.Again if the no of

Re: How to connect a mobile app (Android/iOS) with a Spark backend?

2015-02-18 Thread Sean Owen
This does not sound like a Spark problem -- doesn't even necessarily sound like a distributed problem. Are you of a scale where building simple logic in a web tier that queries a NoSQL / SQL database doesn't work? If you are at such a scale, then it sounds like you're describing a very high

Re: How to connect a mobile app (Android/iOS) with a Spark backend?

2015-02-18 Thread Sean Owen
Although you can do lots of things, I don't think Spark is something you should think of as a synchronous, real-time query API. So, somehow trying to use it directly from a REST API is probably not the best architecture. That said, it depends a lot on what you are trying to do. What are you

Re: How to connect a mobile app (Android/iOS) with a Spark backend?

2015-02-18 Thread Ralph Bergmann | the4thFloor.eu
Hi, Am 18.02.15 um 15:58 schrieb Sean Owen: That said, it depends a lot on what you are trying to do. What are you trying to do? You just say you're connecting to spark. There are 2 tasks I want to solve with Spark. 1) The user opens the mobile app. The app sends a pink to the backend. When