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

The Singapore stock market has alternated between positive and negative finishes through the last five trading days since the end of the two-day winning streak in which it had added more than a dozen points or 0.4 percent. The Straits Times Index now sits just above the 3,060-point plateau and it's likely to see a narrow trading range on Monday.

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 no


Telegram JavaRocks
FROM USA