Most service object methods are being passed object IDs as parameters and
perform lookups to get the referenced objects. This is no longer necessary in
many cases, since many call sites already have a reference to the object in the
time of the call. We should examine the call hierarchy for each of these
methods and modify the type signature for the methods that are always called
with the required objects already in scope.
A perhaps better solution would be to change all the method signatures to use
object parameters instead of IDs and inject the DAOs to the servlets in order
to let them perform the initial lookup themselves.
Original issue reported on code.google.com by past...@gmail.com on 12 Oct 2010 at 12:33
Original issue reported on code.google.com by
past...@gmail.com
on 12 Oct 2010 at 12:33