Designing Data Integrator Projects

Creating and Connecting to Data Mashup Services

If you want to use more than one data source for the data integration process, you can create a Data Mashup Service. Data mashup allows you to select multiple data sources of varying types and combine them into one target database. Source data can reside in files on your network or on the web in HTML, RSS, or Web Row Set format.


Note –

New in Java CAPS Release 6 Update 1, you can specify multiple data sources using the Data Integrator Wizard. If you are using multiple source files, you can either create the mashup here or you can use the Data Integrator Wizard to specify the sources directly.


ProcedureTo Create a Mashup Database for Source Data

  1. In the NetBeans main menu, select Tools, point to Virtual Database, and then select Create Virtual Database.

  2. On the New Virtual Database wizard, enter a name for the database and then click Finish.

  3. Click OK on the confirmation dialog box that appears.

  4. In the NetBeans main menu, select Tools, point to Virtual Database, and then select Add External Tables.

    The Add External Tables Wizard appears.

  5. Select the database you just created and then click Next.

    The Choose Data Source window appears.

  6. To add data sources, do any of the following:

    1. If the data source is on the web (such as HTML or Web Row Set), enter a URL for the data source and click Add.

    2. If the data source is a file on your network, brows to and select the input file. Click Add.

    3. Repeat the above steps for each data source.


      Tip –

      If you add a data source in error, highlight it in the table and then click Remove.


      Figure shows the Choose Data Source window of the Add
External Tables wizard.
    4. Click Next.

      The Enter Tables Details window appears.

  7. Enter table information for the table specified in the Table Name field, and then click Next.

    Figure shows the Enter Table Details window of the Add
External Tables Wizard.

    Depending on the type of file you selected, the Choose a Sheet, Choose a (HTML) Table, or Import Table MetaData window appears.

  8. If the Choose a Sheet or Choose a (HTML) Table window appears, do the following:

    • Select the name of the sheet that contains the data to use.

    • To view the data, click Preview.

      Figure shows the Choose a Sheet window of the Add External
Tables Wizard.
    • Click Next.

      The Import Table MetaData window appears.

  9. If necessary, modify the information required to parse the data source.

    The available options on this window vary depending on the type of data source. For more information about the properties you can modify, see Virtual Database Table Metadata Options.

    Figure shows the Import Table Metadata window of the
Add External Tables Wizard.
  10. Click Next.

    The Enter Column Properties window appears.

  11. Modify the properties for the database columns in the upper portion of the window.


    Tip –

    For more information about column properties, see Virtual Database Column Properties. If your data source does not contain field names, you should customize the column names for clarity.


    Figure shows the Enter Column Properties window of the
Add External Tables Wizard.
  12. Preview the source data in the lower portion of the window.

  13. Do one of the following:

    1. If there are additional data sources to configure, click Next. The wizard automatically returns to the Enter Table Details window so you can repeat the above steps for each data source to add.

    2. If there are no more data sources to configure, click Finish.

  14. Right–click the new database and select Connect.