I know seam provides EntityHome and EntityQuery for the purpose of CRUD,paging functions.
I noticed that class net/taylor/seam/AbstractEditorBean.java extends EntityHome, which is great. I always likes DRY principle.
but why class net/taylor/seam/AbstractFinderBean.java does not extend EntityQuery?
Is there any special concern?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I started off extending EntityQuery but I had problems using it. So I switched back to something more like what I generated in the last release. I don't remember what the issue was. Something to do with conversions and SFSBs. So I ended up with a hybrid.
One other thing to note about the CRUD pattern in this release is that it is geared towards future ajax support. I tried just about every ajax/jsf framework out there, but none worked in a portlet environment. They all claim they will support portlets in 07Q1. We will see... In preparation for ajax this release follows less of a navigation approach and more of a re-rendering approach. It seems to work well, but I bet I'll eventually end up with a mixed approach.
btw, i'm off on a short vacation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know seam provides EntityHome and EntityQuery for the purpose of CRUD,paging functions.
I noticed that class net/taylor/seam/AbstractEditorBean.java extends EntityHome, which is great. I always likes DRY principle.
but why class net/taylor/seam/AbstractFinderBean.java does not extend EntityQuery?
Is there any special concern?
Thanks
I started off extending EntityQuery but I had problems using it. So I switched back to something more like what I generated in the last release. I don't remember what the issue was. Something to do with conversions and SFSBs. So I ended up with a hybrid.
One other thing to note about the CRUD pattern in this release is that it is geared towards future ajax support. I tried just about every ajax/jsf framework out there, but none worked in a portlet environment. They all claim they will support portlets in 07Q1. We will see... In preparation for ajax this release follows less of a navigation approach and more of a re-rendering approach. It seems to work well, but I bet I'll eventually end up with a mixed approach.
btw, i'm off on a short vacation.
Thanks and enjoy your vacation!!!