My web application pulls a collection of value objects from stateless session beans. I need to sort these objects by different values.
Should I create different finder methods in the ejb tier, or should I sort them within the presentation (jsp) tier.
Has anyone had to do something like this?
The choice is yours. Try both and pick the one which works best! If your sorting only a few objects, I'd be inclined to do it in the business logic layer. If it's something the database is better suited to, use it.