1

Topic: To steam of questions of the beginner on java

What it is better to use for implementation of the following logic? 1. Is spring api which synchronous should work in two modes, and asynchronous. The sinronnyj mode it  through api, does something, returns result of Asinhpronnaja operation, it is a background thread, which time during any time scans the table of requests, draws out the data,   and the result adds them reversely in the DB table. 2. What today it is fashionable in java, for operation from a DB, it is is specific with Sql Server?

2

Re: To steam of questions of the beginner on java

Hello, ifle, you wrote: I> That it is better to use for implementation of the following logic? I> 1. Is spring api which synchronous should work in two modes, and asynchronous. I> Sinronnyj a mode it  through api, something does, returns result I> to Asinhpronnaja operation, it is a background thread, which time during any time scans the table of requests, draws out the data,   and the result adds them reversely in the DB table.  also use. @Async https://spring.io/guides/gs/async-method/ @Scheduled https://spring.io/guides/gs/scheduling-tasks/ I> 2. What today it is fashionable in java, for operation from a DB, it is is specific with Sql Server? For the abstract operation in vacuum take Spring Data Jpa https://spring.io/guides/gs/accessing-data-jpa/

3

Re: To steam of questions of the beginner on java

Hello, GarryIV, you wrote: GIV> Hello, ifle, you wrote: I>> That it is better to use for implementation of the following logic? I>> 1. Is spring api which synchronous should work in two modes, and asynchronous. I>> Sinronnyj a mode it  through api, something does, returns result I>> to Asinhpronnaja operation, it is a background thread, which time during any time scans the table of requests, draws out the data,   and the result adds them reversely in the DB table. GIV> Spring also use. GIV>@Async https://spring.io/guides/gs/async-method/ GIV>@Scheduled https://spring.io/guides/gs/scheduling-tasks/ I>> 2. What today it is fashionable in java, for operation from a DB, it is is specific with Sql Server? GIV> For the abstract operation in vacuum take Spring Data Jpa https://spring.io/guides/gs/accessing-data-jpa/ Many thanks for the helpful information