I just thought of how to implement sorting. We are programming a client software that
talks to a session bean to get a value object that consists of a collection of
instances of a known class. Now we want to let the user of the client software to sort
that data. Since that data can be huge, we only retrieve five instances at each call.
So the sort needs to run on the server, since only the server knows all keys. My
question is: Does anybody know of how to manage this? I mean, I do not want to have a
server method that calls the finder, loads all entities, and then to sort it (what
would clearly work, but would be very slow). Also I do not want to use special finders
since then I would need to have one finder for every column the user can sort
(findByXSortByA, findByXSortByB, findByXSortByC...). Does anybody have an idea or know
an API for that? Maybe next generation EJB specs have something?
Thank you
Markus
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".