Telegram Group & Telegram Channel
Вопрос с собеседования

Чем @Component, @Service и @Repository отличаются друг от друга?

Ответ: Все три аннотации создают Spring-бин, но:
▶️ @Component – универсальная аннотация для любых бинов
▶️ @Service – указывает, что класс содержит бизнес-логику
▶️ @Repository – используется для DAO-слоя, добавляет обработку SQL-исключений

tags: #собеседование

👉 Java Rocks | #собеседование
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/javarocks/198
Create:
Last Update:

Вопрос с собеседования

Чем @Component, @Service и @Repository отличаются друг от друга?

Ответ: Все три аннотации создают Spring-бин, но:
▶️ @Component – универсальная аннотация для любых бинов
▶️ @Service – указывает, что класс содержит бизнес-логику
▶️ @Repository – используется для DAO-слоя, добавляет обработку SQL-исключений

tags: #собеседование

👉 Java Rocks | #собеседование

BY JavaRocks


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/javarocks/198

View MORE
Open in Telegram


JavaRocks Telegram | DID YOU KNOW?

Date: |

For some time, Mr. Durov and a few dozen staffers had no fixed headquarters, but rather traveled the world, setting up shop in one city after another, he told the Journal in 2016. The company now has its operational base in Dubai, though it says it doesn’t keep servers there.Mr. Durov maintains a yearslong friendship from his VK days with actor and tech investor Jared Leto, with whom he shares an ascetic lifestyle that eschews meat and alcohol.

Telegram and Signal Havens for Right-Wing Extremists

Since the violent storming of Capitol Hill and subsequent ban of former U.S. President Donald Trump from Facebook and Twitter, the removal of Parler from Amazon’s servers, and the de-platforming of incendiary right-wing content, messaging services Telegram and Signal have seen a deluge of new users. In January alone, Telegram reported 90 million new accounts. Its founder, Pavel Durov, described this as “the largest digital migration in human history.” Signal reportedly doubled its user base to 40 million people and became the most downloaded app in 70 countries. The two services rely on encryption to protect the privacy of user communication, which has made them popular with protesters seeking to conceal their identities against repressive governments in places like Belarus, Hong Kong, and Iran. But the same encryption technology has also made them a favored communication tool for criminals and terrorist groups, including al Qaeda and the Islamic State.

JavaRocks from cn


Telegram JavaRocks
FROM USA