Category Archives: Development

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

Continious testing

Today I was trying to implement some ideas from JetConf 2016 on our project. We have a pretty large project with around 2000 classes and 1500 unit tests. Build process is built on Gradle. My idea was to have continuous … Continue reading

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

Interesting stuff. Week 50-53

Had a chance to do some load testing of our app in Fitbit. Originally considered three options: JMeter and ab. The first one seems to be cool however it does not really support non-blocking IO. The second one does but … Continue reading

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

OAuth in Gatling

Recently got a chance to do some load testing of our endpoints. At first I’ve started with ab. However I came to the problems very soon. We have OAuth and it became a sort of stopper. All of the oauth … Continue reading

Posted in Development, Tips | Tagged , , | 1 Comment