A simple Spring Boot file upload example with Ajax Looking for a simple Spring Boot file upload example that can be used with Spring MVC web apps? This example uses HTML5 file input fields and a pure JavaScript Ajax call to accomplish the Spring ...

How to perform a GitLab delete remote branch operation on a repository It's not exactly a straightforward process for developers to have GitLab delete remote branches. In this GitLab tutorial, we'll show you how to remove remote GitLab branches with examples.

Simple file uploads with Java Servlets and JSPs example It's not that hard to perform a file upload with Java. The new Servlet and JSP API, along with HTML5 input form enhancements, make uploading a file with Java, both synchronously and asynchronously ...

Create an HTML5 and PHP file upload form for Apache example It's easier than ever upload a file with PHP and HTML5 to an Apache web server. In this example, we show you how to create a PHP and HTML file upload component that will work in any browser, and ...

How developers in GitLab can merge branch into master In this GitLab merge branch to master example, we explain why a GitLab merge into master is different from other operations, and how to accomplish this task with a GitLab master merge request.

Microsoft makes TypeScript 4 generally available Microsoft has made TypeScript 4 generally available for developers building large systems in JavaScript. TypeScript, a superset of JavaScript, is designed for the enterprise.

How to merge master into any branch in GitLab with examples There are two ways a developer can have GitLab merge master into a branch. One is to merge master into the branch on the client while the other is to perform a GitLab pull request. Here are some ...

How to git clean untracked files Developers can use the git clean command to delete untracked files in a working tree and remove what they don't need from a local repository. Here is how to issue the command and some helpful tips ...

A simple Struts 2 file upload example In this Struts 2 file upload example I'll show you to take a local resource and upload it to a remote Java application server. All you need is a file, a browser and an Internet connection and the ...

How to perform a Git clean up of branches and commits There comes a time where you must clean up Git branches, commits and the repository as a whole. Here we show you how to compact your Git repo and keep things clean.

How to git push GitLab commits to origin with examples When a local git repository is out of sync with the GitLab server, developers must git push GitLab commits to origin. Here is how to push the commits to origin and maintain successful development.

An example of how to create and clone a GitLab repository One of a developer's first tasks when they start with GitLab is to clone the GitLab repository. Here's how to create a GitLab repository and clone it from the server to a local machine.

WildFly vs. JBoss EAP: How these Red Hat application servers differ What's the difference between WildFly and JBoss EAP? That answer is 'not much.' But there are a few differentiating factors in the WildFly vs. JBoss debate you should be aware of.

An example hibernate.cfg.xml for MySQL 8 and Hibernate 5 Hibernate 5 has updated dialects for various databases, and MySQL 8 has a special one of its own. Here's an example hibernate.cfg.xml for MySQL 8 for Hibernate 5 apps or newer.

3 ways to build a Hibernate SessionFactory with examples If a developer uses the Hibernate core framework, they will need to build a SessionFactory before they can do any data persistence. As the name implies, the SessionFactory produces Hibernate ...

How to create and delete GitLab projects with examples To get started with GitLab, you first need to create a GitLab project. And when you're finished, you might also want to delete a GitLab project. Here we show you how to both create and remove ...

How to do a self-hosted install of GitLab on Ubuntu 20 This Git tutorial demonstrates how to install GitLab on Ubuntu 20. With a GitLab server installed locally on Ubuntu, a developer can enjoy GitLab without the cloud.

The right MySQL persistence.xml example file for JPA 2.2 and Hibernate 5 Old JDBC drivers and new MySQL 8 databases don't mesh. Here's an updated MySQL persistence.xml example file for those doing JPA and Hibernate development.

This git worktree add example lets you never switch branches again I was today years old when I learned you could have multiple git working trees active at the same time. The idea is simple. Imagine you have multiple branches and want to work on them all ...

How to perform a shallow git clone This shallow git clone example shows you how to use the --depth switch to limit the git commit history pulled to your local machine.

How to rename a GitHub repository Sometimes new business requirements will force a Git admin to rename a GitHub repository. Here's how to do it, and here's how it will impact existing users.

Create a GitHub repository with this step-by-step tutorial This step-by-step, create a GitHub repository create tutorial will show you how to create the cloud hosted Git repo that acts as the covererstone for all GitHub based Devops operations.

Master the GitHub repository This GitHub repository tutorial will help subscribers to the popular cloud hosted Git offering understand the central concepts behind how GitHub based Devops works.

