WebContent/WEB_INF/classes
My question has to do with path: WebContent/WEB_INF/classes
My understanding of these directories are the following:
WebContent – the folder contains contents of the WAR file that will be published to the app server. It contains all Web resources including HTML files, JavaScript, JSP files and graphics needed for the application,
WebContent/WEB-INF – the folder contains the supporting Web resources for a Web application, including the web.xml deployment descriptor file and the classes and lib directories. The web.xml file contains general information about the Web application, including Servlet mappings, security information, and the welcome page.
WebContent/WEB-INF/classes - The WebContent/WEB-INF/classes folder contains servlets, utility classes, and the Java compiler output directory. The classes in this directory are used by the application class loader to load the classes. Folders in this directory will map package and class names. The .class files are automatically placed in this directory when the Java compiler compiles the source files from the source directory. Any files placed directly in this directory will be deleted by the Java compiler when it runs.
OK - thats some decent information. That said - one area that has me confused is the classes directory. How is the directory populated? Or what is the process? You have multiple classes here – how are they created? Utility classes - how? Are they created from the java source code files? Can they be documented (via APIs)?
Consider this a newbie question coupled with a brain hiccup.
Any comments offered here would be appreciated - thanks...