Building Secure CI/CD Pipelines with GitHub Actions for Your Java Application

This article was originally post at Snyk.io and is used with permission GitHub Actions has made it easier than ever to build a secure continuous integration and continuous delivery (CI/CD) pipeline for your GitHub projects. By integrating your CI/CD pipeline and GitHub repository, GitHub Actions allows you to automate your build, test, and deployment pipeline. You can create workflows that …

Read More »

Deploy a Multi-Datacenter Apache Cassandra Cluster in Kubernetes (Pt. 1)

The Get Started examples on the K8ssandra site are primarily concerned with spinning up a single Apache Cassandra datacenter in a single Kubernetes cluster. However, there are many situations that can benefit from other deployment options. In this series of articles, we’ll examine different deployment patterns and show how to implement them using K8ssandra. Flexible topologies with Cassandra From its earliest days, …

Read More »

Ignore Infrastructure: Concentrate on Code with Jakarta EE and Payara Cloud

Java EE, now Jakarta EE, makes it possible for developers to focus purely on the development of a Java enterprise application, solving the business logic without needing to think about infrastructure and operations when writing code. Payara Cloud extends this philosophy by also eliminating the need to worry about infrastructure and operations when preparing your application to run in the …

Read More »

External Debugging Tools 1: dtrace and strace

Often when debugging, we need to step outside of the comforting embrace of the IDE to reproduce or track an issue. In this series, I’d like to go over some tools you might find useful for these cases. I’ll try to limit myself to tools that are 100% debugging tools and not those that are useful for development testing. E.g., …

Read More »

Foojay Slack: join.slack.com/t/foojay/signup

Join the Foojay.io community on Slack, here: join.slack.com/t/foojay/signup On Slack, the Foojay.io community discusses articles, insights, tips, tricks, events, and more, all related to users of the OpenJDK, such as Java and Kotlin developers. The post Foojay Slack: join.slack.com/t/foojay/signup appeared first on foojay.

Read More »

What is a Java Uber-JAR and Why Is It Useful?

An uber-JAR, also known as a fat JAR or JAR with dependencies, is a JAR file that contains not only a Java program but embeds its dependencies as well, and might also contain the web application that needs to be executed. In this article, we’ll describe the different variants of the artifact and the advantages and drawbacks it has. What …

Read More »

Getting Started with Deep Learning in Java Using Deep Netts (Part 2)

Deep Netts is a deep learning development toolkit that enables Java developers to easily add modern AI to their apps. It provides a deep learning IDE and a Java-native deep learning library for embedding AI models into Java apps. In part 1, we looked at the Deep Netts Community Edition, which is capable of solving basic machine learning problems, and …

Read More »

A Flavour of TornadoVM on Apple M1 Pro

This article aims to describe the main steps required to install and run TornadoVM on Apple M1 Pro. Steps Install Prerequisites Run TornadoVM Installer Execute Unit Tests Performance Evaluation: Running Matrix-Multiplication on Apple M1 GPU 1. Install Prerequisites To install TornadoVM, it is necessary to have some packages installed. For instance, you will have to install Maven and wget in …

Read More »

Write Your Own Service Discovery Client for Apache APISIX

API Gateways in general, and Apache APISIX in particular, provide a single entry point into one’s information system. This architecture allows for managing load balancing and failover over similar nodes. For example, here’s how you can create a route balanced over two nodes in Apache APISIX: curl http://localhost:9080/apisix/admin/routes/1 -H ‘X-API-KEY: edd1c9f034335f136f87ad84b625c8f1’ -X PUT -i -d ‘{ “uri”: “/*”, “upstream”: { …

Read More »