Mike Kienenberger wrote:
On 11/28/05, Simon Kitching <[EMAIL PROTECTED]> wrote:
The issue is that DataPage is something that the business tier needs to
deal with. And business tier code (eg EJBs) really should not be
returning objects descended from a JSF implementation.

In my opinion, a sub list model doesn't have use-cases outside of a
presentation framework.  I see such a class as more of an adaptor than
as something you'd have in your business layer.
I think you are right.
The chances to have a DataModel like structure in your business logic is more likely than to have a "paging" DataModel.

(No, I dont use DataModel in my bussiness logic, I just wanted to express how thin the layer between e.g. ListDataModel and java.util.List is)

---
Mario

Reply via email to