Sobes.tech

Why might a method with @Transactional not create a transaction?

Senior
190

package ru.tbank; @Service public class OrderService { @Autowired private OrderRepository orderRepository; @Autowired private CacheService cacheService; public Order findOrder(Long orderId) { Order order = cacheService.get(orderId); if (order == null) { order = orderRepository.findById(orderId).orElse(null); if (order != null) { cacheService.put(orderId, order); } } return order; } }

190

Can the argument of a method be considered a temporary variable inside a function?

Junior — Middle
190

10 application handlers take tasks from the database. How to prevent two instances from taking the same task?

190

Were the requirements for a specific feature detailed or were you only given business requirements, and you chose the solution yourself?

Senior
190

What measures have you taken to transition to a new technology stack?

Junior — Middle
190

Are there any restrictions on indexes? What types of indexes exist (hash, B-tree) and when should they be used?

190

Why were 60 consumers used for 30 partitions?

Senior
190

How do you check the quality of the code before review? Do you use analyzers?

Middle+
190

How does a Docker container differ from a virtual machine?

Senior
190

Is mastering new technologies an important aspect of candidate evaluation?

Junior — Middle
190

Do you have requirements for certificate-based authentication in PSB integration interactions?

190

Where can request scope be useful?

Senior
190

Can you explain what nested classes are in programming?

Junior — Middle
190
/746