This figure shows the directory structure for a Basic WebApp with EBJ project.

The top level contains pom.xml and the directory src. Directory src contains the subdirectory main, which holds the subdirectories java, resources, scripts, webapp.

java contains the subdirectory org, which contains mycompany. Mycompany branches into three folders: entity, interceptor, and service.

resources contains the folder META-INF, which contains persistence.xml.

webapp contains the folders WEB-INF and css. It also contains index.xhtml and template.xhtml.