Home » Java

Java

Hide It All!

In an earlier post, I wrote the following words: in an object-oriented codebase the kit should be as discrete as possible. The more you use the development kit, the less object-oriented your code really is or your abstractions are not the best they can be.. I feel the need to elaborate this point, since it is quite strong and that ...

Read More »

Extending abstract classes with abstract classes in Java

The example issue When I was creating the Java::Geci abstract class AbstractFieldsGenerator and AbstractFilteredFieldsGenerator I faced a not too complex design issue. I would like to emphasize that this issue and the design may seem obvious for some of you, but during my recent conversation with a junior developer (my son, Mihály specifically, who also reviews my articles because his ...

Read More »

JDK 13: VM.events Added to jcmd

CSR (Compatibility and Specification Review) JDK-8224601 [“Provide VM.events diagnostic command”] is implemented in JDK 13 as of JDK 13 Early-Access Build #24 (dated 2019/6/6) and was added via Enhancement JDK-8224600 [“Provide VM.events command”]. The CSR‘s “Summary” describes this enhancement: “Add a VM.events command to jcmd to display event logs.” The CSR’s “Solution” states, “Add a command to jcmd to print ...

Read More »

Callback hell and Reactive patterns

One of the ways that I have better understood the usefulness of aReactive Streams based approach is how it simplifies a Non-blocking IO call. This post will be a quick walkthrough of the kind of code involved in making a synchronous remote call, then show how layering in Non-blocking IO though highly efficient in the use of resources(especially threads) introduces ...

Read More »

Role of Automation Testing in CI CD Pipeline

The industry widely adopted software development practices: Continuous Integration and Continuous Deployment ensure delivering the product well and delivering often. Regular code commits require regular/continuous testing and was it to be neglected can lead to a non-resilient infrastructure. How to deliver a sturdy CI CD pipeline? It is a question for many companies unless they approach DevOps consulting. And even ...

Read More »

Defining a Resource

java-interview-questions-answers

In Fielding’s dissertation a Resource is described as: “Any information that can be named” … “a document or image, a temporal service (e.g. “today’s weather in Los Angeles”), a collection of other resources, a non-virtual object (e.g. a person), and so on. In other words, any concept that might be the target of an author’s hypertext reference must fit within the ...

Read More »

Reflection is the most important Java API

The other day I was wondering – which is the most important Java API. Which of the SE and EE APIs is the one that makes most of the Java ecosystem possible and that could not have just been recreated as a 3rd party library. And as you’ve probably guessed by the title – I think it’s the Reflection API. ...

Read More »

Angular 8 + Spring Boot 2.2: Build a CRUD App Today!

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. If you’ve been a Java developer for more than 15 years, you probably remember when there were a plethora of Java web frameworks. It started with Struts ...

Read More »

Using Java 12 in Eclipse

1. Install JDK 12 Link: https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html 2. Install Eclipse 4.11 Link: https://download.eclipse.org/eclipse/downloads/drops4/R-4.11-201903070500 3. Install Eclipse Java 12 Support Start Eclipse and go to Help > Install New Software. Add Update Site: https://download.eclipse.org/eclipse/updates/4.11-P-builds. Install Eclipse Java 12 support for 2019-03 development stream from the list of available software 4. Add Java 12 JRE to Eclipse Go to Window > Preferences, navigate ...

Read More »