Quickly create a git bare repo with init or clone There are two ways to create a bare Git repo. The first is to do a bare Git clone, the second is to do a Git init bare. This git bare repo tutorial shows examples of both.

What is a bare git repository? Why would anyone use a bare Git repository? Well, if you need to set up a share, remote server for commits, the git init bare command is your friend.

How to git clone on Ubuntu with GitLab and GitHub Are you working with Ubuntu? Do you need to perform an Ubuntu git clone operation? Here will will show you how to install Git on Ubuntu, clone, commit and even push to GitLab and GitHub.

How and when to perform a depth 1 git clone In this depth 1 git clone example, we walk you through the process of pulling only one commit and one branch back from your remote Git repo.

How to clone from a git tag example In this git tag clone example we demonstrate how to pull from a tag point in your git commit history. However, it comes with a catch, and that catch is a detached head.

How to git clone a specific branch only Is there one single, specific branch git clone should target? In this git clone branch example we demonstrate how to git clone and ignore all but one specific branch.

Basic GitLab Git commands every developer must know To become proficient with GitLab, there are a few key Git and GitLab commands a developer needs to know. With these basic Git commands at the ready, GitLab matery is inevitable.

How to use git submodules tutorial with examples Wondering how to git submodule and logically link repositories together? If so, this git submodule tutorial with lots of examples is for you.

How to update Git submodules 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.

How to remove git submodules https://youtu.be/6pGxk0B_Ino Steps to delete a git submodule The manner in which you remove a git submodule has changed since earlier versions of the tool, so there is a significant amount of ...

How to clone a git repository with submodules init and update With the git submodule init and update command, you can clone a git repository along with all of the submodules as well. Although maybe the --recurse-submodules switch would be easier?

How to create Git submodules in GitHub and GitLab 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.

The JPA and Hibernate CRUD operations example https://youtu.be/d0AJKtPgx3M There are many classes and interfaces that make up the JPA and Hibernate API, and the sheer volume of development options can overwhelm even the most seasoned software ...

A Bitnami WordPress stack installation and examination Sometimes it's fun to see how components in open source projects are architected together. I installed a Bitnami WordPress stack onto my laptop Here I to see how the popular blogging platform works.

How to publish to UiPath Orchestrator example https://youtu.be/yWpJ6xZ9BKw UiPath Orchestrator runs in the cloud. UiPath Studio runs on a developer's desktop or laptop. And RPA robots typically run on a physical desktop computer as well. Which ...

Oracle's release cadence opens door for Java support rivals Oracle has opened the door for competitors to chip away at its hold on the market for providing Java support to enterprise customers.

How to master the Git status command To really understand distributed version control, you must master the Git status command and understand the working tree states upon which it reports.

Dojo Toolkit 7 focuses on JavaScript developer productivity Dojo Toolkit version 7 is now available. The widely used, mature JavaScript framework favored by enterprise shops gains more features for developer productivity.

List and show Git config settings If you are wondering how a variable is assigned a value in Git config use --list to inspect the gitconfig files.

How set git config username and email fields in global and local configuration files Before you can commit code, you must set the local or global git config username and email fields. In this global git config example we will show you how.

A git stash name example: Easily pop or apply changes by name A developer needs to name git stash saves if they want to easily identify them in the future. Here's how to do both a git stash with name apply and a git stash pop by name.

Where to find system, global and local Git config files on Windows and Ubuntu Linux Ubuntu, Linux and Windows Git configuration files are an unwieldy mess. Or at least is seems that way when you realize it's contained in three uniquely named files and spread across three or four ...

How to make multiple values per key in a Java map possible 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.

Five git log oneline examples Save time and effort when inspecting your commit history with the git log --oneline command.

How to Git rebase master onto any branch by example If you think you need to git rebase master to a branch like develop or release, this tutorial will guide your way, while also letting you know of potential dangers.

How to Git rebase a branch to master example This Git rebase a branch to master example will show you how to clean up your commit history and sync with the latest master commit.

How to create a UiPath trigger to schedule robotic processes automation How do you schedule UiPath trigger? Time based and queue based are the two ways to run uattended UiPath robots. In UiPath time trigger example we demonstrate the former.

Step-by-step guide: How to install Git on Windows desktop computers Working with GitHub or BitBucket? Then you need to install Git. In this tutorial we show you how to install Git on Windows in 10 easy steps.

