Using the Sun Data Mashup Engine

Sun Data Mashup Engine Application Configuration

This topic provides information about the Sun Data Mashup Engine application configuration feature, which enables the dependencies to be externalized and configured. When projects are moved from Development->Staging->Production, this feature can be used to migrate by configuration through the Sun GlassFish Enterprise Server Admin Console or the AppConfig Editor available through the JBI Manager. Using this feature, datasource connectivity configuration at Design–time can be overridden by associating the connection identifiers with jndi resources.


Note –

Requires Java CAPS 6 Update 1 or Sun GlassFish ESB.


ProcedureTo Configure the Data Mashup Application Engine

  1. 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.

  2. 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.

  3. In the Admin Console use the Configurations tab to create configuration entries.

    1. Under Common Tasks, select JBI->Components, and then highlight the component you want to configure.

      For example, sun-edm-engine.

    2. Under the Configurations tab, set the SourceConnection1 and SourceConnection2.

      For example, SourceConnection1 might equal jdbc/derbypool and SourceConnection2 might equal jdbc/mysqlpool.

  4. 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.

  5. Deploy the project.

    After you have deployed the project, your changes to the configuration are applied, providing you with a runtime switch of connections.

See Also