1 Reply Latest reply on May 19, 2002 1:55 PM by colinthorburn

    Listing Records in Order

    david_cohoon

      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?

        • 1. Re: Listing Records in Order
          colinthorburn

          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.