>> The java folder is for your java source code, while the webapp folder is for
>> your web application source files such as jsp files. Create a jar project
>> through the quickstart archetype to get an example of the former and the
>> webapp archetype shows the latter.
>
>> /Anders
>Exactly, you have to see the source/main/<... structure as structure by
>type. A Servlet is mostly coded in java, so it is a java file,
>if you code it in groovy it would go into src/main/groovy
@Anders, @Wayne, @Werner: thanks for the clarifications, they fully answered my
immediate queries.
However, I do have one follow-up question. It seems that in the case of
webapps/web services it make sense to use maven (sub)modules, to that end how
many (sub)modules should one use? Is there a recommended/best practice? For
example does the following set of (sub)modules make sense?
web-service/ <-- directory that contains parent POM
| models/ (maven sub-module for entities)
| persistence/ (maven sub-module for DAOs)
| service/ (maven sub-module for web service logic)
| webapp/ (maven sub-module for the web app)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]