Articles with Tags “Java”

Read full story «What is the distinction between Java and JavaScript?»

What is the distinction between Java and JavaScript?

When you take a look at the comparison of the most popular programming technologies, you will see that both Java and JavaScript are very popular. However, when it comes to popularity, the comparison of Java vs. JavaScript can have just one winner, and it’s JavaScript. Why? We’ll get to that in a moment. Source: What is the difference between Java and JavaScript? We could shortly say that these areRead More »

Read full story «Spring Boot REST application with Keycloak SSO integration»

Spring Boot REST application with Keycloak SSO integration

Prerequisites Basic knowledge of Spring Boot and Maven Running Keycloak instance with access to the administration console What is SSO? SSO (single sign-on) allows users to authenticate with multiple applications by logging in only once with the same credentials. What is Keycloak? According to “Keycloak is an open source Identity and Access Management solution aimed at modern applications and services. It makes it easy to secure applications and servicesRead More »

Read full story «Using JCR»

Using JCR

One of the open source implementations available is Apache Jackrabbit. This implementation is used by multiple Content Management Systems (CMS) like Magnolia, Jahia or Hippo CMS. Apache Jackrabbit Apache Jackrabbit is used in multiple CMS, so understanding its flow of data will be helpful in understanding its usage in other systems. The following information and more can be found on this page: Dictionary In Apache JackRabbit there are someRead More »

Read full story «Creating a Selenium grid»

Creating a Selenium grid

Its real power shows when it is used in a grid, where multiple browsers on multiple OSs can be run simultaneously — this is a must-have setup for every QA and front-end developer team. Here, I’ll try my best to show how to set up such a grid with a usage example. Structure A grid consists of a hub and one or more nodes. The hub, as the name suggests,Read More »

Read full story «Benefits of immutability in a software development»

Benefits of immutability in a software development

The first advantage of immutability is avoiding side effects. Let’s take a look at an example: public static double average(Collection<Double> numbers) When we look at the signature of the method, it seems that everything is OK. The method takes a collection of doubles and returns an average. However, nothing prevents a developer from implementing the method in this way: public static double average(Collection<Double> numbers) { if (numbers == null || numbers.isEmpty())Read More »