0% found this document useful (0 votes)
128 views

Java Jakarta EEApplication Server Cheat Sheet

This document compares the key configuration details of Java EE and Jakarta EE application servers, including GlassFish, Payara, WildFly, OpenLiberty, and TomEE. It outlines the default ports, directories for deployment and configuration files, commands for starting and stopping servers, and approaches for adding libraries and data sources to each application server. Simple Dockerfile examples are also provided for each to demonstrate basic deployment of WAR files.

Uploaded by

Bradley Garcia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views

Java Jakarta EEApplication Server Cheat Sheet

This document compares the key configuration details of Java EE and Jakarta EE application servers, including GlassFish, Payara, WildFly, OpenLiberty, and TomEE. It outlines the default ports, directories for deployment and configuration files, commands for starting and stopping servers, and approaches for adding libraries and data sources to each application server. Simple Dockerfile examples are also provided for each to demonstrate basic deployment of WAR files.

Uploaded by

Bradley Garcia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

JAVA EE & JAKARTA EE APPLICATION SERVER CHEAT SHEET

Ports: 8080, 8181, 4848 (web server console) Ports: 9080, 9443
Domains: domain1 & production Default server: defaultServer
Auto-deploy: glassfish/domains/[domain_name]/autodeploy Auto-deploy: usr/servers/[server_name/dropins
Embedded database: H2 Embedded database: none per default
Config file: glassfish/domains/[domain_name]/config/domain.xml Config file: usr/servers/[server_name]/server.xml
Start bin/asadmin start-domain Start:bin/server start
Stop bin/asadmin stop-domain Stop:bin/server stop
Adding libraries: bin/asadmin add-library /path/to/yourjar.jar Adding libraries: Configure in server.xml
Adding connection pool: bin/asadmin create-jdbc-connection-pool Adding a data source: Configure in server.xml
... Simple Dockerfile:
Adding JDBC resource: bin/asadmin create-jdbc-resource ... FROM open-liberty:kernel
Simple Dockerfile: COPY server.xml /config/
FROM payara/server-full:latest COPY your-war.war /config/dropins
COPY your-war.war $DEPLOY_DIR

Ports: 8080, 8443, 9990 (web server console) Ports: 8080, 8443
Server Modes: standalone & domain Admin panel: http://localhost:8080/manager/
Auto-deploy: [server_mode]/deployments Auto-deploy: webapps/
Embedded database: H2 Embedded database: HSQL
Config file: [server_mode]/configuration/standalone.xml Config file: tomee.xml, server.xml, context.xml in config/
Start:bin/standalone Start:bin/catalina start
Stop:bin/jboss-cli –-connect command=:shutdown Stop:bin/catalina stop
Adding libraries: Create a new module within modules/ Adding libraries: Add to lib/ folder
Adding a data source: /subsystem=datasources/jdbc-driver= Adding a data source: Configure in config/tomee.xml
[driver_name]:add(...) Simple Dockerfile:
Simple Dockerfile: FROM tomee:latest
FROM jboss/wildfly:latest COPY your-war.war /usr/local/tomee/webapps
COPY your-war.war/opt/jboss/wildfly/standalone/deplyoments

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy