Spring: how many instances of a bean with @Component are created if it is injected in two places? How to create a new instance for each injection?.
Embedded / IoT
How to re-read a message from Kafka?
How do you remove elements from a list in a loop?
How does ObjectMapper create an object from a class reference if the new operator cannot be applied?
How is ArrayList structured?
Is it possible to declare throws Exception in an overridden clone() method, considering it has @Override annotation?
Why is a default method needed in an interface?
Расскажите про последнее место работы и свои обязанности
Did you use profilers during development? Which ones did you use, and what did you do?
What is early and late binding?
What is the difference between soft links and hard links?
What parallelism mechanisms should be used for bulk insert? Where will the ExecutorService get tasks from?
Can a LEFT JOIN return more rows than in the left table (for example, 12 instead of 10)?
Fields address and phone are public. Why are public fields disliked in Java? What really changes when switching to private + getter/setter?
There are two beans. How to select one of them by default?
Do you use AI agents in development? How do you feel about it?
What is the difference between WHERE and HAVING?
Wildcard import (import java.io.*) — what do you think about this?
What is the insertion complexity of ArrayList?
How to speed up inserting 100 billion records into a database? Currently: generate + insert + commit in a loop for each row.