So that all said ...
Q: Is there any good technical reason why entity beans should not have query bean enhancement?
A: No.
Q: Longer term should entity bean and query bean enhancement be merged into a single agent that does both?
A: I think yes. "Query beans" have been around about 6 months now and are proving to be pretty good and I think it is pretty likely that in the future the query bean enhancement just becomes part of the "ebean-agent" (which already does entity bean and @Transactional enhancement).
At that point the "ebean-agent" would do:
- Entity bean enhancement
- @Transactional enhancement
- Query bean enhancement
I can't think of a reason why we would not do that, so I think it is just a matter of time before I make that change.
Cheers, Rob.