In CMP beans is it possible to specify connection at runtime. I have a requirement where it is not certain which connection to use until a request is made.
- Posted by: VIVEK SHARAN
- Posted on: March 10 2003 16:02 EST
Follow the design patterns and implement according to that.
whether it is CMP or BMP doesn't matter.
USe the Factory patterns N U can implemenet the desired one you have asked,(i.e which connection to use at run time).