Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Parameterized Tests with JUnit

JUnit 4 has introduced a new feature: Parameterized tests. Parameterized tests allow developer to run the same test over and over again using different values. There are five steps, to create parameterized tests.

Read more

Redundant conditional expression with the ternary operator

This operator (?) is also known as the ternary operator because it uses three operands. Instead of an if-then-else statement this operator can make your code more readable, when something is so simple you don’t want to waste many lines for.

Read more

Oracle DB Datatype for boolean - which to choose for Java Persistence?

If you have to deal with the Oracle DB (11g), Boolean values have no specific datatype yet. Some uses number - a SMALLINT, some uses a character - VARCHAR(1). Number or Character - which to choose? This post illustrates both approaches for the Oracle DB for Java with the major Persistence APIs JDBC and JPA.

Read more

Processes within HP NonStop

This post explains the basic concept about a process on the Tandem. It also contains a (told) custom process presentation (Aiellogram) by Dennis Aiello, a tech trainer for Tandem computers from my training on the HP premises. The main conceptional focus is how to keep a process fault tolerant.

Read more

Multiple configuration files for logstash

Structure of a config file: A Logstash config file has a separate section for each type of plugin you want to add to the event processing pipeline.

Read more

List and check alias in elasticsearch

This post gives an example how to check an alias or aliases in elasticsearch with the REST-API.

Read more