From: Jon M. <jo...@te...> - 2006-05-31 14:30:15
|
ResourceSummary was a performance enhancer for sending resource information through an RMI link. The Resource class when serialised would send keys (not references) to various BigString objects and fetching them through RMI would involve quite a bit of to and fro on the wire. So ResourceSummary is a non functional version of Resource that can hold all the important string values which can be serialised in one package. If you get rid of RMI it becomes redundant. (Well, let's say 'even more redundant') Jon Matthew Buckett wrote: > We have a class org.bodington.server.resources.ResourceSummary that > seems to be returned by a couple of routines in NavigationSession: > > public ResourceSummary getRootSummary() > throws BuildingServerException; > > public Vector childSummaries( PrimaryKey resource_id ) > throws BuildingServerException; > > but it seems like these methods never get called. What was the idea > with ResourceSummary and is it going to be developed further? > |