A Dynamic Web Project is an Eclipse Java project that contains the source code, web pages, images, resources, and configuration files for building a web application.
8. Below is a summary of different parts of the web application structure.
Folder or file |
Overview |
workshop-jpa-tutorial |
Project folder with project name. |
/web (Web App Root) |
Root folder for web application artifacts. |
/Faces Configuration |
Lists JSF configuration elements. |
/JPA Configuration |
Displays a list of JPA persistent entities. |
/pages |
Folder for HTML and JSP presentation pages. |
/hsqlDB |
Contains Hypersonic Database. |
/Resources |
Supporting files in a zip format that are being used in the JPA application. |
/WEB-INF |
Holds folders / files used as part of the runtime web application. |
/classes |
Holds class files for the web application. |
/config |
Holds JSF configuration files. |
/lib |
Folder to hold third-party .jar files which are used at runtime, i.e., .jar files for logging, tag libraries, JDBC drivers etc. |
/src/java |
Folder to hold Java source files. |
/tld |
Folder to hold tag library definition files. |
web.xml |
Deployment descriptor for the web application. |
/web/WEB-INF/src/java |
Folder that maps to the src/java folder where you can place Java source files. |
/resources |
Folder to place the resource files. |
persistence.xml |
Persistence configurations file. |
application.properties |
Application configuration resource file. |
/Referenced Types |
Java classes referenced by web artifacts. |
In this step, we will learn how to explore databases using the DbXplorer. The BEA Workshop ORM Workbench allows you to connect to any database, analyze database schemas, tables, columns, and even populate the database with sample data.
The DbXplorer provides an intuitive interface for database access through the ORM Workbench. It allows to setup the database connection, review the database artifacts, query the data in an existing table or column, and generate object relational mappings.
DbXplorer view allows you to browse the database components.