Java application deployment
Taking a program from lines of code to a functioning Java application requires several important steps and tools. Before application deployment, a Java Runtime Environment must be put in place. The next step in Java application development is to use either a Java Plug-in or Java Web Start to deploy the application. In this section, find the news, research, and tutorials you need to deploy Java apps. Learn the different steps Java developers need to take, and find tips and best practices to help make enterprise application deployment fast and successful.
Top Stories
-
News
24 Oct 2022
Developers want improved performance, efficiency in Java 20
Java 20 will likely include useful features such as improvements to concurrency and profiling, but the incremental updates are unlikely to please everyone. Continue Reading
-
Feature
30 Aug 2022
Funny JavaScript for programmers who love literature
Learn about the book 'If Hemingway Wrote JavaScript' by Angus Croll and how JavaScript gives programmers the ability to create interactive code. Continue Reading
-
Tip
13 Apr 2022
Either log or rethrow Java exceptions, but never do both
When an exception occurs in your Java code, you can log it or you can rethrow it -- but don't do both. Here's why you must avoid that exception handling antipattern. Continue Reading
-
Blog Post
25 Dec 2021
Simple Struts 2 file upload example
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 ... Continue Reading
-
Blog Post
29 Nov 2021
Kubernetes vs Docker Compose: What's the difference?
Confused between the difference between Kubernetes and Docker compose? Here we explain how the two DevOps construct are similar, and how they are different. Continue Reading
-
Blog Post
01 Aug 2021
RPA examples that prove robotic automation works
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. Continue Reading
-
Answer
27 Jul 2021
Kubectl apply vs. create: What's the difference?
The Kubernetes command-line tool, kubectl lets you control your Kubernetes clusters. But two of its operations -- apply and create -- can often be confused. Continue Reading
-
Answer
26 Jul 2021
Vagrant vs. Docker: How these cloud-native tools differ
Both Docker and Vagrant are important parts of a cloud-native stack, but they have very different roles when it comes to supporting containers and VMs within the CI/CD process. Continue Reading
-
Quiz
20 Jul 2021
Introduction to Docker quiz
These Docker questions and answers will test your knowledge of the fundamentals of Docker, but it won't be easy. Take this quiz and see if we can stump you. Continue Reading
-
Answer
26 May 2021
Terraform vs. Ansible: How do these DevOps tools differ?
There is some overlap between the two tools, but they really should coexist. Here we show you where Ansible and Terraform fit into your cloud-native, DevOps stack. Continue Reading
-
Answer
20 May 2021
Is a Docker or Kubernetes certification worth it?
Some DevOps professionals shun industry certifications. But in the cloud-native world, Docker and Kubernetes certifications make prospective job candidates stand out from the rest. Continue Reading
-
Tip
30 Apr 2021
10 Jenkins alternatives for developers
Looking for an alternative to Jenkins in your CI/CD environment? Consider options from Atlassian, GitLab, Spinnaker and more to see if they better fit your development needs. Continue Reading
-
Answer
23 Apr 2021
Kubernetes vs. Docker: What's the difference?
To succeed in cloud native development, developers need to know their way around Kubernetes and Docker. Here are the basics on these two container technologies. Continue Reading
-
News
08 Apr 2021
Microsoft previews OpenJDK distro to the delight of devs
In a move meant to attract more Java developers to its Azure cloud and further support the Java community, Microsoft launched a preview of its own distribution of OpenJDK. Continue Reading
-
Blog Post
30 Mar 2021
How to run Jenkins builds on Docker example
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. Continue Reading
-
News
25 Mar 2021
AdoptOpenJDK moves to Eclipse Foundation as Adoptium
The Eclipse Foundation has launched a new working group to provide governance, IP services and developer advocacy for Adoptium, the newly renamed AdoptOpenJDK distribution of the OpenJDK spec. Continue Reading
-
News
16 Mar 2021
Oracle delivers Java 16 to developers
Oracle has released Java 16, the latest version of the Java Development Kit (JDK) for developers. The company also moved the OpenJDK source code repositories from Mercurial to Git. Continue Reading
-
Blog Post
28 Dec 2020
A Jenkins YAML pipeline 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. Continue Reading
-
Blog Post
23 Dec 2020
How to run Jenkins on AWS by example
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 ... Continue Reading
-
Blog Post
22 Dec 2020
How to implement a remote Jenkins build trigger with a URL
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. Continue Reading
-
Blog Post
06 Dec 2020
Jenkins shared libraries in pipelines example
Keep complex logic out of your build scripts and take advantage of Jenkins shared libraries instead. Continue Reading
-
Blog Post
04 Dec 2020
Full GitHub Actions environment variables list for YAML build workflow scripts example
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 ... Continue Reading
-
Blog Post
03 Dec 2020
Jenkins GitHub Webhook build trigger by example
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 ... Continue Reading
-
Blog Post
30 Nov 2020
10 best GitHub Actions examples
Here are the 10 best GitHub Actions examples for developers and DevOps admins that want to learn and master continuous integration and deployment. Continue Reading
-
Blog Post
30 Nov 2020
How to publish GitHub Actions artifacts by example
Here's a simple example on how a developer can publish GitHub Actions artifacts for download once a build workflow successfully completes. Continue Reading
-
Blog Post
09 Nov 2020
Jenkins Installer for Windows
The Jenkins installer makes installation of the popular CI/CD tool incredibly easy. Follow these simple steps and you'll have the continuous integration server running on Windows in no time. Continue Reading
-
Blog Post
06 Nov 2020
Jenkins GitHub Integration for CI/CD Pipelines example
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. Continue Reading
-
Blog Post
05 Nov 2020
How to run the Jenkins WAR file example
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 Continue Reading
-
Blog Post
04 Nov 2020
Fix the Jenkins "No such DSL method with Maven found" error example
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. Continue Reading
-
Blog Post
04 Nov 2020
'403: No valid crumb' Jenkins GitHub webhook error fix
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. Continue Reading
-
Blog Post
01 Nov 2020
How to install Jenkins on Ubuntu 20.04 by example
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. Continue Reading
-
Blog Post
01 Nov 2020
A declarative Jenkins pipeline for Ant builds on Docker example
The easiest way to build your Apache Ant projects in Jenkins is with a pipeline and a Jenkinsfile that takes advantage of an Ant based Docker container. In this Apache Ant, Docker and Jenkins ... Continue Reading
-
Blog Post
01 Nov 2020
How to use Jenkins with Ant to build your Java apps
Here's a simple example of how to build your Java apps in Jenkins with Ant. We demonstrate both the Jenkins Ant plugin and the Jenkins pipeline approach with a Jenkinsfile as well. Continue Reading
-
Feature
24 Aug 2020
How to scale automation in DevOps environments
With the right tools and processes, programmers can automate at scale many of today's manual tasks. Here's how one company developed automation-at-scale best practices. Continue Reading
-
Blog Post
09 Aug 2020
Apache Struts 2.5 with no Struts config XML file example
Learn to develop a modern Java web application with this Apache Struts 2.5 example. No Struts config XML files are required. This zero-config Struts example goes without! Continue Reading
-
News
11 Jun 2020
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. Continue Reading
-
Podcast
29 May 2020
Focus on the artifact for an organizational DevOps strategy
JFrog Shippable aims to simplify pipeline management. JFrog VP of Engineering Avi Cavale discusses strategies to implement DevOps with TheServerSide's Cameron McKenzie. Continue Reading
-
News
28 May 2020
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. Continue Reading
-
Blog Post
29 Apr 2020
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 ... Continue Reading
-
Blog Post
21 Apr 2020
Kubernetes 1.18 adds more power, addresses shortcomings
Kubernetes is no doubt a powerful technology, but it has its shortcomings. For example, debugging under Kubernetes has always been a challenge. When it started out, Kubernetes was intended to run ... Continue Reading
-
Blog Post
20 Apr 2020
Kubernetes adoption continues to rise, according to CNCF Survey 2019
Kubernetes is a game-changing technology in the world of container orchestration. Its adoption has seen a meteoric rise in production use since its release in 2014. A 2019 survey conducted by the ... Continue Reading
-
Feature
31 Mar 2020
Developing a COVID-19 application? Design it the right way
Application developers with skills and an idea could design an app to combat the virus. Follow these insights to effectively design and deploy a coronavirus-related app. Continue Reading
-
Video
31 Jan 2020
How to use the Jenkins multi-configuration project
In this Jenkins Matrix project plugin example, create a two-dimensional build job that runs 16 build jobs at once. Continue Reading
-
Tutorial
30 Jan 2020
Why the 8 Java primitive data types are not objects
What's the difference between Java primitive types and objects? To start, don't classify primitive types as objects. Let's explore the 3.5 categories that primitive types fall into. Continue Reading
-
Feature
30 Jan 2020
A brief history of Java: How it forever changed programming
The Java programming language is an important tool in an application developer's quiver. But Java has also undergone many changes on the road to becoming the standard it is today. Continue Reading
-
Tutorial
27 Jan 2020
How to properly perform Java String comparisons
Don't let incorrect Java String object comparisons bog down your code. Follow this tutorial to understand the differences between =, == and .equals. Continue Reading
-
Blog Post
07 Jan 2020
5 technology predictions for 2020
As the old saying goes, "the more things change, the more they stay the same." I find this saying to be particularly true when it comes to technology. Even though it's become more complex, the ... Continue Reading
-
Blog Post
18 Dec 2019
How to deploy a WAR file to Tomcat 5 different ways
Tomcat WAR deployment example 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 ... Continue Reading
-
Video
16 Dec 2019
How to test and deploy WARs with Tomcat and Eclipse
With the proper configuration and integration, it's easy to deploy WAR files from Eclipse to Tomcat. Follow these five steps that every developer should know. Continue Reading
-
Blog Post
27 Nov 2019
Find the right pull request workflow for your dev projects
At the heart of all large-scale software development projects are the communications patterns required to keep everyone on the same page. The dawn of Git as a distributed version control system ... Continue Reading
-
Video
26 Nov 2019
Tomcat vs. Jetty: How these Java application servers compare and differ
What is your Java application server of choice? Where you stand on the Jetty vs. Tomcat debate probably lends a hand to which one you use in production. Continue Reading
-
Blog Post
26 Nov 2019
What type of developer are you: A technician or an artist?
When I used to work for a big computer manufacturing company, I once had a boss with an interesting hiring philosophy. He divided technical talent into two groups: technicians and artists. If he ... Continue Reading
-
Tutorial
13 Nov 2019
A Jenkins tutorial for beginners with examples
If you're ready to try Jenkins, this quick start tutorial lays out the specific steps you'll need to take to download and install the CI tool on your local machine. Continue Reading
-
News
25 Oct 2019
AWS ups Java support, joins Java Community Process
By joining the Java Community Process, AWS will have its say over how the Java language and platform will evolve to meet the needs of cloud-native computing environments. Continue Reading
-
Video
24 Oct 2019
Tomcat vs. Apache HTTP Server: What's the difference?
Don't get caught up in the improper phrasing of "What's the difference between Tomcat and Apache?" Let's straighten out the confusion and compare the two server offerings. Continue Reading
-
Blog Post
29 Sep 2019
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. Continue Reading
-
News
18 Sep 2019
Eclipse launches Che 7 IDE for Kubernetes development
The Eclipse Foundation has introduced Eclipse Che 7, a new version of the Eclipse Che cloud-based integrated development environment aimed at creating applications on Kubernetes. Continue Reading
-
News
17 Sep 2019
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. Continue Reading
-
Blog Post
15 Sep 2019
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. Continue Reading
-
Blog Post
04 Sep 2019
How to deploy a JAR file to Tomcat by example
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. Continue Reading
-
Video
29 Aug 2019
Step-by-step Jenkins Tomcat deploy of a WAR file
You can use Jenkins to deploy a WAR file to a container in your environment in four easy steps. Follow along to learn how to push your Jenkins pipeline to deploy to Tomcat. Continue Reading
-
News
20 Aug 2019
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. Continue Reading
-
Video
14 Aug 2019
Step-by-step Maven Tomcat WAR file deploy example
Five simple steps are all that's needed to deploy WAR files with the Tomcat-Maven plugin. Use the following steps for a successful deployment in your environment. Continue Reading
-
Video
29 Jul 2019
How to use Spring Boot application.properties file to externalize configuration
Don't wait to externalize data in your Spring configuration any longer. Master the application.properties file with this example to get more from your data. Continue Reading
-
Feature
23 Jul 2019
How to set JAVA_HOME in Windows and echo the result
Set JAVA_HOME properly and echo your results with the following tidbits, and also examine how a proper PATH installation can benefit your local environment. Continue Reading
-
Blog Post
16 Jul 2019
Fix JAVA_HOME errors | 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. Continue Reading
-
Feature
02 Jul 2019
What are the differences between EAR, JAR and WAR files?
JAR, WAR and EAR files provide options in a Java application deployment. Let's compare these file types and determine which one is right for which environment. Continue Reading
-
Video
12 Jun 2019
The top Java deployment tools to use on your next project
Java application deployment tools such as Maven and Gradle can be beneficial for your IT team. Compare those and other options, along with frameworks, to ease this process. Continue Reading
-
News
07 Jun 2019
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. Continue Reading
-
Guide
23 May 2019
Master Git basics and branch into DVCS
This Git guide focuses on some of the most basic information and tips. With a solid foundation, developers will be better equipped to get the most out of Git and Github. Continue Reading
-
News
26 Apr 2019
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. Continue Reading
-
News
18 Apr 2019
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. Continue Reading
-
Feature
27 Mar 2019
Encrypted computing approaches practical app development
A new technology could make it easier to write apps that don't have to decrypt data and, therefore, improve security without a compromise made for development. Continue Reading
-
News
22 Mar 2019
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. Continue Reading
-
News
07 Mar 2019
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. Continue Reading
-
Tip
31 Jan 2019
Developers find cautious optimism for serverless platforms
Experts urge cautious optimism around serverless development. It has its benefits, but tools that don't work as expected and a developer learning curve can cause some problems. Continue Reading
-
Opinion
11 Dec 2018
What is the preferred developer operating system?
Does the developer operating system play a part in the SDLC equation anymore? Well, it depends on what you're programming. Mobile and cloud development demand different OS best practices. Continue Reading
-
News
16 Nov 2018
Amazon Corretto extends OpenJDK support
With Java among the most popular languages on AWS, Amazon spins out its own distribution of the OpenJDK open source Java implementation with long-term support that exceeds Oracle's. Continue Reading
-
Opinion
22 Oct 2018
4 reasons why Gradle may be the right Java build tool
When it comes to building Java projects, developers need to pick the right tool for the job. Gradle separates itself from the pack with its emphasis on plugins and flexibility. Continue Reading
-
Video
15 Oct 2018
How to deploy Docker Hub-hosted microservices in AWS ECS
In this AWS ECS tutorial, we take a Spring Boot app contained in a Docker Hub-hosted image and deploy the associated microservices in AWS using Elastic Container Service. Continue Reading
-
Video
26 Jul 2018
Step-by-step Spring Boot RESTful web services example in Java using STS
In a previous tutorial, we explained the basic tenets of good RESTful web service design. In this step-by-step Spring Boot restful web services example, we implement it. Continue Reading
-
Tutorial
12 Jul 2018
Jenkins Git integration: GitHub pull request via the Git plugin
This Jenkins Git integration tutorial demonstrates how to create a freestyle build job that performs a Jenkins GitHub pull request. It's an example of the Jenkins Git plug-in in action. Continue Reading
-
Feature
26 Jun 2018
Red Hat's Operator Framework set to overhaul Kubernetes clusters
Operator Framework is designed to ease deployment and management of apps on top of Kubernetes clusters. We break it down with former CoreOS CEO Alex Polvi. Continue Reading
-
Opinion
12 Jun 2018
Jenkins vs. Maven: Compare these build and integration tools
DevOps advocates are often asked for a Jenkins vs. Maven comparison. But those asking often discover that Maven-Jenkins integration is the true path to continuous integration success. Continue Reading
-
Feature
05 Feb 2018
Containers and the cloud push middleware technology forward
Is the application server dead? Not really. But the role of middleware technology has certainly changed in ways that impact both operations and developers. Continue Reading
-
Blog Post
22 Nov 2017
The impact of Java SE 9 on operations and development teams
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 ... Continue Reading
-
Guide
16 Aug 2017
Amazon S3 outage: A guide to getting over cloud failures
Developers have taken the Amazon S3 outage and learned to build failover and resiliency into a Java cloud application. Learn about the dangers of moving apps to the cloud. Continue Reading
-
Feature
10 Aug 2017
Effective DevOps change management for versioning cloud apps
There are many ways to go about versioning your cloud applications, but new approaches may need to be implemented when performing DevOps change management. Continue Reading
-
Feature
19 Jun 2017
How cheap eye tracking software changes the app development game
Find out what the advent of low-cost eye tracking software means for the future of both marketing and application development. Continue Reading
-
Feature
14 Jun 2017
Changing lives through improved application performance
Find out how Cure.org improved application performance management to fine tune their website, increase donations, and make a difference around the world. Continue Reading
-
Feature
02 Jun 2017
How evolutionary architecture simplified hypothesis driven development
Learn how a new approach to evolving technical architectures promises to make it easier to test out hypothesis about business improvement, application performance, and user experience. Continue Reading
-
Podcast
09 May 2017
Connecting the 'DevOps, Agile and Java cloud native applications' dots
A concise definition of both DevOps and cloud native computing is elusive, but Cisco's Ken Owens presents a unified theory that pulls together the Java cloud, Agile, microservices and containers. Continue Reading
-
News
01 May 2017
DevOps strategies focus of Gene Kim, new Tasktop strategic adviser
Tasktop, focusing on improving software delivery processes, is working on a framework for defining how to architect end-to-end software delivery with the help of a DevOps pioneer. Continue Reading
-
Feature
21 Apr 2017
Being Java cloud native means more than containers and microservices
Many traditional developers are worried that the cloud-native trend is leaving them behind. Fortunately, help is on its way to make existing code more Java cloud native compliant. Continue Reading
-
Feature
19 Dec 2016
Is development time theft stealing DevOps productivity?
Is your project suffering from deveopmenht time theft, and is that time theft hurting productivity? Here we take a look at the most common ways time theft hurts DevOps productivity. Continue Reading
-
Video
08 Dec 2016
Standardizing app staging a key benefit to a Java configuration API
Payara's Mike Croft talks about the potential benefits of making a Java configuration API a standard part of the Java EE specification. Continue Reading
-
Blog Post
19 Oct 2016
How to engage future generations of programmers with Java
As every JavaOne conference makes clear, Java is going to be around long after the current crop of attendees has been rendered obsolete. Continue Reading
-
News
21 Sep 2016
Just like last year, JavaOne 2016 showcases Java 9 enhancements
With no particularly new announcements surrounding the Java platform, JavaOne 2016 has a more subdued feel than conferences in years past. Continue Reading
-
News
21 Sep 2016
From JShell to Jigsaw, reactive programming is built into Java EE
If we learned one thing from the JavaOne 2016 keynotes, it's that the Java EE platform is built to enable reactive programming. Continue Reading
-
News
16 Sep 2016
Easing Jenkins and Docker integration pains at Jenkins World 2016
Many organizations are struggling with Jenkins and Docker integration, but CloudBees CEO Sacha Labourey says guidance can be found at Jenkins World 2016. Continue Reading
-
News
14 Sep 2016
DevOps adoption holds benefits for large and small organizations alike
It's easy for small organizations to embrace DevOps adoption. At Jenkins World 2016, larger organizations are talking about how to achieve success. Continue Reading
-
News
14 Sep 2016
Jenkins World 2016: Why Pipeline is so popular
While there is plenty to discuss at Jenkins World 2016, the Jenkins Pipeline plug-in is clearly the topic getting the most attention. Continue Reading