Quarkus goes GA, gains Red Hat Runtimes support With Quarkus, Red Hat targets the popular Spring Boot framework to help developers use Java as a first-class language to build microservices and container-based applications.

A version 5 Hibernate SchemaExport example with the ServiceRegistry and Metadata The manner in which you create a version 5 Hibernate SchemaExport object is markedly different than earlier versions of the framework. But it's not overwhelmingly difficult. Here's how you do it. ...

Oracle's Project Leyden uses static images to ease Java pain Oracle's new Project Leyden introduces static images to help ease long-standing Java language shortcomings such as slow startup times and unwieldy footprints.

Tomcat vs WebSphere: How these application servers compare When it comes to Java application server comparisons, there isn't a starker contrast between two offerings than Apache Tomcat and IBM WebSphere. Right off the bat, let's clear up some ...

How to plot your Java developer career path Are you a software developer with a bit of downtime on your hands? Here are three easy ways to keep busy while nurturing your Java developer career path.

Eclipse launches Theia 1.0 as alternative to VS Code The Eclipse Foundation's Theia framework for building desktop and cloud IDEs has the potential to be as big as the initial release of the Eclipse IDE itself nearly 20 years ago.

Quickly fix the MySQL MyISAM type SQLSyntaxErrorException for Hibernate https://youtu.be/d0AJKtPgx3M There's nothing worse for a developer than an SQLException in Hibernate and JPA. And there's nothing more annoying than when the SQLException happens before any of the ...

Oracle ships Java 14 with new preview, productivity features With Java 14, Oracle delivers features to the Java language and platform that enhance the productivity of developers building new enterprise applications.

GitHub's NPM acquisition sparks Microsoft-related worries GitHub's acquisition of NPM will bring two prominent open source players together under the Microsoft umbrella. But moves like this tend to cause concern for some observers.

How to refactor a Java portlet application for a cloud-native future While the past may have been all about the development of Java portlet applications, the future is cloud-native. Here is how to bridge the two together.

Top 5 benefits of client-side rendering frameworks As the name of this site implies, we're big advocates of server-side technologies. But we also recognize that integrating client-side technologies into the web architecture can be advantageous as ...

Easy JavaScript performance optimization tips for a speedy site JavaScript can deliver highly interactive websites that actively engage the user in a way HTML alone never could. However, the increased engagement levels come with a performance cost that can ...

Why you should make kebab case a URL naming convention best practice They say there are only two difficult challenges in the world of computer programming: Synchronizing the invalidation of a distributed tertiary and quaternary cache; and What to name things. Given ...

Why I consider the Lenovo T430 the best laptop value around Looking for an affordable used laptop? Check out the Lenovo T430. It's the best used laptop value around.

Make 2020 the year of your programming side hustle Don't keep your programming side hustle on the backburner anymore. Find the time to put some work into your passion project and reinvigorate your programming creativity when you're not on the job.

TheServerSide's top articles from 2019 From Git to the speed of the OpenJDK, here's a look at some of the most popular topics of 2019 on TheServerSide.com.

Master functional programming in Java with five interfaces Many developers get intimidated when they look at all the new APIs that accept lambda expressions as arguments, and wonder how they'll ever figure out which Java function to use and what the proper ...

Top 5 ways to deploy a WAR file to Tomcat https://youtu.be/thEk-i2OIK4 If you want to develop web applications and Apache Tomcat is your target web server, you need to know how to deploy WAR files to Tomcat so you can see if your ...

Why a TrackPoint keyboard is a great gift idea for ThinkPad lovers Lenovo ThinkPads are one of the most commonly used laptops for enterprise software developers. They are well made, have a reputation for being durable and capable of taking a good deal of abuse, ...

Moving JavaOne to Las Vegas shows Oracle has 2020 vision The rebranding of JavaOne to Oracle Code One and move from San Francisco to Las Vegas is one that I will welcome with open arms, and you should too.

Fix SunCertPathBuilderException Jenkins plugin download error Sometimes when you install Jenkins, a SunCertPathBuilderException appears when you access the Jenkins plugin download page. Here's an alternate fix to the SunCertPathBuilderException error if you ...

AWS gets behind Rust programming language AWS has joined Microsoft, Google, Mozilla and other major vendors in using and supporting the Rust programming language as a system programming language.

Pivotal, Microsoft team up to deliver Azure Spring Cloud Azure Spring Cloud, jointly developed by Microsoft and Pivotal, lets Spring developers bring apps to the cloud without concern for the underlying cloud infrastructure.

