B
B
Bartar2016-07-31 22:58:27
Java
Bartar, 2016-07-31 22:58:27

What you need to learn in order to write a server in java for an android application?

The application must connect to the server, send / receive messages, download data. What topics should I study and understand, preferably if there are links to examples / books. Thanks

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
Alexey Cheremisin, 2016-07-31
@leahch

One of the simplest - spring boot - https://habrahabr.ru/post/257223/
It's easier here, but in English - spring.io/guides/gs/rest-service

G
GavriKos, 2016-07-31
@GavriKos

Read for example about the REST API, well, about tomcat will not hurt.

A
Aleksey Pleshkov, 2016-08-01
@AlekseyPleshkov

A good example is https://www.youtube.com/playlist?list=PLIU76b8Cjem...
For starters, that's it, then read about Spring in more detail.

C
ComatoZZZ, 2016-08-02
@ComatoZZZ

Maybe just MongoDB with REST access enabled? In general, now many databases provide REST Api for accessing data, and if you just need to work with data, then the server is not needed.

K
Konstantin Berdnikov, 2016-08-04
@Toisen

there is a relatively good course from one developer from Mail.ru on Stepic.org

A
Alexander Farber, 2016-08-04
@afarber

I am writing a game for a computer (HTML5) and native Android, iOS...
I want to communicate with the server on WebSockets (to work through firewalls/proxys too).
I looked for a server for this - I didn’t like node.js, because it seems to be bad with databases) ...
And I found Jetty. It is being actively worked on, it is well documented, it worked well for me with PostgreSQL (and pgbouncer). It quickly processes not only WebSockets but also normal HTTP (I put HAProxy in front of it).
Moreover, Jetty is not only good on a real Linux server, but also convenient in the game development process (I run it directly in my git workarea on a Windows laptop or Macbook, and work on the game offline).
In short, I recommend taking a look at Jetty - and you will be pleasantly surprised:
www.eclipse.org/jetty/documentation/current

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question