Time is running out for me, so I want to know everything at once (please forgive and understand).

It is necessary to develop an application that can:

  1. Accept http get and post requests displaying the contents of the database (remote server) on the site (a regular site with a database)
  2. Service, sending get and post requests to a remote resource in the background, the received response is processed and recorded in the database

I know the basics of java and developed applications for Android, but I am not familiar with java ee. Tell me the textbooks that will allow you to implement the above without casting water.

  • one
    Required Java EE? or any framework will do? it is better to reformulate the question - since this cannot be an objective answer. - Mikhail Vaysman
  • @MikhailVaysman are you ready to recommend to a beginner framework that does not work on servlets, but on a completely abstract stack? - etki
  • @etki I just asked the TC what are its requirements regarding the framework. - Mikhail Vaysman
  • In general, I am from the team of Android-developers, but I can advise you to deal with Hibernate (a library for the database) and Spring (as I understand it, it has almost everything for writing such applications). - Rostislav Dugin

2 answers 2

Try Spring 4 + Hibernate4. That's basically a simple guide. http://www.journaldev.com/3531/spring-mvc-hibernate-mysql-integration-crud-example-tutorial

The only tension will be with the xml configuration. Generally guides the sea on spring mvc + hibernate. Regarding the service that sends get and post, you can implement the usual scheduler @Scheduled in spring. For example, every 5 minutes the http client will be created or just httpconection and further in it you will process the received data.

According to the textbooks, if time is running out I do not think that there is time to digest all this. "Spring 4 for professionals" for example

  • Why bother with XML configuration? - Nofate

jdbc + servlets The first to access the database, the second to display on the page. Spring and Hiberneyt then longer to understand.