DynaActionForms don't require any (or much) Java code; ActionForms do.
This is stated in the docs:
Instead of creating a new ActionForm subclass and new get/set methods for each of your bean's properties, you can list its properties, type, and defaults in the framework's configuration file.