Smart APIs
Some characteristics of smart APIs:
Read More Smart APIsSome characteristics of smart APIs:
Read More Smart APIs– four different scenarios – each scenarios have steps which correspond to different software release / deployment Reference: https://developers.redhat.com/books/migrating-microservice-databases-relational-monolith-distributed-data/
Read More Database migrations with zero downtimeConvenient factory methods for creating collections of objects is one of the nice feature that Java 9 brings. Here is how you would create a set: Running this code a couple of times will show how every single run will create a different output. The Java 9 sets created by the newly added factory methods …
Read More How are Java 9 sets created by the factory method Set.of randomizedGlacier is the low-cost cloud storage solution offered by AWS. Files uploaded to AWS Glacier are called archives and archives are organized in vaults. If you want to upload a file to AWS Glacier, first you need to create a vault and then you can upload files in that vault. Vaults have names which are pretty …
Read More Downloading an AWS Glacier archive, step by stepThis is the second part of a series of articles about pattern matching in Scala. In the first part we’ve covered literal pattern matching, matching against different data types and matching on case classes. We’ve decompiled (in Java) the byte code created by Scala just to have a better understanding of the things that happen …
Read More Scala Pattern Matching, from a Java developer perspective. Part 2.Pattern matching is one of the most used Scala feature. Try to open a random Scala file and there are great chances to find a couple of match blocks. From a Java developer perspective, pattern matching may look like a switch statement, but it is much, much more powerful than that. Syntactically, a Scala match …
Read More Scala Pattern Matching, from a Java developer perspective. Part 1.I am pretty sure that the first computer I have ever touched was a Ice-Felix HC 91, a ZX Spectrum clone made in Romania. It was 1993 and my school was equipped with some computers, most of them being HC 91. The first couple of classes were about learning the keyboard which seemed rather complicated, …
Read More The first piece of code I’ve ever writtenCan you imagine nowadays a non trivial software system with no automate testing, with no unit tests, integration tests or GUI tests? Have you ever worked on such a system? For sure, I have. Hundreds of thousands of lines of code with ZERO test coverage, this was the system I worked on years ago. Adding …
Read More Three lessons I’ve learned about code testingStrategy pattern is one of the well known behavioral patterns, yet people (at Java interviews in my city) find it difficult to name some example from Java SE although most of them know how to define the pattern and most are able to give some random examples. Strategy pattern is used all over the place in Java and I will …
Read More Strategy Pattern, 5 examples from Java core