![]() |
|||||||
![]() |
|||||||
|
Applications
When should I use a local FactoryFinder vs. the FactoryFinder utility? The rules follow easily if you remember that you're dealing with persistent objects which have relationships that must be expressed in the object's store. If the object you are creating has an association with another object, and either the object you are creating is persistent or the object on the other end of the association must store that relationship (i.e., there is a way to obtain the object you are creating from that other object), then you MUST use a factory from that same server. The easiest way to obtain such a factory is to use a local factory finder provided by that server. See the section Creating Entities in the Application Development guide for instructions.
|
|
||||||||||||||||||