GitHub tempts enterprises with Semmle, security enhancements With the Semmle semantic code analysis engine freshly added to its quiver, GitHub gives corporate development teams one way to boost security of their open source software.

How to fix the Eclipse 'No Java virtual machine was found' install error In need of a quick fix for the Eclipse "No Java virtual machine was found" error during an Ubuntu or Windows installation? Here's how to fix the Eclipse JRE and JDK errors.

Ecstasy programming language targets cloud-native computing Startup Xqiz.it has a new Ecstasy programming language that aims to arm developers for the cloud-native computing era with features that Java and other programming languages lack.

Java SE 13 adds performance, security, stability features Java SE 13 provides developers with new features to make the Java language and platform more secure and stable. Oracle has also rolled out free cloud services and developer tools.

10 Oracle Code One 2019 sessions to check out If you're in San Francisco for Oracle Code One 2019, here are 10 sessions to visit to make the most out of your conference experience and chat with TheServerSide's Cameron McKenzie.

How to get the most out of Oracle Code One 2019 There's a lot to digest at Oracle Code One 2019. Here's some sage advice from a conference veteran to make the most out of your experience in San Francisco.

Eclipse completes enterprise Java move with Jakarta EE 8 The Eclipse Foundation has assumed control of the Java EE enterprise platform and specifications from Oracle and has launched an all open source version of the technology.

How to deploy a JAR file to Tomcat the right way How do you deploy a JAR file to Tomcat? Typically you deploy WAR files, not JARs. But if you need to link to a JAR file from a Java web app on Apache Tomcat, here's how to do it.

Microsoft gains instant Java credibility with jClarity buy Microsoft has acquired jClarity to help optimize its Azure cloud platform to run Java workloads, a coveted target for the now open source-friendly software giant.

Tips on how to successfully bring AI culture to dev teams The popularity of AI makes it an appealing option for some enterprises, but there's no one surefire option to implement AI culture with your staff. Follow these tips to open the door for AI in your ...

Fix JAVA_HOME errors quickly | Invalid directory | Not set or defined | Points to JRE 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.

Hibernate vs JPA: What's the difference between these database ORM APIs? 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.

Microsoft Visual Studio Code installer supports AdoptOpenJDK Microsoft targets Java developers with a Visual Studio Code installer for Java that takes care of the overall Visual Studio Code setup for developers.

Pivotal Spring Runtime extends Java support, company lifeline Pivotal's distribution of OpenJDK, the open source version of Java, joins the ranks of Amazon, Azul, IBM, Red Hat and others that provide long-term Java support.

How to force JDK 1.8 in the Maven compiler plugin POM entry https://youtu.be/gbqeN982ulY 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 ...

Five ways to fix Git's 'fatal: repository not found' error Frustrated by Git's 'fatal: repository not found' error message? Here are five ways to fix that problem and successfully clone, fetch and pull from your repo.

How to install Tomcat as your Java application server Doing Java web development and need to install Tomcat? This example will show you how to download, meet prerequisites, install and test the popular Java web server.

How not to write a Git commit message I'm working on an article that outlines how to write a good Git commit message, along with a variety of Git commit message conventions and rules that developers should follow. But, as I write about ...

An example of UnaryOperator in functional Lambda expressions Do you need an example of how to use Java's UnaryOperator in a functional Lambda expression? This tutorial shows you where when and how to use the UnaryOperator interface in a function.

NetBeans Java IDE becomes top-level Apache project The NetBeans Java development environment has achieved top-level project status at the Apache Software Foundation, a leading open source software project hosting organization.

How to write a screen scraper application with HtmlUnit Interested in how to write a Java screen scraper application with HtmlUnit instead of JSoup? Here's a screen scraper example to help you get started with content aggregation.

Red Hat replaces Oracle as OpenJDK 8, OpenJDK 11 steward Red Hat has taken control of two popular versions of the open source Java implementation, so developers can continue to build apps after Oracle's support ends.

JavaScript popularity drives TypeScript adoption among devs More developers choose to work with JavaScript to build web, server-side and mobile applications, while TypeScript has quickly gained traction, according to recent analysis.

Oracle's Java 12 adds developer productivity features The latest version of the Java Platform, Standard Edition, delivers new features to make developers more productive with the Java programming language.

Red Hat eyes cloud-native Java future with Quarkus Red Hat's Quarkus project aims to raise Java up to the cloud and update the popular programming language for cloud-based computing situations and projects.