Skip to content
Adam Gamboa G – Developer

Adam Gamboa G – Developer

Full Stack notes and tips for developers… Java, React, Kubernetes, Scala, and more…

  • Home
    • Java
    • Scala
    • React
    • Cheat Sheet
    • Kubernetes
    • Docker
    • Shell
  • About me
  • English
    • Español
Java logo

Adding vulnerabilities check on maven or gradle

  • Java
  • Maven
December 23, 2021August 17, 2022 agamboa 1 comment

Instructions to add the owasp dependency check plugin in maven or gradle and detect possible vulnerabilities as part of the dependencies of our applications.

Continue reading

Understanding Sealed classes in Java 17

  • Java
December 2, 2021December 2, 2021 agamboa No comments

Sealed classes are an enhancement to the language included with LTS version 17 (included since version 16) of Java. Sealed classes or interfaces allow us to restrict what other classes and interfaces can extend from them.

Continue reading

Lock mechanism using Files on Java

  • Java
November 18, 2021November 18, 2021 agamboa No comments

Using Java NIO we can implement a locking mechanism, to access resources concurrently safely and maintaining the integrity of our information.

Continue reading

Picocli – Easiness for CLI arguments in Java

  • Java
October 27, 2021October 28, 2021 agamboa No comments

Picocli, defines itself as the easiest way to create a rich cli application for JVM and no JVM environments.

Continue reading

Connecting shell to a Node in Kubernetes

  • Kubernetes
October 7, 2021June 24, 2022 agamboa 1 comment

In case of requering to access a kubernetes node via shell with the nsenter script or the kubectl-ssh plugin we can do it. Without requiring SSH Keys, VPN, Bastion or credentials.

Continue reading

Using collect in Scala

  • Scala
September 30, 2021September 30, 2021 agamboa No comments

An advantage of Scala to Java is the number of method to use on collections (List, Seq, Buffer, etc), and implement the functional programming approach simplifying our code. In this article, we will understand the usage of the collect method and its benefits.

Continue reading

Effective data load in JPA with Entity Graph

  • Java
August 21, 2021August 27, 2021 agamboa No comments

PA 2.1 has introduced the Entity Graph feature, and it’s a very useful when we need to load data from a relationship in the query, in a different way as the mapped in the entity.

Continue reading

Creating a Fat Jar using maven and gradle

  • Java
  • Maven
July 26, 2021August 23, 2021 agamboa No comments

It’s very common that we might need to create a Java application and generate the jar executable, but we need to use third-party libraries that […]

Continue reading
Java logo

Using jEnv to switch JDK versions

  • Java
June 17, 2021December 24, 2021 agamboa No comments

jEnv is a command line tool that help you to switch java versions. Let’s see how to install it correctly and use it.

Continue reading
Java logo

Using JPA CriteriaQuery to build Paginated Queries

  • Java
May 24, 2021March 31, 2023 agamboa 3 comments

Simple example of creating Pagination using JPA Criteria queries.

Continue reading

Posts navigation

«Previous Posts 1 2 3 4 5 6 Next Posts»

Languages

Social Links

  • Github
  • LinkedIn


Most Viewed Posts

  1. Switch expression on Java 17 (30,413)
  2. Maven Central Repository is moving to HTTPS and disablig HTTP access (27,303)
  3. Using JPA CriteriaQuery to build Paginated Queries (22,964)
  4. How to set environment variable in MacOS (22,018)
  5. Spring Data JPA and the Specification Pattern (17,047)

Categories

  • Architecture
  • Cheat Sheet
  • Docker
  • Java
  • Kubernetes
  • Maven
  • Personal
  • React
  • Scala
  • Shell

Recent Posts

  • Jakarta Data – An unified API for Persistence
  • Java 21 Features – Overview
  • Add binaries to Kubernetes Pod without modifying the container image
  • How to Timeout a JDBC query
  • The Infamous No Suitable Driver Found For JDBC and how to fix it