Collections or not

Hi.

First, sorry for my bad english :)

When I design a catalog and item (of any type) ... should I use a Collection for the catalog.

Usually, I need only a few data, and it could be a really large Collection (from a DB), and I want to list a couple of properties (and give some ordering-finding-pagination methods) ...

Should I create a class that have a collection of item objects? Or is any other "correct" way? Is any blueprint for this?

Am I clear?

thanks!

[504 byte] By [prunaa] at [2007-9-28 1:46:33]
# 1
Take a look at the iterator pattern.
wgowera at 2007-7-7 21:19:32 > top of Java-index,Other Topics,Patterns & OO Design...