Home > Articles > Programming

  • Print
  • + Share This
Like this article? We recommend

Directory Structure

Each of these subprojects gets its own directory structure and maven configuration files. Each subproject must be able to be built on its own without requiring a recompilation of the other subprojects. Although interdependency among the projects is necessary, it should not require recompilation in addition to that interdependency.

Therefore, the top-level directory structure is as follows:


In addition to the projects listed here, there is also a directory called common, which will be used to store the properties and configurations that are common among all of the subprojects.

Inside of each of the subprojects (util, web, and ejb) there is a full Maven directory structure. Both util and ejb have the following simple structure:


The web project has the following structure:


The additional directory under src contains all the JSP files and other web-specific files.

  • + Share This
  • 🔖 Save To Your Account