A
A
Andrey Kovalchuk2016-05-03 17:12:08
Java
Andrey Kovalchuk, 2016-05-03 17:12:08

Rest-ful server with Android client - where to start?

There is a task: to make a client-server application with a server part written in JAVA and a client part running on Android.
REST-ful technology selected. Where to begin? Where to read about ... about what, to read in general? I have absolutely no idea where to start. There is too much information on the net, I just get lost.
What technologies are used to implement REST on different sides of the application? Well, in general, I'm in a panic.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Kosarev, 2016-05-04
@mrkovalchuk

The backend can be implemented in Spring, Jersey (or a combination of Spring + Jersey) or full-fledged Java EE (where Jersey is again the main implementation of REST). IMHO, but Spring in its purest form is simpler and better. Googled about Spring Boot + REST.
On the frontend, again, you can use Spring Android to write the client side.

O
Oleg Gamega, 2016-05-03
@gadfi

I often repeat this advice, but this does not make it any less relevant:
Start with technical specifications and documentation
then, then you need it first of all.
Work through all the screens, see what you need from the server, write to the dock
In the morning with a fresh mind, read it again, remove the extra ones, add the missing ones, repeat the iteration if necessary, and only after that sit down to code
On what to write, in fact, it doesn’t matter, almost everything the frameworks have the rest either out of the box or with batteries
On the gson+ retrofit client

V
VZVZ, 2016-05-03
@VZVZ

Communication will be via HTTP. The application sends HTTP requests to the server, receives responses and processes them.
You can start not with applications, but with a slightly different case - with sites. After all, a website is essentially the same thing, also a server + client (the client is written in HTML + CSS + JS and runs in a browser). There is more information on the sites, it is more structured. And having already realized what a server and back-end are, you can take on Android.

M
maxt888, 2016-07-04
@maxt888

I have written in Spring, Hibernate using this in Tomcat. I gave JSON to the client and that's it. It was parsed and used on the client.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question