ACRUMEN: What is “software quality” anyway?!
Java Advent Calendar
by Dave Aronson
1M ago
Introduction First, let’s level-set some expectations.  This definition isn’t meant for the extreme levels of quality usually associated with the software used in avionics, implanted medical devices, nuclear power plants, heavy machinery, weapons systems, and so on.  It’s meant for the other five-nines of us, writing consumer-grade systems like web or mobile apps, where, if something goes wrong, or it’s unclear and the user makes a mistake, there may be frustration on their part and embarrassment on ours, but nobody’s going to die.  Those other kinds of industries already have ..read more
Visit website
Using Postgres as a Message Queue
Java Advent Calendar
by Rafael Winterhalter
1M ago
Databases are no message queues is a well-established claim that has been discussed in many blog postings and conference presentations. But with advancements in relational databases, does this claim still stand up to scrutiny? Looking at modern versions of Postgres, the answer is often no. Therefore, this article looks into Postgres’ lightweight notification mechanism and discusses how it can be leveraged to implement a simple, but effective push-based message queue. It also looks into using this queue for communicating among replicas on a Kubernetes deployment, and into implementing a generic ..read more
Visit website
WebAssembly for the Java Geek
Java Advent Calendar
by Edoardo Vacchi
1M ago
When many Java developers hear the word WebAssembly, the first thing they think is “browser technology”. The second thing: “it’s the JVM all over again”. After all, for a Java developer, in-browser apps are prehistory. In the last few weeks, there have been quite a few announcements around WebAssembly, such as the Docker+Wasm Technical Preview. As a Java geek myself, I think we should not dismiss this technology as just a fad. Indeed, WebAssembly is “a bytecode for the Web” (I mean, that’s the name after all), but the similarities between Java and Wasm (lower-cased: it’s a contraction, not an ..read more
Visit website
JVM Hello World
Java Advent Calendar
by James Hamilton
1M ago
Writing a “Hello World” program is often a rite of passage for a software engineer when learning a new language. If you’re a Java developer,  you might even remember the first time you typed public static void main(String[] args) in your editor of choice. But did you ever wonder what’s inside that “.class” file that the compiler spits out? Let’s look at how we can write a JVM “Hello World” by creating a class file programmatically. We’ll work through creating a class file for the following simple Java Hello World application. public class HelloWorld { public static void main(String ..read more
Visit website
Securing Java for the Community
Java Advent Calendar
by Shelley Lambert
1M ago
Introduction Eclipse Adoptium is securing Java for the community.  This is a journey and it is important to establish that the title says “securing” not “secured”.  We are in unprecedented times where there is pressure on all software developers to secure the software supply chain due in part to an increasing wave of creative software attacks and also with new mandates to protect against the growing threat of attacks. To restate what everyone already knows, Java is everywhere.  Java is the “write once, run everywhere” language.  It continues to share its position in the lis ..read more
Visit website
Asynchronous Functional Web Server in Kotlin
Java Advent Calendar
by Uberto Barbini
1M ago
Mandatory meme Using Http4k and Loom If you read my blog or listened to a talk of mine, you may know that my favorite library to serve HTTP requests in Kotlin is Http4k. It’s easy to understand and lets me map each request as a function that transforms a Request into a Response. Powerful and straightforward: I love it. Its most complained about drawback is that it’s not supporting asynchronous handling of requests. In Kotlin, there is an excellent way to handle asynchronous calls, which is using coroutines. Http4k doesn’t support it. It’s so often required that the authors are tired of hearing ..read more
Visit website
Groovy and Data Science
Java Advent Calendar
by Paul King
1M ago
Introduction In the world of data science, Python is the most popular programming language. There are plenty of other contenders in the non-JVM world including C++, R, MATLAB, Julia, and JavaScript. Python is often preferred for its friendly syntax, many built-in capabilities, and widely available libraries. JVM languages have also been widely used for data science. Languages like Java and Scala are often considered for data science projects since running on the JVM can bring many benefits. Groovy sits alongside those languages as a great alternative to consider for your next data science proj ..read more
Visit website
The Power of Two Rings – Another View onto Developer Productivity
Java Advent Calendar
by Markus Eisele
1M ago
Developer productivity seems to be front and center again these days. While projects like Backstage draw a lot of interest and we also see a lot of traction happening around productivity tools I personally believe that it is time to revisit the bigger picture and take a look at what developers are going through in this new distributed world and how things could be easier. What we know best – The Inner Loop When we talk about developer productivity it is important to take a look at the whole picture. As developers we usually only seem to care about the so called “inner loop” development. This ..read more
Visit website
Components of Cloud Native Java
Java Advent Calendar
by Alexander Gruev
1M ago
WHAT IS CLOUD NATIVE JAVA  Cloud native is a software approach to building, deploying and managing modern applications in cloud computing environments.  It allows companies to build highly scalable and resilient applications that can easily be enhanced to meet customer needs without breaking existing functionality. The cloud native approach involves immutable infrastructures which enables the servers that are hosting the applications to remain unchanged after deployment, microservices that allow the product to be broken apart into smaller applications that serve only one purpose, con ..read more
Visit website
Elasticsearch 8x latest and greatest
Java Advent Calendar
by Martin Toshev
1M ago
Elasticsearch 8.0 became generaly available at the beginning of the year. The cornerstone of the 8x releases have been a number of performance, stability and security improvements. Apart from that new capabilities especially in the area of machine learning and NLP have also been introduced. In this article we will categorize some of the highlights of the Elasticsearch 8x release. Security In 7x and earlier versions Elasticsearch didn’t enable security features by default during installation. This however changed in 8x: activation of Elasticsearch is enabled through Kibana by means of an enrol ..read more
Visit website

Follow Java Advent Calendar on Feedspot

Continue with Google
OR