-
Java Garbage Collection Types and Settings Customization via Jelastic PaaS
Performance and price are two big considerations in application hosting that always matter. And, often, we question ourselves on how to decrease the spends, without affecting the performance of your apps at the same time. In this article, we’d like to address automatic memory management for Java applications hosted with Jelastic using garbage collection.
Let’s clarify what garbage collection is, what it does for Java applications and how it works within Jelastic PaaS.
-
GoF Design Patterns Using Java – Part 01
To understand the philosophical and historical perspective on the Gang of Four’s design patterns, I made a short, 10-minute video, which was also my PluralSight Author Audition.
I came up with my own examples to understand design patterns further. Try downloading the code and see if it helps you in comprehending the patterns in a better way.
Some brief code snippets follow each pattern so you can get quick demonstrations. Feel free to bookmark this article as a quick reference/cheat sheet for when you want to quickly review each of them.
-
Modern JavaFX Game Development with FXGL: Pong (Simple)
In this tutorial we will make a very simple clone of the classic Pong game using the FXGL game engine.
We will be using the latest (currently 11.15) version of FXGL via Maven or Gradle.
The full source code is available at the end of this page.
-
Building Microservices with Spring Boot Fat (Uber) Jar
In most minds, microservices is an approach to make a traditional monolithic system more structured, dividing it into logical components that correspond to different functional areas of application.
Thus, acting as a microservice, each component becomes self-contained, easily scaled, maintained and even upgraded without affecting the overall system.
Also, with a microservice architecture, you can use a software written in different programming languages, including Java.
Such freedom attracts but may frighten at the same time.
-
Jenkins Cluster for Continuous Integration and Delivery (CI/CD) inside Jelastic PaaS
In this article, we’ll describe how to install Jenkins cluster with slave nodes auto-discovering and self-registering inside a master node.
Jelastic PaaS implemented this solution in Jenkins DevOps Pack that can be installed from the Marketplace or through environment setup wizard as a New Environment.
In this tutorial we’ll cover both. Also, you will find out how to build a simple Java project hosted on GitHub using Jelastic Maven plugin.
-
OIDC Client with Mutual TLS Client Authentication
Learn how to set up an OpenID Connect (OIDC) client with Spring Security using mutual TLS as a method for authenticating the client.
Mutual TLS is not supported out-of-the-box by Spring Security, so there are a few steps that need to be completed to use this feature.
In order to make the example code a bit more tangible, we will be using the Curity Identity Server as the Authorization Server, but you can use any Authorization Server.
-
Device Monitoring with JavaFX and FXGL
In a previous post, Getting Started with FXGL Game Development, we already have taken a look at the FXGL game development framework developed by Almas Baimagambetov.
But, this game engine can also be used for other use cases. In this post, we will be building a system monitoring dashboard, which can run on a Raspberry Pi.
The dashboard can be used to keep an eye on any device that can report its state to a queue. And, for me personally, it finally solves the problem of finding the IP addresses of all my Raspberry Pi’s when my router decided to shuffle them.
-
How To Bring Your Java Microservices To The Cloud
All companies are software companies, and businesses will always experience the challenge of keeping integrations between users and applications scalable, productive, fast, and of high quality.
To combat this, cloud, microservices, and other modern solutions come up more and more in architectural decisions.
Here is the question: Is Java prepared to deal with these diverse concepts in a corporate environment?
-
Creating a JavaFX World Clock from Scratch (Part 2)
In this part of the series, you’ll get a chance to use some math and trig skills to determine how to position parts of the hour hand.
After learning how to convert the math to usable functions, you get a chance to see JavaFX’s FXML annotations to reference nodes on the scene graph.
Lastly, you’re able to see animations of the hour hand move about the clock face.
-
Creating a JavaFX World Clock from Scratch (Part 1)
Welcome to Creating a JavaFX World Clock from Scratch (Part 1)! In this series of blog entries I would like to show you how I created a “sci-fi” looking world clock that happens to be a cross-platform Java desktop application.
Here I will explain my thought process, development workflow, and of course JavaFX code details. Since it’s still in the early stages, you can tune in by commenting or joining foojay’s Slack channel at foojay.slack.com [2], where I and others (Java experts & friends of OpenJDK/OpenJFX) can offer advice.