I am trying to develop a clients-server distributed system. Clients will be running in iOS while I would like to use java for the backend part.
I would like to write some API, since I am in a mobile environment and I cant predict how many clients are going to ask my service, what kind of BaaS do you advice?
It is not needed to maintain an open connection with TCP, I would like to avoid useless battery wasting. I need to use SSL for some API call and use the HTTP 1.1 layer instead that the TCP one will help me a lot. I would like to use JSON as output.
Are there ready made frameworks (java-iOS) that I can use in order to achieve this goal, or libraries that you can advice? How would you setup everything in order to have an heartbeat mechanism iOS side (so I can keep track of all the clients server side) and answer appropriately. Server side what is the most suitable JBoss or Glassfish? I have heard about the reactor pattern, is there something from where I can start in Java?