1 Reply Latest reply on Aug 23, 2005 7:44 AM by Raja

    Change datasource on application run-time

    Steven Castelein Newbie

      The situation is as follows: I have an EJB which I want to deploy on multiple databases. When I locate the EJB I would like to specify which database I'd like to use. Also, I only want to define one EJB in the deployment descriptors.

      When the application is running I want to say get my EJB A from datasource X and another time EJB A from datasource Y.