Java Tutorials

Java Tutorials

Explore practical Java hosting tutorials for creating application-server environments, deploying projects, managing Java versions, configuring Maven, scaling applications, enabling clustering, securing servers, and connecting external services.

Getting Started

Overview

Java Developer’s Center

Review supported Java technologies, application servers, deployment methods, scaling, clustering, domains, and databases.

Open tutorial
JDK

Java Versions

Select a supported JDK distribution for a new environment or redeploy an existing Java container to another version.

Open tutorial
Environment

Setting Up a Java Environment

Create a Java topology with an application server, database, Maven node, load balancer, and the required resource limits.

Open tutorial
Variables

Java Options and Arguments

Configure JVM memory settings, system properties, startup arguments, debugging, and environment-specific options.

Open tutorial

Java Application Servers

Tomcat

Tomcat Server

Create, configure, scale, secure, and deploy applications to an Apache Tomcat environment.

Open tutorial
TomEE

Apache TomEE

Deploy enterprise Java applications with WebProfile, MicroProfile, Plus, or PluME distributions.

Open tutorial
Jetty

Eclipse Jetty

Create a lightweight Jetty application-server environment and prepare it for Java application deployment.

Open tutorial
GlassFish

GlassFish Application Server

Deploy Java EE applications, use the administration console, manage clusters, and configure public access.

Open tutorial
WildFly

WildFly Application Server

Create standalone or Managed Domain WildFly environments with deployment, scaling, and clustering support.

Open tutorial
Custom

Building a Custom Container

Build a custom Java container image, push it to a registry, and deploy it through the platform topology wizard.

Open tutorial

Deployment and Build Tools

VCS

Java VCS Deployment with Maven

Connect a Git or SVN repository, build a Java project with Maven, and deploy it to an application server.

Open tutorial
Maven

Maven Build Node Configuration

Manage Maven settings, toolchains, build hooks, project files, private keys, and build variables.

Open tutorial
Archive

Deploy Java Applications

Upload and deploy WAR, EAR, JAR, and ZIP application packages through Deployment Manager.

Open tutorial
Libraries

Upload JAR Files

Add shared Java libraries to Tomcat, TomEE, Jetty, or GlassFish and load them through a server restart.

Open tutorial

Scaling and Clustering

Cluster

Tomcat/TomEE Cluster

Create a highly available cluster with NGINX load balancing, session replication, and automatic scaling.

Open tutorial
Cluster

GlassFish Cluster

Deploy a GlassFish cluster through JPS or configure a manual topology with session replication and failover.

Open tutorial
Scaling

Automatic Vertical Scaling

Allow Java containers to consume additional RAM and CPU automatically up to configured Cloudlet limits.

Open tutorial
Scaling

Automatic Horizontal Scaling

Add or remove application-server nodes automatically according to CPU, RAM, network, and disk usage.

Open tutorial

Configuration and Security

Configuration

Java Application Server Configuration

Edit Tomcat, TomEE, Jetty, and GlassFish settings for one node or an entire application-server layer.

Open tutorial
Variables

Custom Environment Variables

Store application configuration outside source code using dashboard variables, shell profiles, or server configuration files.

Open tutorial
Security

Tomcat Security

Protect Tomcat applications with user authentication, role constraints, IP filtering, and firewall controls.

Open tutorial
Security

Jetty Security

Configure authentication, role-based access, client-address restrictions, and secure management practices.

Open tutorial

Advanced Integration

Monitoring

Java Agent Integration

Upload a Java agent JAR, configure the -javaagent JVM option, and enable monitoring or instrumentation.

Open tutorial
EJB

Remote Access to EJB on GlassFish

Create a remote EJB interface, deploy an EAR package, and connect a remote Java client through GlassFish.

Open tutorial
Database

Connect Java to a Database

Configure JDBC drivers, connection pools, JNDI resources, and private network access to managed databases.

Open tutorial
Domains

Multiple Domains on Tomcat

Host several applications and domain names through one Tomcat environment using virtual-host configuration.

Open tutorial

Recommended learning path

Start with Java Versions and environment creation, continue with the selected application server and deployment workflow, and then add scaling, clustering, security, and advanced integrations.

Important Notes

  • Available Java and application-server versions can differ by hosting provider.
  • Review application compatibility before changing JDK or server versions.
  • Use private networking for communication between application and database nodes whenever possible.
  • Back up production data and configuration before redeployment or major topology changes.
  • Replace the placeholder links with the final URLs of your documentation pages.