OnlyJava is your source for Blog Aggregation in the Java industry

Zones, way back when

 Mark As Read    

The original big ticket feature in Solaris 10 was Zones, a simple virtualization technology that allowed a set of processes to be put aside in a separate namespace and be under the illusion that this was a separate computer system, all under a single shared kernel.As a result of this sleight of hand, you could connect to a zone using ssh (or, remem...

Bronze Wedding Anniversary (Personalize) Large Clock

 Mark As Read    

Bronze Wedding Anniversary (Personalize) Large Clock by MalaysiaGiftsShop http://java2everyone.blogspot.com

Java2everyone 276 days ago

Silver Wedding Anniversary (Personalize) Large Clock

 Mark As Read    

Silver Wedding Anniversary (Personalize) Large Clock by MalaysiaGiftsShop http://java2everyone.blogspot.com

Java2everyone 276 days ago

COVID 19 Social Distancing (Front And Back) T-Shirt

 Mark As Read    

COVID 19 Social Distancing (Front And Back) T-Shirt by MalaysiaGiftsShop http://java2everyone.blogspot.com

Java2everyone 276 days ago

Farewell to the 2022-2023 Ski Season

 Mark As Read    

You can tell your Spring is a whirlwind when you don't have time to write your end-of-ski-season post until July! My ski season started way back in October, on Halloween at A-Basin, to be precise. It ended with an Okta + Gradle Developer Ski Day on April 13th. I'm proud to say I achieved 39 days of skiing, with 15 being alpine skiing and the rest ...

Raible Designs 287 days ago

The Angular Mini-Book 3.0 is now available!

 Mark As Read    

I'm excited to announce that the Angular Mini-Book 3.0 is now available! You can download it in PDF and EPUB formats from InfoQ. About this book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material,...

Raible Designs 301 days ago

BFO PDF Library 2.28.2 is released

 Mark As Read    

Release 2.28.2 of our PDF Library adds a lot of under-the-hood changes to support the upcoming PDF/UA-2 profile.

OWASP Dependency Check plugin suppressions.xml examples

 Mark As Read    

IntroductionOne of the features of the OWASP dependency check plugin is to be able to suppress reported vulnerabilities, for example because they are false-positives for your configuration, or no new version is available yet, so you want to suppress the alert for a certain period of time.Those suppressions you specify in the suppressions.xml file. ...

Tech Team Lead News 360 days ago

SPARC Tribblix m26 - what's in a number?

 Mark As Read    

I've just released Tribblix m26 for SPARC.The release history on SPARC looks a little odd - m20, m20.6, m22, m25.1, and now m26. Do these release versions mean anything?Up to and including m25.1, the illumos commit that the SPARC version was built from matched the corresponding x86 release. This is one reason there might be a gap in the release tra...

BFO PDF Library 2.28.1 - we broke timestamping

 Mark As Read    

Our last release, only ten days ago, broke applying a timestamp with Digital Signatures. This is a fix.

Datadog: Malformed _X_AMZN_TRACE_ID value Root - also known as X-Amzn-Trace-Id

 Mark As Read    

IntroductionSince 14 March 2023 suddenly my AWS lambdas started to log this error:datadog: Malformed _X_AMZN_TRACE_ID value: Root=1-6411cb3d-e6a0db584029dba86a594b7e;Parent=8c34f5ad8f92d510;Sampl ed=0;Lineage=f627d632:0Note that the lambda processing was finishing normally, this metrics logging to Datadog is happening apparently in the background.Se...

Tech Team Lead News 400 days ago

BFO PDF Library 2.28 - security and signatures

 Mark As Read    

A minor security issue has been discovered and fixed in this release, and signatures have had a lot of improvements.

Digitally signing a PDF with the GlobalSign Qualified Signing Service

 Mark As Read    

GlobalSign have updated their digital signing service and now offer qualified signatures. We show you how to integrate this with our PDF library.

How I build the Tribblix AMIs

 Mark As Read    

I run Tribblix on AWS, and make some AMIs available. They're only available in London (eu-west-2) by default, because that's the only place where I use them, and it costs money to have them available in other regions. If you want to run them elsewhere, you can copy the AMI.It's not actually that difficult to create the AMIs, once you've got the han...

What, no fsck?

 Mark As Read    

There was a huge amount of resistance early on to the fact that zfs didn't have an fsck. Or, rather, a separate fsck.I recall being in Sun presentations introducing zfs and question after question was about how to repair zfs when it got corrupted.People were so used to shoddy file systems that were so badly implemented that a separate utility was n...

The JHipster Mini-Book v7.0 Released!

 Mark As Read    

The JHipster Mini-Book v7.0 is now available as a free download from InfoQ. Get it while it's hot! 🔥 You can read more about this release on the JHipster Mini-Book blog. The source code for the application developed in the book (21-Points Health) is available on GitHub. Thanks to the InfoQ publishing team, Jeet Gajjar for tech editing, ...

Raible Designs 408 days ago

AWS SAM CLI FileNotFoundError: WinError 3: The system cannot find the path specified .class class Kotlin 1.7 Windows 10

 Mark As Read    

IntroductionThe AWS SAM CLI command sam.cmd build MyFunction --template C:\techie\workspace\my-function\local\template.yaml --build-dir C:\techie\workspace\my-function\local\.aws-sam\build --debug fails in an IntelliJ commandline terminal due to this FileNotFoundError: [WinError 3] The system cannot find the path specified error.Setup- Windows 10 P...

Tech Team Lead News 429 days ago

2022 - A Year in Review

 Mark As Read    

When 2022 started, I was excited to start traveling again. We started things off with a trip to Mexico and worked remotely from the Cabo San Lucas marina for a couple of weeks. In March, the kids and I ventured to the Cayman Islands for spring break. We arrived home to a red-hot DU hockey team and followed them all the way to the Frozen Four. I wen...

Raible Designs 434 days ago

Celebrating Love in the Philippines

 Mark As Read    

About a year ago, our friends Aris and Jen mentioned they were going to celebrate their 25th wedding anniversary in the Philippines. Trish and I said "we'll go!" before they even invited us. Not only were Aris and Jen celebrating, but Aris's parents were also celebrating their 50th wedding anniversary. We were excited to join in the festivities...

Raible Designs 457 days ago

Where to find .gitattributes on Windows 10/11 using Git, IntelliJ 2022 and WSL Ubuntu to fix CRLF (\r\n) command not found: convert to LF line endings on checkout

 Mark As Read    

IntroductionProblem: when checking out a project in IntelliJ in Windows, all files are checked out with Window's newline CRLF (\r\n).But if you then open a terminal in IntelliJ which runs WSL (Ubuntu) and you want to run a bash script like this shell script, you'll get this error:#!/bin/shset -e[unrelated stuff deleted]It will fail with: ./deploy.s...

Tech Team Lead News 485 days ago

Docker build with Git command running in CircleCI failing with: Fatal: No names found, cannot describe anything, invalid argument, for "-t, --tag" flag: invalid reference format

 Mark As Read    

IntroductionContext: Docker, CircleCI, Github.The Docker build command docker build -f .circleci/Dockerfile -t $AWS_ACCOUNT_ID.ecr.$AWS_DEFAULT_REGION.amazonaws.com/${CIRCLE_PROJECT _REPONAME}:`git describe --tags` -t $AWS_ACCOUNT_ID.ecr.$AWS_DEFAULT_REGION.amazonaws.com/${CIRCLE_PROJECT _REPONAME}:${CIRCLE_BUILD_NUM} -t $AWS_ACCOUNT_ID.ecr.$AWS_DEFA...

Tech Team Lead News 488 days ago

Questions about JHipster, JHipster Lite, and Spring Boot 3

 Mark As Read    

I'm a big fan of LinkedIn. I'm biased because I worked there from 2007-8, have alumni privileges like a free pro account, and learned how to unsubscribe from all their emails over a decade ago. I communicate with a lot of developers via LinkedIn. I recently received a message from Raymond Meester about the JHipster project. Raymond asked many po...

Raible Designs 492 days ago

BFO PDF Library 2.27.2 - introducing the Arlington Model

 Mark As Read    

A slightly overdue announcement of BFO PDF Library 2.27.2, which introduces the "Arlington Model": a vendor-neutral validation model for PDF.

Flyway FlywayValidateException Validate failed: Migrations have failed validation. Detected failed migration to version 1 solution, please remove any half-completed changes then run repair to fix the schema history

 Mark As Read    

IntroductionSetup:Spring boot 2.7.4Kotlin 1.7.20Flyway dependencies:plugins { id "org.flywaydb.flyway" version "9.6.0"}project(":application") { dependencies { dependencies { implementation "org.flywaydb:flyway-core:9.6.0" implementation "org.flywaydb:flyway-mysql:9.6.0" }}With only this Flyway script V1__initial_script ...

Tech Team Lead News 506 days ago

A decade of Tribblix

 Mark As Read    

I seem to have just missed the anniversary, but it turns out that Tribblix has existed for slightly over a decade.The initial blog post on Building Tribblix was published on October 24th, 2012. But the ISO image (milestone 0) was October 21st, and it looks like the packages were built on October 4th. So there's a bit of uncertainty about the actual...

TREASURE - The Remote Execution and Access Service Users Really Enjoy

 Mark As Read    

Many, many years ago I worked on a prototype of a software ecosystem I called TREASURE - The Remote Execution and Access Service Users Really Enjoy.At the time, I was running the infrastructure and application behind an international genomics service. The idea was that we could centrally manage all the software and data for genomic analysis, provid...

Spring JDBC and MySql using UUIDs in Java and VARCHAR(36) in database incorrect string value solution

 Mark As Read    

Introduction Using H2 as initial embedded database for a Spring Boot application worked fine. H2 is very forgiving in many situations and of course only tries to emulate the real target database, in this case MySql 8.0.So after connecting my Spring Boot application to MySql, this error started to appear when inserting a row in a table with a java.u...

Tech Team Lead News 520 days ago

Tribblix for SPARC m25.1

 Mark As Read    

Following hot on the heels of the Tribblix Milestone 22 ISO for SPARC, it's possible to upgrade that to a newer version. The new version that's available is m25.1.(If the available versions look a bit random, that's because they are. Not every release on x86 was built for SPARC, and not all of the ones that were actually worked properly. So we have...

Tribblix for SPARC m22 ISO now available

 Mark As Read    

I've made available a newer ISO image for Tribblix on SPARC.This is an m22 ISO. So it's actually relatively old compared to the mainstream x86 release.I actually had a number of random SPARC ISO images, but for a while I've had no way of testing any of them. (And many of the problems with the SPARC ISOs in general is because I had no real way of te...

Happy Birthday, Abbie!

 Mark As Read    

Our awesome daughter, Abbie, turns 20 today! She's a sophomore at the University of Colorado in Boulder and lives in her sorority house this year. There are around 100 girls living in the house, and she recently ran for president. She didn't win but became the VP of Operations as a consolation prize. The photo below shows Jack, Abbie, and Abbie's b...

Raible Designs 531 days ago

Are We There Yet? When Do We Move to GraalVM?

 Mark As Read    

This is the perfect time to raise this point just as Spring Native is coming to the forefront. Is it time to move to GraalVM? Spoiler: it depends. Yes, if youre building serverless, probably no if youre building pretty much anything else with a few exceptions for some microservices. Before I begin, I want to qualify that Im talking about native i...

How To Validate JSON Request Body in Spring Boot

 Mark As Read    

We sometimes encounter server errors caused by a user providing input that's longer than the database column size or even a non-existent ENUM value. Do not trust user input is a popular cliche that, if implemented, will save a lot of time and resources down the line. That is why, in this article, we will be looking at the request-validator library,...

Business Process Modeling: The Practice of Using Camunda BPM in Java Development

 Mark As Read    

Today, I'd like to share with you the application of Camunda BPM in Java development. In this article, Ill talk about the key components of the Camunda Business Process Management system. Also, Ill show the system's deployment, modeling, and deployment of a simple process. Let's first understand the terminology and find out what BPM, BPMS, and BPMN...

Data Type Conversions in Java

 Mark As Read    

Unlike PHP or JavaScript, Java is a strongly typed programming language. It essentially means that each variable must be declared with a pre-defined data type that can not be changed afterwards. There are two data types in Java: Primitive data types - int, double, float, byte, long, boolean, etc. Reference data types - Integer, Double, Float, ...

Gradle: Push to Maven Repository

 Mark As Read    

If you are a developer sharing your artefacts is a common task, that needs to be in place from the start. In most teams and companies a Maven repository is already set up, this repository would be used mostly through CI/CD tasks enabling developers to distribute the generated artefacts.

Troubleshooting App Unresponsiveness Due to Oracle DB

 Mark As Read    

Recently we encountered a production in an application. This application was connecting to multiple systems of records (SOR). Oracle RAC cluster is one of the primary systems of record. This Oracle RAC cluster was slowing down due to resource constraints. This slowdown in the Oracle RAC cluster degraded the entire applications response time. In thi...

Java Records Etched in Finality

 Mark As Read    

This article uses a story format to show the concept of records in Java. It shows the different concepts and parts that make up the records, including a restricted identifier, java.lang.Record, Components, Canonical, Compact, Normal constructors, and more. The Minimalist A Resolution Working from home has taught some of us to think of being ...

Event Stream Programming Unplugged Part 1

 Mark As Read    

Welcome to event streaming unplugged; this is the first in a series of articles covering the topic of real-time event stream processing. This is a practical programming series with resources at unplugged part 1. What you will learn in these articles: The basics of unbounded event processing. Functional reactive programming introducing con...

Mock gRPC Services for Unit Testing

 Mark As Read    

In our day-to-day work, we develop applications that include interactions with software components through I/O. They can be a database, a broker, or some form of blob storage. Take, for example, the cloud components you interact with: Azure Storage Queue, SQS, Pub/Sub. The communication with those components usually happens with an SDK. From the st...

JavaOne 2022: Java Continues to Evolve

 Mark As Read    

I met with Georges Saab, Senior Vice President, Java Platform Group, Oracle Chair, OpenJDK Governing Board following his keynote at JavaOne. This was the first JavaOne conference since 2017 and was held in conjunction with Oracle Cloud World. Java has been around for 27 years. It continues to be an important language for enterprises and developers....

Great Time at JavaZone 2022

 Mark As Read    

I had a pretty awful travel experience trying to reach Oslo, but its all worth it for what is possibly my favorite conference: JavaZone. I absolutely love this conference. It has everything: Sense of humor, craziness, heavy metal, continuous integration of food and amazing talks with great people. This years conference has a fantasy theme which fit...

Exceptions in Lambdas

 Mark As Read    

Java introduced the concept of checked exceptions. The idea of forcing developers to manage exceptions was revolutionary compared to the earlier approaches. Nowadays, Java remains the only widespread language to offer checked exceptions. For example, every exception in Kotlin is unchecked.

Trick the JVM for Maximum Performance With Megamorphic Call Sites

 Mark As Read    

The JVM does great stuff to let our Java applications run the fastest way possible. Most of the time, you don't have to care about the internals, but if you really need to get the best performance, you need to take into account how JVM works. It's not the goal of this article to give a detailed introduction to this topic but merely to show how our ...

How To Create Asynchronous and Retryable Methods With Failover Support

 Mark As Read    

While developing an application, we need to make some processing more robust and less fault-tolerant, especially when requesting remote services that may remain down for a long duration. In this article, we will introduce a new framework that aims to provide a declarative non-blocking retry support for methods in Spring-based applications using ann...

Querydsl vs. JPA Criteria, Part 2: Metamodel

 Mark As Read    

This is the second article in my series dedicated to the Querydsl framework. I planned to shed light on the custom queries, as promised in the first article, but I decided to explain the metamodel usage first in order to simplify the explanation later on. So far, this series contains these articles:

Java Is Very Fast if You Dont Create Many Objects

 Mark As Read    

This article looks at a benchmark passing events over TCP/IP at 4 billion events per minute using the net.openhft.chronicle.wire.channel package in Chronicle Wire (open source) and why we aim to avoid object allocations. One of the key optimizations is creating almost no garbage. Allocation is supposed to be a very cheap operation, and garbage col...

Migrating Java 17 Spring Boot 2.7.3 application to Kotlin 1.7.20

 Mark As Read    

IntroductionThis blogpost describes the challenges encountered when migrating a Java 17 Spring Boot 2.7.3 application to Kotlin 1.7.20. Other libraries/tools used in the project:- Swagger (OpenAPI 3.0.3)- Spring boot 2.7.3- Liquibase- H2 in mem + file based- JUnit5 with Mockito and Mockito-Kotlin- MySql 8.0- Actuator- Maven 3Tip: after migration of...

Tech Team Lead News 554 days ago

Infrastructure as Code (IaC) for Java-Based Apps on Azure

 Mark As Read    

The Evolution of Java Over the past several years, the Java ecosystem landscape has evolved from monolith Java EE applications running on application servers and the Spring Framework to modern smaller-footprint Spring Boot, MicroProfile, and Jakarta EE microservices. Today, more Java developers are looking at how they can bring their existing Java ...

High Availability with MySQL Fabric: Part II

 Mark As Read    

Originally written by Fernando Ipar and Martin Arrieta This is the third post in our MySQL Fabric series. If you missed the previous two, we started with an overall introduction, and then a discussion of MySQL Fabrics high-availability (HA) features. MySQL Fabric was RC when we started this series, but it went GA recently. You can read the press re...

Heres how Bell was Hacked: SQL Injection Blow-by-Blow

 Mark As Read    

OWASPs number one risk in the Top 10 has featured prominently in a high-profile attack this time resulting in the leak of over 40,000 records from Bell in Canada. It was pretty self-evident from the original info leaked by the attackers that SQL injection had played a prominent role in the breach, but now we have some pretty conclusive evidence of ...

Java
Welcome!
OnlyJava aggregates blogs for the Java industry.
Custom Feeds
Add any RSS feed to the information you read daily.
Blocked Feeds
Block feeds to remove blogs you’re not interested in.
Account Settings
Customize the site by adding or removing feeds.

About Us

OnlyJava is your source for all your Java news.

Have a Suggestion for Us?
Know of a Java blog that we're missing? Let us know!

Share OnlyJava.com