Introduction
This tutorial demonstrates how to deploy the ADF Essentials Summit Sample application on a Glassfish server using Docker containers. The guide covers database preparation, application server configuration, and deployment steps.
Prerequisites
Database Preparation
Create the following folder structure:
- init/
- scripts/
- Dockerfile
Download the Summit schema, copy database scripts, and create initialization files.
Database Docker Configuration
Build the Oracle XE container with the Summit schema initialized. The database container will handle schema creation automatically on first startup.
Application Server Setup
Download the required components:
Create the directory structure:
- webapps/
- lib/
Glassfish Configuration
Configure Glassfish with ADF Essentials libraries and the Oracle database driver.
Deployment Process
Building Docker Images
Build both the database and application server Docker images with the appropriate configurations.
Starting Containers
Start containers with specific network configurations to allow communication between the database and application server.
Accessing the Application
Once deployed, access the application at:
http://localhost:8080/SummitADF-ViewController-context-root/faces/index.jsf
Resources
Conclusion
Using Docker containers simplifies the deployment of ADF applications on Glassfish by providing consistent, reproducible environments for development and testing.