The goal is to build a complete mobile app with REST API and a powerful backend (in java) running in the cloud(amazon).I know the basics of all involved technologies in project like jEE,Gradle,Android,Amazon,Sprint MVC and Tomcat. I have learned all these technologies individually.What I do not know, how all these technologies work together? What should be my first Step towards developing?
so, you want to develop an app supported by a restfull api in backend. Although it can be done in different order depending on one's perspective. But i would recommend to follow these steps:-
Start with writing Restfull api. To write restfull api you must know Jax-rs along with (Jersey or RESTEasy) and JPA (in case data persistence is required).
As you said in your question you want to use AWS, so get an account on AWS and deploy your api on the server.
If you want some additional server side functionality you can do that using servlet. If you gonna use servlet then you will have to use tomcat as a container or you can use any other of your choice.
After coming that far, now you just have to develop your android app. Call the api you wrote from the android application to pass data inbetween server and android application.
To develop an android application backed up by a REST api don't require all the components you mentioned. A JEE supportable server, tools required to write REST api and android development are good enough to provide basic functionality you want.
(Disclaimer: Opinionated based on my experience)To start with choose an effective architecture pattern, Domain Driven Design will do a world of good in the long run during maintenance. Do a lot of ground work on design.
Next up is choice of development framework and other tools involved, from your previous comment you seem to use gradle, not much reservation for me on that part and seems to be good choice.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.