How to do it...

Follow these steps:

  1. To deploy EAR, WAR, and JAR files, the deployment folder is as follows:
$WILDFLY_HOME/standalone/deployments

For JAR files (such as Java Database Connectivity (JDBCconnections, for example), WildFly creates a flexible folder structure. So, the best way to distribute them is by using its UI, as we will show in the next step.

  1. Follow these steps to create your datasources and connection pool:
    1. To create a datasource and a connection pool to help you use databases in your project, start WildFly and visit the following URL:

http://localhost:9990/

    1. Click on Deployments and then click on the Add button. On the opened page, select Upload a new deployment and click on the Next button. On the opened page, ...

Get Jakarta EE Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.