Have you tried seam-gen utility ? (see Seam docs)
It generates a CRUD application from database tables.
Thanks for ur reply
I did seam-gen it gave the functionality based on EntityQuery and EntityHome and it's working fine
but i want to write CRUD operations manually and i want to use DataModel and etc in my class for that which type of component is better to use