I have two identically structured datasources. How do I at runtime, create a ejb to use one or the other. I know to use one I specify it in the jbosscmp-jdbc.xml / jaws.xml. This is working fine for me. I need to specify the datasource at runtime.
Any information to point me in the right direction would be appricative.
version - jboss 3.0.1
You could deploy the bean twice under different names and then choose the one to look up at runtime.