Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Pave/Patterns/Crud
Crud Session Bean Pattern is applicable to entity source files. It creates a session bean and fills it with methods that provide crud actions on an entity plus some additional methods to provide search and paging. It consists of three separate data model operations.
First one takes care of creating necessary projects, collect information on which entities CRUD will be generated. Second operation comes directly from WTP. It creates the session bean. The third operation fills the generated bean with necessary methods.
Input parameters are collected through 4 wizard pages. On the first one user can select entities to apply this pattern on.
On the second and third information on the session bean is collected.
On the final page user selects for which attributes he wants named queries and search methods are created.
Crud application pattern extends Crud Session Bean Pattern. It creates UI with jsf pages to test the generated CRUD façade and the jpa structure. It creates an ear project, a web model, installs jsf façade to it and registers navigation rules and beans in the faces-config.xml.
Through the generated UI user can search, create and delete rows, or edit an existing one.