generic java server, web, iOS and Android clients