1. Crafting architecture solution at tech interview

    From time to time at technical interviews, your can face with architecture tasks. The main aim of such tasks to find out your ability to create scalable and solid solutions with attention to bottlenecks. Moreover, such task gives an opportunity to understand of your outlook with modern tools and frameworks.…

    on interview architecture high-load scalability amazon services

  2. Continuous integration for Spring Boot app using Codeship + Openshift

    I have already talked about CI using pair Codeship + Openshift and I like such combination. Recently, I have started a new project based on spring boot and faced an issue, that Openshift does not provide an out-of-box pattern to run Spring Boot application. Spring boot application could be built in…

    on Openshift java Spring boot Codeship continuous-integration CI

  3. Mocking method with wildcard generic return type

    There are several cases where construction when().thenReturn is not suitable during Unit tests. One of then generic return type. I have faced such issue, let's take a look. There is a method in interface declaration: public interface FooInterface { public Iterable<? extends SomeClass> getList(); ... } Implementation looks like this:…

    on mockito java junit doReturn generic wildcard

  4. Fast continuous integration for developer (Grails + Openshift)

    Let's talk a little bit about introducing of continuous integration (CI) to a fresh project. Of course, I will talk about small projects where a developer has to find a solution of infrastructure problems by himself and in best case solution should be free. At big projects, you can find…

    on grails continuous-integration CI Openshift java Tomcat Codeship

  5. Interview task: 2 level cache

    Some months ago I have passed one technical interview and the main aspect of this interview was a practical task: implement 2 level cache. I have heard before about this task but never do it. Task is not so simple as it is considered to be at first glance, so…

    on java interview cache

  6. Scope in switch expression

    Switch expression is not very often used in everyday practice of a Java developer. So, I suppose, knowledge about this construction isn't so deep as for 'if-else' or 'for'. At least, mine... :) I have faced one interesting case and want to share it with you. Let's take a look oat…

    on java case swtich break scope