5.1. Application Layout

Personalized Welcome application layout. 

The layout of the application here is same as the one we used for the static welcome application except that here we have a second template and specification in addition to a couple of JavaBeans classes and a localized properties file (Home.properties).

The properties file is placed alongside the component specification. The name of the properties file follows the name of the component with an appropriate locale suffix and the .properties extension.

The JavaBeans classes will be placed in the classes folder under WEB-INF as per the servlet specification. The source for the classes can be placed anywhere; we have placed them just outside of the application context.

We do away with the application specification by following the Tapestry Lite rules.