Handle Stream Exceptions with an Attempt

Streams has become a very popular way to process a collection of elements. But a problem arises when some operation that you have to perform on the elements in the stream can throw an exception, which will interrupt your stream. In this article we will look at how we can handle it in an easy way by using an Attempt class.

Continue reading Handle Stream Exceptions with an Attempt

Deploying Spring Boot in Pivotal Cloud Foundry

A lot of focus on my previous blogs has been on how to build micro services with Spring Boot. In this blog, I am going to cover how easy it is to deploy your application in Pivotal Cloud Foundry (PCF).

Continue reading Deploying Spring Boot in Pivotal Cloud Foundry

Working with High-Quality Reference Genomes

Learn how to work with high-quality reference genomes in this article by Tiago Antao, a bioinformatician currently working in the field of genomics. Originally a computer scientist, he crossed over to computational biology with an MSc in Bioinformatics from the Faculty of Sciences at the University of Porto, Portugal, and a Ph.D. on the spread of drug-resistant malaria from the Liverpool School of Tropical Medicine in the UK.

Continue reading Working with High-Quality Reference Genomes

Garbage Collection in JDK 12 and onward

Garbage collection is one of the key concepts of Java programming and up to now the JDK ships with four different garbage collectors that all have their advantages and disadvantages. In this article, we will look at a new, the fifth garbage collector which plans to become the one and the only one we need.

Continue reading Garbage Collection in JDK 12 and onward

Lombok Builder with Jackson

Lombok comes with a very convenient way of creating immutable objects with the builder pattern. However, if you need to serialize or deserialize JSON objects then there isn’t any support straight of the box for it. In this post, we will look at how we can use Lombok Builder with Jackson when working with JSON.

Continue reading Lombok Builder with Jackson

Making Decisions with Java If, Else, and Switch

A way to use expressions and the decision-making operators is with Java’s ifelse, and switch keywords. They are just what you need for giving your games clear and unambiguous instructions.

Continue reading Making Decisions with Java If, Else, and Switch
Posted on Categories javaTags conditionals, guest blogLeave a comment on Making Decisions with Java If, Else, and Switch