Getting Started

  • The State of JVM Desktop Frameworks: Jetpack Compose for Desktop

    previous articles of this series were dedicated to frameworks that adopted the same traditional Object-Oriented-Programming approach. Components were modeled as classes.

    This week’s article is dedicated to Jet Compose for Desktop, the new kid on the block that offers a completely different approach.

    Read more
    • Getting Started

    Compact Strings: Reclaim 25% of Java Heap Memory & Lower Your Cloud Bills

    Did you know that you can save up to 25% of your heap memory and your Cloud bills without any effort? Well, it’s true.

    Many exciting features have been added to the latest releases of Java recently and I’m going to cover one that is often overlooked in this article.

    Read more
    • Getting Started

    Demystifying Memory Management in Modern Programming Languages

    In this multi-part series, I aim to demystify the concepts behind memory management and take a deeper look at memory management in some of the modern programming languages.

    I hope the series would give you some insights into what is happening under the hood of these languages in terms of memory management.

    Read more
  • Understanding Apache Maven (Part 2): POM Hierarchy and Effective POM

    First, a maven POM is not a popular pomegranate juice nor is it related to the colorful pom-poms.

    A Maven POM is definitely is wonderful and brings as much joy to a developer as does a pom-pom to a kid.

    Read more

    In this article, we’re going to look at the differences between the various cybersecurity defence techniques.

    My personal opinion on these different approaches is that if you start with DevSecOps or security in IT in general, the SAST approach makes the most sense. This is where the greatest potential threat can be eliminated with minimal effort.

    Here you can identify four main groups, which we will go through briefly one after another to illustrate the advantages and disadvantages.

    Read more
  • Getting Started with Snyk for Secure Java Development

    If you’re a Java developer who wants to develop your applications more securely, you’ve come to the right place. Snyk can help you with that mission.

    This article explains how to begin with Snyk for secure Java development so you can be more secure from the get-go.

    Read more
  • Learn JShell with JavaFX in 60 Seconds

    We started with an introduction of the basics of using jshell. Next, you got a chance to learn how to run a JavaFX application file from a terminal command prompt and from within jshell’s command prompt.

    After that, launching the application we were able to change the color interactively by setting the public static member variable color.

    Lastly, we learned how to stop a JavaFX application properly via /reset command.

    Read more
  • Troubleshooting Java Processes Running on Your Machine

    When your application has some problem, the first thing to check is running processes on the machine.

    For Linux OS we generally use ps -ef. ps is one of the most used Linux troubleshooting commands. The JDK provides similar functionality for Java processes through jps. The jps command-line utility provides a list of all running Java processes on a machine for which the user has access rights. The access rights are determined by access-control mechanisms specific to the operating system.

    Read more
    • Getting Started

    Simplify Protocol Refactoring

    The other day, I went grocery shopping. While waiting in line, I thought about some struggles I had in a test I wrote earlier that day.

    When it was my turn, the cashier scanned my items and said what I owe him. And I just gave him my whole wallet. He stared at me blankly and gave it back. A little confused for a second, I took out my card, paid, and left the store. And at that point, it hit me what was wrong with my test.

    Instead of giving the cashier our whole wallet, let’s just give them what they need. Not more, not less.

    Sometimes, you need to make code more trivial to see the higher-level patterns that solve the issue at hand more elegantly.

    Read more
  • Game Development Basics with FXGL

    Game Development is a large field of Computer Science with a lot of underpinning theory behind the concepts and practices used in the industry.

    In this short article, we will learn some fundamental basics of these concepts, which will be explored within the context of the FXGL game engine.

    However, the concepts themselves are language-agnostic and engine-agnostic.

    Please note that the material presented here is deliberately simplified to provide a gentle introduction. Those seeking in-depth coverage are encouraged to pursue further research.

    Read more
  • Creating a Simple Spring Boot Application in IntelliJ IDEA

    In this tutorial, we’ll use the New Project Wizard in IntelliJ IDEA to create a Spring Boot project with the Spring Web dependency.

    We’ll also create a Spring Controller and served some text to the local Tomcat webserver.

    Finally, we’ll add a test for our HTTP call.

    Read more

Subscribe to foojay updates:
Copied to the clipboard