Tapestry Annotations
Tapestry relies heavily on Java annotations rather than XML files for configuration.
The majority of Tapestry annotations (those defined in the tapestry-core and tapestry-ioc modules) are very specific to Tapestry components or Tapestry IoC services.
annotations intended for use in page/component/mixin classes |
|
annotations for use by IoC services |
Annotations for data holding classes
In addition to the core and IoC annotations, there are a few annotations intended for data holding classes that are not Tapestry components; these annotations allow high-level components such as Grid and BeanEditForm to create powerful user interfaces with out any additional coding. Because these annotations are separated from the rest of Tapestry, they can be used inside your data tier classes without having to bring all of Tapestry into your classpath. This is very useful in multi-tier applications where data objects may originate in an application tier (such as a JEE application server) and travel to the presentation tier (a Tapestry application).
Upgrade Notes – Release 5.0.12
The artifact id for the annotations module has changed from tapestry-annotations
to tapestry5-annotations
. This is necessary to support Tapestry 4 and Tapestry 5 applications co-existing within a single WAR.