What is wro4j Since you are here, you most likely know, but for others. wro4j (Web Resource Optimizer for Java) allows you (as name suggests) to optimize your web resources. Typically when you build (rich) web application you use several CSS/JS frameworks and develop additional CSS/JS of your own. And all of this needs to be downloaded to...
Nowadays you can hear lot about microservices. Spring Boot is an excellent choice for building single microservice but you need to interconnect them somehow. That's what Spring Cloud tries to solve (among other things) - especially Spring Cloud Netflix. It provides various components e.g. Eureka discovery service together with client side load balancer Ribbon for inter-microservice...
Recently I stumble upon more problem with generics and class literals. I wanted to use Mockito ArgumentCaptor to capture List<Long> argument. As we know there is nothing like List<Long>.class so how to create properly parametrized type? Simple attempt does not work ArgumentCaptor<List<Long>> captor = (ArgumentCaptor<List<Long>>) ArgumentCaptor.forClass(List.class); and ends with compiler error "Cannot cast from ArgumentCaptor<List> to...
I have came across an interesting blog about exception handling in Spring MVC. It nicely describe different options how to handle exceptions in MVC controllers. As usual Spring gives you variety of options, so it is up to you to decide which works better for you. However with power comes the responsibility and you can't...
I came from vacation and I wanted to make panorama photo. Google came as my friend and I found Hugin - Panorama photo stitcher. Everything worked smoothly and I had my first panorama photo. I can only recommend it. Pls, take a look: Chania port
Recent Comments