Generally, the convention is that the webapp project should have UI only. All the
java code logic goes into a separate module that packages a Jar file. The webapp project should contain only the web.xml and the JSF/JSP files. This is reccomended because if you want to use your business logic in a differrent web app, or if you want to build command line utilities that use the business logic, you create seperate projects that use the business logic module. That's why you don't have
test and java folder. If you follow convention, you shouldn't need it
Also, archetypes do the most basic setup. If you do want java code in the WAR, you can always create the java folder.