Coffee Talk: Java, News, Stories and Opinions
Recent Posts
-
How to write your first Java program
- Scrumtuous Inc. 19 Jul 2025 -
How to format a Java int or long with printf example
- TechTarget 18 Jul 2025 -
How to use Java's var keyword
- TechTarget 18 Jul 2025
Want to learn to code and write your first Java program? Here's a quick and fun Java programming tutorial that will have your running your first Java program in less than 10 minutes.
Here's a quick tutorial on how to use printf to format Java int, long, short and byte values. It's pretty easy to do. And the output you can generate can be very visually appealing.
While the use of var in Java brings inferred typing to the platform, it does not negate Java's dedication to strong typing. Here's how the Java var keyword works, along with simple examples of how ...
-
Java double brace initialization explained by example
- TechTarget 18 Jul 2025 -
Java Scanner char input example without nextChar
- TechTarget 17 Jul 2025 -
How to format a Java table with printf example
- TechTarget 17 Jul 2025 -
Fix JAVA_HOME errors | Invalid directory | Not set or defined | Points to JRE
- TechTarget 16 Jul 2025 -
How to install Apache's Web Server on Windows quickly
- TechTarget 15 Jul 2025 -
How to check what technology a website is built with
- Scrumtuous Inc. 15 Jul 2025 -
Hibernate and JPA 3 CRUD example
- TechTarget 15 Jul 2025
Java's double brace initialization feature saves time and shaves off a few keystrokes when you initialize a Set or seed a List for testing. Here's a quick example of how to use Java's double brace ...
How to add Java Scanner char support The Java Scanner class provides methods that take String input and convert that String into any Java primitive type you might need, except for one: the char. ...
Why not make your console output look pretty? Create, format and print data tables with Java printf statements, along with a clever combination of dashes, pipelines and printf placeholders.
If you've run into common JAVA_HOME errors such as JAVA_HOME not found or JAVA_HOME set to an invalid directory, we've got the fix for you with these tips.
Let me step you though the installation of Apache's Web Server on Windows 10. You'll learn how to install Apache 2.4 on Windows, and avoid common httpd config errors.
Want to lookup the technologies your favorite website was built with? Here are five different ways to check which technologies a website uses.
Struggling to get your first JPA 3 application off the ground? Here's a quick Hibernate and JPA 3 CRUD example to help you get going with the latest version of the Java Persistence API.
-
BitBucket SSH key generation tutorial
- TechTarget 14 Jul 2025 -
How to enable Java 21 preview features
- TechTarget 13 Jul 2025 -
Git securely with a GitHub SSH URL example
- TechTarget 13 Jul 2025 -
Agile and DevOps aren't two magical unicorns of software development
- TechTarget 13 Jul 2025 -
User input with Java's Console class
- TechTarget 12 Jul 2025 -
AWS Machine Learning Study Guide
12 Jul 2025 -
How to pass the AWS Solutions Architect Associate exam with 100%
12 Jul 2025 -
The difference between print vs println in Java
- TechTarget 11 Jul 2025 -
How long is a Sprint in Agile?
- Scrumtuous Inc. 10 Jul 2025 -
Java Scanner next() vs nextLine() methods: What's the difference?
- TechTarget 10 Jul 2025 -
How to perform a shallow git clone
- TechTarget 04 Jul 2025 -
Create your first Java AWS Lambda function in minutes
- TechTarget 03 Jul 2025 -
Five Star Certified Machine Learning Associate Book ★ ★ ★ ★ ★
- TechTarget 01 Jul 2025 -
Java length vs length(): What's the difference?
- TechTarget 01 Jul 2025 -
How to ignore previously committed file
- TechTarget 01 Jul 2025 -
Zero to Hero Git and GitLab Tutorial for Beginners
- TechTarget 01 Jul 2025 -
AWS Auto-Scaling Tutorial
- TechTarget 01 Jul 2025 -
Amazon EKS Tutorial: How to create a Kubernetes Cluster in AWS
- TechTarget 01 Jul 2025 -
How to pass the AWS Machine Learning Associate certification with a 100% score
30 Jun 2025 -
Five Star AWS AI Practitioner Book ★ ★ ★ ★ ★
30 Jun 2025 -
Fix Putty's 'Key Exchange Algorithm Agreement' error
- TechTarget 29 Jun 2025 -
How to use Java's javap tool by example
- TechTarget 29 Jun 2025 -
Simple Ajax file upload with pure JavaScript example
- TechTarget 27 Jun 2025 -
Hibernate vs JPA: What's the difference between them?
- TechTarget 25 Jun 2025 -
Make this UiPath Hello World example the first project in your RPA journey
- TechTarget 25 Jun 2025 -
Fix Git's "fatal: no upstream branch" error quickly example
- TechTarget 25 Jun 2025 -
Simple Struts 2 file upload example
- TechTarget 25 Jun 2025 -
AWS Certified DevOps Professional exam topics, tips & practice exams
- TechTarget 24 Jun 2025 -
What is a Git fork? Meaning, definition and a Git Fork example
- TechTarget 20 Jun 2025 -
How to format a Java double with printf example
- TechTarget 13 Jun 2025 -
Why does Waterfall sometimes wins the Agile versus Waterfall?
- Scrumtuous Inc. 12 Jun 2025 -
AWS AI Practitioner Exam Topics, Tips & Practice Exams
- TechTarget 12 Jun 2025 -
How to setup the Nginx Proxy Manager Docker example
- TechTarget 12 Jun 2025 -
Example Java String palindrome checker program using recursion
- TechTarget 11 Jun 2025 -
How to git push an existing project to Bitbucket
- TechTarget 10 Jun 2025 -
Java array size, length and loop examples
- TechTarget 10 Jun 2025 -
How do I install Java?
- TechTarget 10 Jun 2025 -
Java Exception handling best practices
- TechTarget 09 Jun 2025 -
How do I find the Java array length?
- TechTarget 09 Jun 2025 -
How do I find the Java String length?
- TechTarget 09 Jun 2025 -
How to run a Jar file
- TechTarget 09 Jun 2025 -
How chmod numbers work explained by example
- TechTarget 08 Jun 2025 -
Fix the 'expected a step' Jenkins error
- TechTarget 08 Jun 2025 -
'Java Not Recognized' Error Fix
- TechTarget 08 Jun 2025 -
List and show Git config settings
- TechTarget 07 Jun 2025 -
The best Jar file opener app
- TechTarget 07 Jun 2025 -
How to open a JAR file
- TechTarget 07 Jun 2025 -
How Java instance main methods and unnamed classes work
- TechTarget 06 Jun 2025 -
How to setup a Docker Nginx reverse proxy server example
- TechTarget 06 Jun 2025 -
How do I 'docker copy' a file from container to host?
- TechTarget 05 Jun 2025 -
How to setup an Nginx load balancer example
- TechTarget 05 Jun 2025 -
How to install Docker and docker compose on Ubuntu
- TechTarget 04 Jun 2025 -
A quick look at inferred types and the Java var keyword
- TechTarget 04 Jun 2025 -
How to squash git commits by example
- TechTarget 03 Jun 2025 -
Fix for the GitLab "Unable to locate package gitlab-ee" on Ubuntu 20
- TechTarget 02 Jun 2025 -
How to make multiple values per key in a Java map possible example
- TechTarget 01 Jun 2025 -
git log oneline examples
- TechTarget 01 Jun 2025 -
How do I install Java on Windows?
- TechTarget 01 Jun 2025 -
How to use native SQL in Hibernate and JPA
- TechTarget 01 Jun 2025 -
How to create a database schema in MySQL
- TechTarget 31 May 2025 -
How to Git Uncommit Your Last Git Commit
- TechTarget 31 May 2025 -
How can business leaders and IT improve communication?
- Scrumtuous Inc. 31 May 2025 -
How to write an Agile user story
- TechTarget 31 May 2025 -
Create a Bitbucket App Password example
- TechTarget 29 May 2025 -
How to setup an Nginx reverse proxy server example
- TechTarget 28 May 2025 -
How to setup PHP on Nginx with fastCGI (PHP-FPM) example
- TechTarget 27 May 2025 -
How to pass the AWS DevOps Professional Certification exam with a 100% score
24 May 2025 -
How to customize Git Bash Shell prompt settings
- TechTarget 24 May 2025 -
Scrum is not a framework
- Scrumtuous Inc. 23 May 2025 -
The impact of Java SE 9 on operations and development teams
- TechTarget 22 May 2025 -
How to force JDK 1.8 or Java 21 Maven POM compliance
- TechTarget 22 May 2025 -
How to remove Git branches from your repository
- TechTarget 22 May 2025 -
Obsolete vs. deprecated in software development
- TechTarget 21 May 2025 -
How to use the Google Chrome color picker extension
- TechTarget 20 May 2025 -
Docker run vs docker-compose: What's the difference?
- TechTarget 20 May 2025 -
Git commit config and credential confusion causes consternation for customers
- TechTarget 19 May 2025 -
Dockerfile vs docker-compose: What's the difference?
- TechTarget 18 May 2025 -
How to setup an Apache reverse proxy server example
- TechTarget 17 May 2025 -
How to use docker-compose with Apache httpd example
- TechTarget 17 May 2025 -
Deploy your website with a Docker Apache httpd container volume
- TechTarget 17 May 2025 -
How to dockerize Apache httpd websites example
- TechTarget 17 May 2025 -
Noon is not 12am. Midnight is not 12pm. Code appropriately.
- TechTarget 14 May 2025 -
How to create and run a shell script in Linux and Ubuntu
- TechTarget 14 May 2025 -
What does Android look like from a Mountain View? Insights on Google I/O
- TechTarget 10 May 2025 -
How to use Swagger with Spring Boot
- TechTarget 07 May 2025 -
2025 DevOps Roadmap
- TechTarget 05 May 2025 -
2026 full-stack developer roadmap
- TechTarget 05 May 2025 -
Deprecated vs depreciated: What's the difference?
- TechTarget 04 May 2025 -
How the Spring @Profile annotation works
- TechTarget 03 May 2025 -
The right MySQL persistence.xml example file for JPA 3 and Hibernate 6
- TechTarget 01 May 2025
This simple and straight-forward example shows you how to quickly configure BitBucket SSH keys, so you can connect Git to BitBucket with a secure shell (SSH).
Java 21 includes numerous highly anticipated preview features including String templates, scoped variables and unnamed classes. Here's how to enable Java 21 preview features on your JDK.
Where do you find the GitHub SSH URL? How do you use it to clone or pull from your remote GitHub repository? This quick Git tutorial shows you everything you need to know about the GitHub SSH URL.
There’s a listicle over at the TechRepublic entitled Top 10 challenges to DevOps implementation (linked below). So what are the challenges? They list off the standard things such as culture and ...
The Java Console class has greatly simplified user input in Java. The readLine method to get user input from the console, and the printf method for outpu, are way easier than using Java Scanner or ...
The AWS Certified Machine Learning Specialty exam rewards candidates who can design, build, train, tune, deploy, and operate ML solutions on AWS with confidence. The AWS Certified Machine Learning ...
Want to pass the AWS Solutions Architect associate exam? Here are some tips on how to study, prepare and get a 100% score.
What's the difference between print and println methods in Java? Our examples show that it comes down to the fact that println adds a newline character to output, while Java's print method does not.
The length of an Agile sprint is a topic development teams must figure out on their own, but from the Scrum perspective, Agile sprints should never go longer than a month.
Learn the distinction between next() and nextLine() methods, and how to use them in your code for different reasons.
This shallow git clone example shows you how to use the --depth switch to limit the git commit history pulled to your local machine.
If you haven't created a Java-based AWS Lambda function before, you'll be amazed at how easy it is. This quick AWS, Lambda and Java tutorial will quickly get you started in the world of serverless ...
The AWS Certified Machine Learning Associate Book of Exam Questions is a clear, practical companion for anyone targeting the new AWS Certified Machine Learning Engineer – Associate (MLA-C01) exam. ...
Have you ever been confused between length and length() in Java? Here we show you the difference between Java length properties and methods, and when to use them in your code.
Ignoring a previously committed file If you want to ignore a file that you've committed in the past, you'll need to delete the file from your repository and then add a .gitignore rule for it. Using ...
Your Git and GitLab tutorial Git and GitLab aren't hard to learn. All you have to do is cover a few of the basic concepts, and once you get the foundations down, everything else falls into place. ...
Quick AWS Auto-Scaling Tutorial AWS Auto Scaling is a service that automatically adjusts the number of compute resources in your application to maintain performance and control costs. It monitors ...
An Amazon EKS for Beginners Amazon Elastic Kubernetes Service (EKS) is a managed Kubernetes service from AWS that allows organizations to run containerized applications on AWS without the ...
Want to pass the AWS Machine Learning exam? Here's how to do it!
The AWS Certified AI Practitioner Book of Exam Questions & Answers by Cameron McKenzie is a clear and complete resource for passing the AWS Certified AI Practitioner exam (AIF-C01). It fits ...
Ever encounter the 'Couldn't Agree a Key Exchange Algorithm' error when you fail to connect with Putty to an AWS EC2 instance or other server-side resource? This is the first fix you should try.
Need to disassemble a Java class file? Want to look at the bytecode instructions generated from compiling source? These javap tool examples will show you how to use the javap command properly.
Do you need to perform an Ajax file upload with pure JavaScript? This example lays out the steps to accomplish an Ajax file upload without the need for a JavaScript library like jQuery or Dojo.
Let us settle the Hibernate vs JPA debate for you. Here we explain the difference between JPA and Hibernate so that you'll never have to choose between the two database APIs.
The first step in every RPA journey must be the creation of a Hello World robot. In this UiPath Hello World example, we step you through the creation of your first automation app.
Here's a quick fix for Git's "fatal: The current branch has no upstream branch" error, along with a brief explanation of why this happens when you push a new Git branch to GitHub, GitLab or BitBucket.
In this Struts 2 file upload example we show you to take a local resource and upload it to a remote Java application server. All a developer needs is a file, a browser and an Internet connection ...
The AWS Certified DevOps Engineer Professional exam validates your ability to provision, operate, and manage distributed systems on AWS with strong focus on automation, observability, reliability, ...
Need to fork GitHub at the command line? This quick Git tutorial will show you how to install the GitHub CLI tools and fork a repository in the shell.
Formatting output in Java doesn't have to be hard. Here's how to use Java printf with double values to control decimal precision, thousands groupings and character width when you format ...
Agile gets all the press, but Waterfall has proven to be a fairly trustworthy approach to software development for a very long time. It’s definitely not going anywhere. In fact, it’s still the ...
Want to pass the AWS AI Practitioner exam? First, know the exam topics being covered. Here's a set of tips, practice exams and most importantly, a look at the exam objectives.
Learn how to setup and install the Nginx Proxy Manager from Docker Hub. This simple tool greatly simplifies the configuration of Nginx reverse proxy servers, asset caching, host redirecting and SSL ...
There are many ways to write a Java String palindrome program. In this Java palindrome example we demonstrate recursion and how the use of loops, arrays, Scanner and the reverse method can improve ...
Follow these simple steps to push an existing project to a Bitbucket repo, and successfully add all of the code on your local machine into a remote Bitbucket repository.
How do you find the size of a Java array? How do you size Java arrays when you create them? And is the Java array size fixed? Here we answer all of your questions about the size of a Java array.
To install Java the right way, there are a few things to know. Just sort out the perquisites and you'll be able to install Java and the JDK in no time flat.
Don't let the complexities of Java Exception handling get you down. Follow these top 10 Java Exception handling examples and you'll be an expert in handling errors in your Java code.
How do you find the size of an array in Java? Just use the array length property. But there are some 'gotchas' to be aware of. Read this Java array length tutorial and stay clear of runtime errors ...
The need to find the length of a Java String is a common programming requirement. Learn how to get the size of a Java String and avoid lengthy errors developers often encounter.
How do you run a JAR file on Windows, Mac or Linux? Double click the JAR? Run the JAR at the command line? Several approaches will work if you have Java or the JDK installed.
Don't let yourself be intimidated by chmod numbers and permissions. Here's a quick and easy to understand explanation of how chmod permission numbers work in Linux.
Have you encountered the 'expected a step' error in Jenkins? Are you using a declarative pipeline? Here's the most likely way to fix the 'expected a step' error in Jenkins.
Here are three easy ways to fix the 'Java not recognized as an external or external command' error on both Windows and Linux machines.
If you are wondering how a variable is assigned a value in Git config use --list to inspect the gitconfig files.
There are many Java JAR file openers available on the market today. Here are the top 5 JAR file openers for both Java developers and casual users to install on their Windows or Linux machines.
You can open JAR files with any ZIP utility. A JAR file is just a special type of ZIP file. And to run a Java JAR file, just install Java and either double-click it or run the JAR file at the ...
Say goodbye to the public static void main method in Java 21 with the unnamed classes and instance main methods preview features.
The ability to put an Nginx reverse proxy in a Docker container greatly simplifies enterprise architectures. Here's how easy it is to setup and configure an Nginx reverse proxy Docker image and ...
Here's a quick example of how to copy a file inside a Docker container to the local filesystem of the host machine. With the ID or name of the container in hand, a Docker file copy operation is an ...
Nginx is among the most popular load balancers and reverse proxy servers for enterprises. Here's how to quickly setup Nginx as a load balancer and configure weighted nodes and sticky sessions.
Modern day development happens in containers. Which is why it's imperative that you know how to setup and install Docker and docker compose on your local Ubuntu workstation. In this tutorial, we'll ...
Here's a quick look at the Java var keyword and what it looks like when you use inferred types in your code.
If you goal is to clean up your repository, this squash git commits example give you the motivation you need to clean up your feature and topic branches.
If you're doing a self-hosted GitLab Ubuntu 20 install and you hit the "Unable to locate package gitlab-ee" error, here's the solution to fix the problem.
Need to add multiple values to a key in a Java HashMap but can't figure out how to do it? Here are three examples of how to solve the multiple values per key problem in Java.
Save time and effort when inspecting your commit history with the git log --oneline command.
To install Java on Windows you only need to follow these five simple steps. In this quick tutorial, we'll show you how to setup Java on Windows and run apps like Minecraft and Apache Tomcat on the JDK.
Need to use raw SQL with JPA and JPA? The Jakarta Persistence API's NativeQuery interface makes it possible to use Hibernate, SQL and JPA together in the same app.
Want to work with MySQL databases using Java? Here's a quick walkthrough of the first step to do that: create a schema.
Need to do a git uncommit to the last commit you were working on? Learn how to quickly uncommit files updates and changes in Git.
The days when companies could afford to treat IT as simply the department that keeps the computers running are long gone. Technology delivers massive value to business leaders. Business ...
Agile user stories describe software project requirements as needed by different end users. Follow these guidelines to translate user needs into product features and business value.
Learn how to quickly create a Bitbucket App Password so your Git push and clone operations don't fail with fatal 'invalid credentials for authentication' errors.
Here's a quick tutorial to setup an Nginx reverse proxy server. This example uses an Apache Tomcat server but the config settings apply for other backend app servers such as Node, Express, ...
Here's a quick tutorial on how to setup Nginx with PHP support. The key? The installation of fastCGI, aka PHP-FPM, so Nginx can serve PHP files to clients.
https://youtu.be/ZYRYaPtL4WE When I prepared for my AWS DevOps Engineer Professional certification, I didn't just want to pass. I wanted to walk into the testing center knowing exactly what to ...
Want to style and customize your user and hostname properties that display in the Git Bash prompt? This quick example shows you how to quickly customize your Git Bash terminal window.
Scrum is not a framework. The Scrum Guide says so, users say so and even dictionary definitions say so. So why do Scrum evangelists defend this misnomer as though it were religious truth?
Just prior to JavaOne, TheServerSide spoke with ZeroTurnaround's Simon Maple about all of the things going on with Java SE 9 and the greater Java ecosystem. A couple of interesting articles eluted ...
Maven and Eclipse have always had a rocky relationship, and a common pain point between the two is how to force Maven JDK 1.8 support in new Eclipse projects. Without jumping through a few ...
Need to permanently remove a Git branch locally? What about the remote tracking branch? Or maybe someone removed a Git branch on GitHub or GitLab and you need to synchronize with the server? Here ...
Ever wonder what is the difference between an obsolete component and a deprecated component? Here's the answer in the most concise terms you'll find.
Want to select a color from an image on a webpage? Or an HTML element? Here's how to use the Google Chrome color picker extension that comes packaged as part of the browser's built-in DevTools.
Both docker run and docker-compose can be used to start Docker containers, but there are key differences between the two. Here we explore the differences between docker-compose and docker run, and ...
A user who accidentally provides a GitHub username and password instead of the Git username and email address may have inadvertently published their security credentials to the world.
What's the difference between Dockerfile and docker-compose? These simple examples compare Dockerfile, the docker-compose.yaml file and important commands to build Docker images and run Docker ...
Most enterprise architectures use Apache as a reverse proxy, but it is not configured for that by default. In this quick tutorial, we show you how to configure an Apache reverse proxy for backend ...
Want to configure and run an Apache httpd Docker container to serve website files from a local system? This example shows the best way to do that, using the "docker-compose" command and YAML file.
The best way to run Docker's httpd Apache web server image is to map a volume that points to local files on your hard drive. This example shows you how to run Apache in Docker without the need to ...
Need to dockerize Apache? Want to build a custom Docker httpd image that hosts your website? Here's a simple Apache Dockerfile example to build a custom httpd Docker image for your website.
The terms 12am and 12pm make no logical sense. Neither one is noon or midnight. Remove the 12am vernacular from your applications. Users will thank you.
It's not hard to create and run a shell script in Linux distros like Ubuntu, but there are a few non-obvious pitfalls you need to avoid. Here's a quick example of how to execute a script in Linux.
So,they've moved the Google I/O conference away from downtown San Francisco out to Mountain View where Google has a big stake in the Shoreline Amphitheater. I've got mixed emotions on the move.
The easiest way to build, test and document RESTful APIs built with Spring Boot? Simply add Swagger to your Spring Boot project and let OpenAPI do it for you.
Want a lucrative career as a DevOps engineer? Follow this 2023 DevOps roadmap and master the key technologies that will put your skills in demand.
What does it take to get a career as a full-stack developer? This 2023 full-stack developer roadmap shows you the skills you need to developer to build your full-stack developer portfolio.
Did you just hear someone say a method was depreciated? They probably mean deprecated. Here's the difference between the two.
Everyone is used to configuring multiple properties files to support Spring profiles, but the Spring @Profile annotation allows you to control the Spring's dependency injection behavior at runtime too.
A quick migration from JPA 2.x to 3.x can become bottlenecked if the persistence.xml file is misconfigured. Here's what a proper persistence.xml file for JPA 3, Hibernate 6 and a MySQL database ...