M
M
MantusDEV2016-08-29 18:54:46
Java
MantusDEV, 2016-08-29 18:54:46

What technologies can be used to create a server for an Android application in Java?

Hello.
I do Android development. Some time ago, it was necessary to create a server for an application. The principle of operation was to send a request to the server and receive a response, a set of data that was displayed on the screen. The server, in turn, pulled the data from the storage, processed and assembled them in response. All interaction was built on the basis of standard sockets, through which se-realized Java objects (GSON) were transmitted, which, when de-realized, received methods for processing the received data. The result was a rather complex architecture due to the need to describe all requests with handles and monitor their sending.
I recently started learning Java EE. Stumbled upon RMI-based server architecture. A server solution using this technology would be very simple, however Android does not have support for the java.rmi.* package;
Tell me what technologies should be studied to implement this kind of servers, is Java EE suitable for solving these problems, or is it created only for creating web applications?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kosarev, 2016-08-29
@MantusDEV

Spring WebMVC (available on Spring Boot) or Java EE Rest (Jersey) to help. In the first case, you can do without an application server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question