Apache TomEE

Apache TomEE is an enterprise-ready Java server, created based on Apache Tomcat with the implementation of the MicroProfile and Jakarta EE features. The extended comparison of the supported functionality is provided on the official documentation page.

Jelastic PaaS provides four different distributions of TomEE:

  • WebProfile - delivers the Jakarta EE implementation, including Servlets, JSP, JSF, JTA, JPA, CDI, Bean Validation and EJB Lite
  • MicroProfile - extends WebProfile options with full support for MicroProfile
  • Plus - contains all technologies in the MicroProfile with addition of JAX-WS, JEE Connectors, and JMS
  • PluME - supports all in the Plus profile, includes Eclipse Mojarra and EclipseLink (this distribution is needed for organizations that are migrating from Eclipse Glassfish to the Apache TomEE project)

TomEE application server runs without any additional runtime requirements or startup time for larger applications and is compatible with most of the Tomcat-aware and Tomcat-tested tools. Below, we’ll describe how to get Apache TomEE up and running in Jelastic PaaS.

1. Log into the Jelastic dashboard and click the New Environment button.

new environment button

2. In the topology wizard dialog, select TomEE as your application server (on the Java tab). If needed, configure node scaling (vertical and horizontal), public IPs, environment name, etc. Click Create when ready.

TomEE envronment topology wizard

Tip: Jelastic PaaS provides a one-click Auto-Clustering option that automatically configures a highly available TomEE cluster.

TomEE auto-clustering

As a result, you’ll get a ready-to-go Java cluster with the scalable number of the interconnected TomEE servers with pre-configured session replication and load balancing.

3. Your new environment with the Apache TomEE Java application server will be created in a minute.

open TomEE in browser

Click the Open in Browser button to access the server’s default page.

Apache TomEE home page

Now, you can proceed to the application deployment.

Tip: Tomcat and TomEE servers are provided with a special HOT_DEPLOY variable (not set by default) that defines whether the server should be restarted (false, disabled, 0) or not (true, enabled, 1) during the application deployment.

TomEE hot deploy variable

Hot deploy (without restart) is relatively faster and allows avoiding downtime during the deployment process. However, it is not supported by some applications and thus is disabled by default.

What’s next?