Coffee Talk: Java, News, Stories and Opinions
Recent Posts
-
Hibernate 6.0 release marks a milestone for JPA 3.x development
- EnigmaStation 19 Apr 2022 -
Being Agile vs. doing Agile: What's the difference?
- Scrumtuous Inc. 18 Apr 2022 -
Top 5 certifications for Scrum Masters
- Scrumtuous Inc. 19 Mar 2022
Hibernate 6.0 has finally been released. Here's what this full increment release means for developers who use JPA for persistence.
What's the difference between being Agile and doing Agile? It's subtle, but it's significant. Here we compare them and show you how to both be Agile and do Agile the right way.
Whether you are hiring for a career position or just trying to build your resume, this list of the top 5 best professional Scum Master certifications to have will provide you insights on the skills ...
-
Noon is not 12am. Midnight is not 12pm. Code appropriately.
- TechTarget 14 Feb 2022 -
How to convert a PEM file to PPK format example
- TechTarget 08 Feb 2022 -
Node.js file upload example with Ajax and JavaScript
- TechTarget 07 Feb 2022 -
How to create an AWS account alias
- TechTarget 26 Jan 2022 -
Lessons learned from the Log4j vulnerability
25 Jan 2022 -
Comparing Rest vs GraphQL on performance and ease of use
- CogArtTech 23 Jan 2022 -
Why we use ./ (dot slash) to run Linux scripts?
- TechTarget 21 Jan 2022
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.
Need to SSH into a remote server with PuTTY but your PEM file just won do the trick? Here's a quick example of how to convert a PEM file to PPK format with PuTTYGen so your SSH sessions with PuTTY ...
The Node.js file upload process is made easy with libraries like 'fs' and 'formidable.' In this JavaScript and Node.js file upload example, we show you how to move files from the browser to the ...
Need to create, change or rename an AWS account alias? It's not too hard to do, and your users will thank you. Here are the steps to do it.
The Log4j 2 vulnerability was a black eye for the Java community. Here's how to protect yourself today, and how the community can protect itself in the future.
The problem with RESTful web services that use JSON or XML as a data exchange is bloat and verbosity. Compare REST vs GraphQL performance if you want to simplify your web API development.
Ever wonder why you need a ./ before a Unix shell script or command of your own in order to run it? Here's what the Linux dot slash does and why Unix systems require the ./ syntax.
-
Fix Apache's 'ServerRoot Must be a Valid Directory' error quickly
- TechTarget 21 Jan 2022 -
Principle of least privilege examples & best practices
- TechTarget 19 Jan 2022 -
How to install Apache's Web Server on Windows 10 quickly
- TechTarget 15 Jan 2022 -
Top 5 AWS root account best practices
- TechTarget 14 Jan 2022 -
BitBucket SSH key generation tutorial
- TechTarget 14 Jan 2022 -
How to create and run a shell script in Linux and Ubuntu
- TechTarget 14 Jan 2022 -
Git securely with a GitHub SSH URL example
- TechTarget 13 Jan 2022 -
How to SSH into GitHub on Windows example
- TechTarget 11 Jan 2022 -
A quick GitHub SSH clone example
- TechTarget 11 Jan 2022 -
How chmod numbers work explained by example
- TechTarget 08 Jan 2022 -
Was GitHub's password authentication removal an overstep?
- TechTarget 05 Jan 2022 -
Git and GitHub SSH KeyGen by Example
- TechTarget 02 Jan 2022 -
The psychology of offering developers programming advice
31 Dec 2021 -
How to quickly change your branch in Git
- TechTarget 31 Dec 2021 -
Fix Putty's 'Key Exchange Algorithm Agreement' error
- TechTarget 29 Dec 2021 -
Simple Ajax file upload with pure JavaScript example
- TechTarget 27 Dec 2021 -
Simple Struts 2 file upload example
- TechTarget 25 Dec 2021 -
Create an HTML5 and PHP file upload form for Apache example
- TechTarget 24 Dec 2021 -
Java file upload by example with Servlets & JSPs
- TechTarget 23 Dec 2021 -
Learn how Kubernetes Operators work from this example
- CogArtTech 06 Dec 2021 -
Top 5 things to know about the Jakarta Servlet 6.0 API release
29 Nov 2021 -
Kubernetes vs Docker Compose: What's the difference?
- CogArtTech 29 Nov 2021 -
How to delete a Git repository
- TechTarget 29 Nov 2021 -
How to use jarsigner to sign JARs files example
- TechTarget 29 Nov 2021 -
How to use Java's javap tool by example
- TechTarget 29 Nov 2021 -
How to import a Maven project from GitHub into Eclipse
- TechTarget 29 Nov 2021 -
What is the difference between Docker and containerd?
- CogArtTech 29 Nov 2021 -
The 5 things devs should know about the Jakarta Servlet 6.0 API release
- TechTarget 29 Nov 2021 -
What is the difference between kubectl and kubelet in Kubernetes?
- CogArtTech 29 Nov 2021 -
How to delete all Git branches except master or main example
- TechTarget 02 Nov 2021 -
What is the difference between a Docker image vs a container?
- CogArtTech 31 Oct 2021 -
How to Git Uncommit Your Last Git Commit
- TechTarget 31 Oct 2021 -
How to delete a remote Git branch
- TechTarget 28 Oct 2021 -
Fix Git's "fatal: no upstream branch" error quickly example
- TechTarget 25 Oct 2021 -
How to remove Git branches from your repository
- TechTarget 22 Oct 2021 -
4 ways to create a Git branch quickly by example
- TechTarget 11 Oct 2021 -
How to tag a Git commit id by example
- TechTarget 06 Oct 2021 -
Create a new Git branch with current local changes saved by example
- TechTarget 02 Oct 2021 -
Every change between JDK 11 and the Java 17 LTS release
- TechTarget 14 Sep 2021 -
When to you Docker vs Podman? A developer's perspective
- CogArtTech 31 Aug 2021 -
Docker versus Virtual Machines: Which DevOps tool is best?
- CogArtTech 31 Aug 2021 -
Fix GitHub's 'support for password authentication was removed' error
- TechTarget 31 Aug 2021 -
Java shows promise AI app scaling
11 Aug 2021 -
RPA examples that prove robotic automation works
01 Aug 2021 -
How to fork a Git repository
- TechTarget 20 Jul 2021 -
How to download an older, specific version of UiPath Studio
- TechTarget 19 Jul 2021 -
How to download and install UiPath Studio
- TechTarget 02 Jul 2021 -
How to pass variables as UiPath arguments example
- TechTarget 30 Jun 2021 -
How to use the UiPath Switch activity
- TechTarget 28 Jun 2021 -
UiPath If-Then conditional statements
- TechTarget 25 Jun 2021 -
What is a Git fork? Meaning, definition and a Git Fork example
- TechTarget 20 Jun 2021 -
Delete the Windows recovery partition on a Lenovo Thinkpad or Desktop
- TechTarget 07 Jun 2021 -
Fix the ConcurrentModificationException
- TechTarget 03 Jun 2021 -
Quickly create a Git bare repo with init or clone example
- TechTarget 02 Jun 2021 -
What is a bare repository in Git?
- TechTarget 28 May 2021 -
How to use git submodules tutorial with examples
- TechTarget 21 May 2021 -
How to update Git submodules
- TechTarget 21 May 2021 -
How to create Git submodules in GitHub and GitLab by example
- TechTarget 30 Apr 2021 -
Yes, the original name for Java was Oak
- TechTarget 30 Apr 2021 -
Java's main function explained with examples
- TechTarget 29 Apr 2021 -
How to create a GitHub repository
- TechTarget 30 Mar 2021 -
How to run Jenkins builds on Docker example
- TechTarget 30 Mar 2021 -
Recursion vs Iteration: What's the difference?
- TechTarget 30 Mar 2021 -
Five examples of recursion in Java
- TechTarget 24 Mar 2021 -
How to clone from a git tag example
- TechTarget 26 Feb 2021 -
How to install Gitflow for Windows on old Git installations example
- TechTarget 26 Feb 2021 -
Full Gitflow init workflow example
- TechTarget 26 Feb 2021 -
Gitflow release branch process from start to finish example
- TechTarget 24 Feb 2021 -
Gitflow hotfix branch example from start to finish
- TechTarget 24 Feb 2021 -
Java Mission Control 8 Eclipse plugin install example
- TechTarget 29 Jan 2021 -
How to start Java's JVM Flight Recorder in 3 easy ways by example
- TechTarget 29 Jan 2021 -
Clone a git repository with submodules using init and update example
- TechTarget 29 Jan 2021 -
Performance cost of autoboxing Java primitive types explained
- TechTarget 29 Dec 2020 -
A Jenkins YAML pipeline example
- TechTarget 28 Dec 2020 -
How to run Jenkins on AWS by example
- TechTarget 23 Dec 2020 -
How to implement a remote Jenkins build trigger with a URL
- TechTarget 22 Dec 2020 -
Jenkins shared libraries in pipelines example
- TechTarget 06 Dec 2020 -
An example of how to easily add Git submodules
- TechTarget 04 Dec 2020 -
Full GitHub Actions environment variables list for YAML build workflow scripts example
- TechTarget 04 Dec 2020 -
Jenkins GitHub Webhook build trigger by example
- TechTarget 03 Dec 2020 -
10 best GitHub Actions examples
- TechTarget 30 Nov 2020 -
How to publish GitHub Actions artifacts by example
- TechTarget 30 Nov 2020 -
How to use GitHub Actions secrets to hide your tokens and passwords example
- TechTarget 22 Nov 2020 -
Find Jenkins Home and change the JENKINS_HOME directory location by example
- TechTarget 07 Nov 2020 -
Jenkins GitHub Integration for CI/CD Pipelines example
- TechTarget 06 Nov 2020 -
How to run the Jenkins WAR file example
- TechTarget 05 Nov 2020 -
Fix the Jenkins "No such DSL method with Maven found" error example
- TechTarget 04 Nov 2020 -
'403: No valid crumb' Jenkins GitHub webhook error fix
- TechTarget 04 Nov 2020 -
Use Jenkins' Warning plugin for CheckStlye, PMD and FindBugs reports example
- TechTarget 02 Nov 2020 -
How to install Jenkins on Ubuntu 20.04 by example
- TechTarget 01 Nov 2020
Here are three easy ways to fix Apache's ServerRoot Must be a Valid Directory error. Any of these remedies will get your Apache HTTP server running again.
We see examples of the principle of least privilege everywhere in our daily lives. What does the principle of least privilege mean as applied to security in software development and DevOps?
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.
The credentials of your server's super user must be protected at all costs. Here are five AWS root account best practices to protect yourself from being hacked.
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).
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.
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.
Here's a quick tutorial to connect to GitHub with SSH on Windows. It's easy, and you'll establish a GitHub SSH Windows connection with Git in no time.
Here's a quick example of how to perform a GitHub SSH clone operation. In just five minutes, learn how to create SSH keys, configure them in GitHub and perform the GitHub clone with SSH keys in Git.
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.
Was GitHub's removal of password based authentication a security overstep? If it makes it harder for developers to get started with Git and GitHub, it was.
Here's a quick example of how to securely connect Git to GitHub with SSH KeyGen produced secure shell keys on both Windows and Linux.
Need to provide programming advice, or perhaps even harsh criticisms to a team of developers? Here's a nice way, pyscyhologically sound, way to do it.
These Git branch change examples will help you quickly address the specific version control challenge you are trying to solve, be it a branch renaming or a switch, list and checkout of existing ...
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.
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.
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 ...
It's easier than ever for a developer to upload a file with PHP and HTML5 to an Apache web server. This example shows how to create an HTML and PHP file upload component that will work in any ...
It's not that hard to perform Java file uploads. The new Servlet and JSP API, along with HTML5 input form enhancements, make Java file uploads, both synchronously and asynchronously with Ajax, ...
Kubernetes (K8S) has become a very popular technology for working with distributed applications that run on the internet. K8S is intended to support an enormously large number of Linux containers ...
Jakarta EE 10 includes a full increment release of the Servlet API. Here are the top 5 features Java devs will enjoy when the Jakarta Servlet 6.0 API arrives.
Confused between the difference between Kubernetes and Docker compose? Here we explain how the two DevOps construct are similar, and how they are different.
Trying to delete a local Git repository but the DVCS system still persists? Here's a quick example of how to locally remove a Git repo permanently and completely.
Here's a quick example of how to use Java's jarsigner to digitially sign JAR files.
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.
Here's a quick tutorial that shows you how to import a GitHub hosted Maven project into the Eclipse IDE.
What's the difference between containerd and Docker? Here we take a look at how these two cloud-native Kubernetes friendly technologies differ and compare.
Jakarta EE 10 includes a full increment release of the Servlet API. Here are the top 5 features Java devs will enjoy when the Jakarta Servlet 6.0 API arrives.
Are you working in a cloud-native, Docker and Kubernetes based environment and you're wondering what the difference is between kubelet and kubectl? Here we clear up the kubectl vs kubelet confusion.
Here is a quick Git command to delete all branches except master or main from your local repository. It's a nice way to clean up your workspace after a milestone or a sprint.
Wondering what the difference is between a Docker image and container? Here we make the Docker container vs image comparision and show you how the two concepts differ.
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.
Learn the command to properly delete remote Git branches from SaaS offerings such as GitHub and GitLab, while also deleting local remote tracking branches as well.
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.
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 ...
Forgotten the Git branch create command? Here we'l show you four different ways to create a Git branch, be it from the current branch, from a tag or from a commit id.
Here's a quick example of how to tag a specific commit id in Git. This is perfect if an older commit id requires a tag but was not originally given one.
Did you update some code in the wrong Git branch? Here's how to save those local changes in a newly created Git branch, and clean up the original branch in the process.
Wondering what's included in the new Java 17 LTS release? Here's a list of all the changes made to the JDK between the Java 11 and Java 17 LTS releases.
Docker and Podman play two very separate and distinct roles in the modern DevOps pipeline. Here we compare Docker and Podman and show you how to choose which one is best for you.
Forced to choose between Docker and a virtual machine, which one should a developer choose. Here we compare and contrast the two DevOps tools and let you know which one is best to use.
Frustrated by GitHub's 'support for password authentication was removed' error? Here's how to fix it by creating a personal access token in GitHub.
Find out how Java provides a promising alternative for coding data science applications that may make it easier to develop more scalable AI.
Although Robotic Process Automation has been around for years, banks and financial institutions continue to find new RPA use cases to save time, effort and money.
Looking for the fork command in Git? Well, it doesn’t exist. Here we'll show you how to fork a Git or GitHub repo on your own.
Want to stop UiPath Studio from updating to the latest release all the time? Here's how to download and install a specific version of UiPath Studio.
It’s actually a bit tricky to install UiPath. This UiPath Studio install tutorial shows you how to find the download link and the right version.
How do you use a variable from one UiPath sequence in another? This tutorial will teach you everything you need to know about passing data between workflows.
While the UiPath If activity is great for simple logic, multi-branching demands the UiPath Switch activity. Learn how to use it to perform conditional logic.
Learn how to use the conditional UiPath If activity to create branches of logic in your RPA programs. This quick UiPath If-Then example will show you how.
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.
Recovery drive partition removal If you've purchased a laptop from Lenovo or desktop from Asus, there's a good chance there's a hidden recovery partition immediately after the boot sector. The ...
Has the ConcurrentModificationException been thrown in you Java app? Here are four simple ways to fix the ConcurrentModificationException in your code.
There are two ways to create a bare Git repo -- a bare Git clone or a Git init bare. This git bare repo tutorial will show you how to perform both.
A bare Git repo has all the capabilities of a non-bare repository, with the exception that it’s not meant for local development.
If you’re wondering how to git submodule and logically link repositories together, this git submodule tutorial -- with lots of examples -- is for you.
If your Git submodule is out of sync with the server, we can help. This git submodule update example shows you how to get the latest commits into your worktree.
In this GitHub submodule add example, we demonstrate how to take an independent GitHub repository, add a Git submodule and push back to the GitHub server.
When Sun Microsystems first developed a programming language to power their Star7 entertainment controller, they named it Oak, not Java.
Here's the anatomy of Java's main method. An anachronism with the rise of Servlets and JSPs, Spring Boot and Eclipse Microservice developers are seeing more of Java's main function as apps are ...
This GitHub repository tutorial shows users how to create a new repository in the popular, cloud-hosted Git offering. Let’s dig into the central concepts of GitHub-based DevOps.
In this Jenkins and Docker integration tutorial, I’ll show you how to create a Jenkinsfile build with Docker. Just pull a Jenkinsfile from a GitHub repository, and Docker will take care of the rest.
This Java recursion tutorial shows you how to create a recursive Java factorial function and compares these methods to iterative ones.
We often debate the merits of iterative vs recursive Java code. Let’s take a look at 5 Java recursion examples and see where the concept of recursion fits.
In this git tag clone example, we’ll demonstrate how to pull from a tag point in your git commit history. However, it comes with a catch, in the form of a detached head.
In some cases, Gitflow will come prepackaged with Git for Windows installations. Those on older installations will need do it manually. Here's a quick guide on how to perform a Gitflow install for ...
Here's a quick Gitflow init example, along with a quick tutorial on how to perform a full Gitflow workflow after you execute the command.
The Gitflow release branch is the final step in this software development process workflow. Here we look at the start, finish and impact the Gitflow release has on the master, develop and feature ...
If you’re lucky, you’ll never have to start the Gitflow hotfix process. But just in case, here’s a quick example of how to incorporate the Gitflow hotfix branch into your version control workflow.
Here's a quick Java Mission Control tutorial to show you how to install the Java Mission Control Eclipse plugin and start a Java Flight Recorder JVM profile run.
JDK Mission Control is feckless without a Java Flight Recorder file to profile. Here are 3 easy ways you can start Java Flight Recorder in Eclipse and monitor your JVM in JMC.
When you clone a git repository, it won’t necessarily bring down the branches and code for the associated submodules. The git submodule init and update command and the --recurse-submodules switch ...
The boxing and unboxing of Java primitive types has severe performance implications. Uncover the truth about autoboxing Java primitive types in this JDK Mission Control and JVM Flight Recorder example.
YAML has joined the ranks of declarative and scripted pipelines in Jenkins. Here's an example of what the syntax for a Jenkins YAML pipeline looks like.
Need to run Jenkins on AWS? It's not a bad idea, especially when developers consider the need for a CI/CD server to integrate with peripheral resources. This quick example shows you the easiest way ...
This quick example will demonstrate how to implement a remote Jenkins build trigger. With the remote Jenkins build URL, a developer can call jobs from scripts, the CURL command and even Java code.
Keep complex logic out of your build scripts and take advantage of Jenkins shared libraries instead.
This git submodule add example demonstrates how a developer can use these steps to create a Git repository and add a new Git submodule to it.
The GitHub Actions environment variables available to a developer's workflows will vary from Ubuntu to Windows to MacOS. Here's a full environment variables list for each and why developers should ...
Running into difficulty with GitHub Webhooks and Jenkins builds? This Jenkins and GitHub webhook integration example shows how to trigger remote builds without the 403 no valid crumb in request ...
Here are the 10 best GitHub Actions examples for developers and DevOps admins that want to learn and master continuous integration and deployment.
Here's a simple example on how a developer can publish GitHub Actions artifacts for download once a build workflow successfully completes.
You can confidently store keys, tokens and passwords with GitHub Actions secrets. This quick, not-so secret tutorial, provides an example of how to do exactly that.
How to change JENKINS_HOME When Jenkins runs, it stuffs all of its logs, cloned repos, plugin configurations and build artifacts into the Jenkins Home folder. Basically, every ounce of ...
This CI/CD example shows you how the integration of Jenkins with GitHub includes not only the ability to pull GitHub code, but also to trigger Jenkins build jobs with webhooks as well.
Here's a quick example of how to run a Jenkins war file from the command line, DOS prompt or terminal window in Linux/Ubuntu. The short story? java -jar jenkins.war
Here's a quick fix to the Jenkins 'No such DSL method 'withMaven' found among steps: NoSuchMethodError' error. Hint? Install the Jenkins Maven pipeline plugin.
Here's a quick fix to the "403 no crumb was included in the request" error you often see when a Jenkins GitHub webhook is configured incorrectly.
The Jenkins Warnings plugin replaces the deprecated CheckStyle, FindBugs and PMD ones. This static code analysis in Jenkins example shows you how to integrate Jenkins, CheckStyle, FindBugs and PMD ...
Here's a quick example to show you how to install Jenkins on Ubuntu 20. Additionally, we'll install Git and test your Jenkins installation with a Hello World build job.