My FacadeFactory class provides three efundamental issues:
Constructs default facade implementations based on default smaller pieces(default lockManager,default DAO,...).
Provides a single access point to backend services.
Provides instance pooling
Has two static methods getLocalFacade (filepath ,islockingEnabled) that returns a facade implementation from the specified parameters and getRemoteFacade(port,alias) that returns a facade implementing proxy to a registry bound facade.