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: |

Telegram has exploded as a hub for cybercriminals looking to buy, sell and share stolen data and hacking tools, new research shows, as the messaging app emerges as an alternative to the dark web.An investigation by cyber intelligence group Cyberint, together with the Financial Times, found a ballooning network of hackers sharing data leaks on the popular messaging platform, sometimes in channels with tens of thousands of subscribers, lured by its ease of use and light-touch moderation.

What is Telegram?

Telegram is a cloud-based instant messaging service that has been making rounds as a popular option for those who wish to keep their messages secure. Telegram boasts a collection of different features, but it’s best known for its ability to secure messages and media by encrypting them during transit; this prevents third-parties from snooping on messages easily. Let’s take a look at what Telegram can do and why you might want to use it.

JavaRocks from ye


Telegram JavaRocks
FROM USA