I have a web application that comprises the following:
Roll your own ConnectionFactory based on the Registry:
Pro:
Con: