Answer the question
In order to leave comments, you need to log in
What is the best way to write business logic for different platforms?
It is planned to develop a client-server application. The backend will be developed in Java using Spring. Clients will be developed for Android, iOS and Windows Phone platforms. The problem is that if you separate all the business logic into a separate module in Java, then it is ideal only for the server side and Android. If you write in C ++, then JNI on the server (and on Android) can play a cruel joke. So, how is it better to write business logic? A single module in Java or C++, or does each platform have its own native module? If there are any other options - I'll be glad to hear.
Answer the question
In order to leave comments, you need to log in
It depends on what kind of application. If this is not some kind of game, I can advise you
Java + RESTful Web Service + Native Client for each of the platforms.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question