Tag Archives: Java

JEEConf 2017

Ізноў травень і зноўку захацелася ў Кіеў на канферэнцыю JEEConf. Лятаю я ў Кіеў за свае грошы. Было б бязглуздным вытрачаць свае грошы на тое, што не прыносіць задавальнення. Праўда? Квіткі на самалет і на канферэнцыю былі набытыя яшчэ ў … Continue reading

Posted in Conference, Development, Education, Uncategorized | Tagged , , , | Leave a comment

Force Return in Java

Lets say you’re in the debugging session and you would like to return some specific result from the method in your IDE. Usually I was using Variable window in order to achieve this. However there’s a way simpler approach available … Continue reading

Posted in Development, Tips, Uncategorized | Tagged , , | Leave a comment

Spring @Order in collections

It took me a while to understand why is the order not correct in the following code: class A { @Autowired Collection<B> beans; } interface B {} @Component @Order(1) class C implements B {} @Component @Order(2) class D implements B … Continue reading

Posted in Development, Uncategorized | Tagged , | Leave a comment

Default enum field value in protobuf

Enums in protobuf seem pretty obvious. However some of the behaviors are not that simple. Lets say we have proto: enum Type { ADMIN = 0; REGULAR = 1; } message User { optional Type type = 1; } And … Continue reading

Posted in Development, Uncategorized | Tagged , | Leave a comment

Interesting Java-related links. Week 44-49

Jigsaw and Java 9 – good introduction into Jigsaw Java multi-threading: volatile variables, happens-before relationship, and memory consistency – perfectly simple and good explanation on how volatile work. Usually candidates do not have full understanding on why volatile keyword is … Continue reading

Posted in Development, Education, Personal, Tips | Tagged , , , , | Leave a comment

Interesting Java-related links. Week 42-44

How do PreparedStatements work in MySQL – nice introduction into things I’ve never thought of. WrapAround pattern – good description of the useful pattern. It’s fun to see something similar in the codebase of your project and then to find … Continue reading

Posted in Development, Tips | Tagged , , | Leave a comment

Joker 2015. Взгляд разработчика

Итак, Joker 2015, как это было? Готовиться к этой конференции в Петербурге мы начали сильно заранее. Мы – это я и двое коллег с моего бывшего места работы. Билеты на самолет за три месяца до вылета оказались дешевле билетов на … Continue reading

Posted in Conference, Development, Education | Tagged , , , | 2 Comments