Using the Sun Data Mashup Engine

ProcedureTo Create a Data Mashup Application Configuration (From NetBeans)

  1. On the NetBeans IDE, click the Services tab.

  2. Start the GlassFish server.

  3. Expand Servers > GlassFish V2 > JIB > Service Engines.

  4. Right–click sun-edm-engine and select Properties.

  5. Click the Ellipses button next to the Application Configuration property.

    The Application Configuration Editor appears.

  6. Click Add.

    An empty row appears.

  7. Enter the following information (click in the blank cell under a column name to add a value):

    • Configuration – A unique name for the application configuration.

    • DataDir – The path to the source data files.

    • DynamicFlatFile – An indicator of whether the Data Mashup SE uses the file name passed in the input query (in the URL or SOAP request, for example). When the property is set to “true”, the Data Mashup SE uses the file name in the input query. When the property is set to “false”, the Data Mashup SE constructs the file path using the value of the DataDir property plus the file name passed in. When this property is not set, it defaults to user.home.

    • SourceConnection#– The JNDI names of the JDBC resources you created above.

    • WorkingDir – The directory where temporary virtual database instances are created. If not set, this defaults to user.home.

  8. Click Save.