To correlate the connections with the Sun Java System Application Server (Sun GlassFish Enterprise Server) Admin Console Configurations screen, see the Edit Database Properties window in the EDM Editor.
The source connections, for example SourceConnection1 and SourceConnection2, listed in this window are the connections you need to overwrite. Configure the Connection Pools using the Sun Java System Application Server (Sun GlassFish Enterprise Server) Admin Console for the connections identified in step 1.
Start the Sun GlassFish Enterprise Server and open the Admin Console.
You are going to use Sun Java System Application Server Admin Console window to configure the connection pools you identified in step 1.
In the Admin Console use the Configurations tab to create configuration entries.
Under Common Tasks, select JBI->Components, and then highlight the component you want to configure.
For example, sun-edm-engine.
Under the Configurations tab, set the SourceConnection1 and SourceConnection2.
For example, SourceConnection1 might equal jdbc/derbypool and SourceConnection2 might equal jdbc/mysqlpool.
Associate the Service Unit Endpoint in the EDM Editor canvas to a particular Config Extension.
For example, here you are connecting a port, such as port1, to the (EDM) project, such as (EDM)yourProject.
Deploy the project.
After you have deployed the project, your changes to the configuration are applied, providing you with a runtime switch of connections.