With the release of JPA, Set often maps better as an ORM relationship than List
in many situations. However, poor support for Sets in JSF often force the poor
use of Lists in JPA for applications that wish more direct use of their Domain
model in the view. UIData should support Sets which I believe is going to be
addressed but we need to make sure that other components correctly support Sets
as well. Once such component set is the UISelectMany set. The value of a
UISelectMany should be enhanced to support setting Arrays, Lists, Sets, and
perhaps even Collections.