Monday, March 31, 2025

Configure and use VSCode for Java web development

Embarking on Java web development often starts with choosing the right tools that streamline the coding process while enhancing productivity. Visual Studio Code (VSCode) has emerged as a powerful contender in this arena, offering a lightweight yet robust environment that Java developers can tailor to their needs. This guide aims to demystify the setup process and highlight essential extensions and configurations that make VSCode a potent ally in your Java web development journey.

Download

As an initial step, let's download VSCode from here:

https://code.visualstudio.com/download

Select a version based on your OS.


Collect the plugins

You can find a bunch of official plugins on the VSCode's website:

What do you find there?

  • Fundamental plugins
  • Spring Boot development
  • Gradle
  • Application Servers
  • Quarkus / Microprofile
  • Container management
You can install these extensions depending on your needs.

Tuesday, October 29, 2024

Simple Angular pipe for translation

Angular is a robust, front-end framework widely used for building dynamic web applications. Developed and maintained by Google, Angular provides a comprehensive suite of tools and features, from dependency injection to modular components, making it easier to create well-structured, scalable applications. One powerful feature of Angular is its ability to transform data directly within templates, thanks to pipes. Pipes are lightweight functions that can transform data, like formatting dates, currency, or other text content, in an efficient and reusable way.

Tuesday, September 17, 2024

Release and publish Maven artifacts on Github (2024)

In 2024 the mechanism of publishing Maven artifacts has changed, in this short article we'll discuss how we can release and publish a new Maven package from GitHub.

Thursday, September 12, 2024

Upload files to Firebase Hosting with Java

Sometimes you might need a Java based solution to upload files to Firebase Hosting to publish your recently generated static files. 

For instance, I use Firebase Hosting to store JSON data files generated by AWS Lambda functions (written in Java+Spring Cloud Function), and these files will be loaded into a mobile app.

This is when "firebase-hosting-api-java" open source library comes into the picture.

Wednesday, September 11, 2024

Spring Boot Testing tips: Check integration test existence for REST Controllers

Code quality and unit/integration testing is extremely important in software development, especially when a software gets larger and larger and it can be challenging to maintain which service has tests.

In this short article I'd like to present a way how you can validate that all of your application's endpoint has an integration test, but of course the method can be applied to other layers(e.g.: service) of the system as well.

Tuesday, September 10, 2024

Spring Boot request and response logging with sensitive data masking

 Enterprise Java (or any other) applications ofter requires logging of request and response bodies to investigate any upcoming issue. Logging these payloads are easy-peasy, but what should we do with any sensitive data inside those payloads? In this short article I'd like to share a solution with Spring Boot that is used in most large enterprise companies to log their incoming and outgoing messages in a secure and regulated way.

Wednesday, September 4, 2024

PostgreSQL instance on Windows with Docker Desktop

Running a database instance on your development environment is crucial, when you need a stable RDBMS for software development. Now we'll discuss how to install and configure a PostgreSQL instance with Docker Desktop on Windows.

Configure and use VSCode for Java web development

Embarking on Java web development often starts with choosing the right tools that streamline the coding process while enhancing productivity...