OpenSpirit enable cross-vendor, cross platform... Integration of Data and Applications
About Us Products Support Services Clients News Contact Us
Developer FAQ: Version 2.5.0 Developer FAQ Menu

Applications

When should I use a local FactoryFinder vs. the FactoryFinder utility?

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.

Back to Top ...

Site Map      Legal      Privacy
Planning Well
OpenSpirit Home