Structure of the application package

The sample application files are installed when you install the adapter. They are packaged in an archive file that is installed in the samples folder.

Scenario 1: All-inclusive set of sample files

For Scenario 1, targeted at the Application Integrator, the sample application package includes all the required artifacts, so you do not need to use the enterprise service discovery wizard to obtain these. In a real-world deployment of the adapter, you would generate all these artifacts and configure the adapter using the enterprise service discovery wizard, as illustrated in Scenario 2.

The files for Scenario 1 are archived in the following file: \adapter\flatfile\samples\nonemdsamples.zip.

  1. Navigate to the samples folder and uncompress the nonemdsamples.zip. This extracts the FlatFileInboundModuleApp.ear and the FlatFileOutboundModuleApp.ear.
  2. The FlatFileInboundModuleApp.ear includes the following files:
    • FlatFileInboundModule.jar
    • FlatFileInboundModuleEJB.jar
    • FlatFileInboundModuleEJBClient.jar
    • FlatFileInboundModuleWeb.war
    • CWYFF_FlatFile.rar
    • application.xml
    • deployment.xml
  3. The FlatFileOutboundModuleApp.ear includes the following files:
    • FlatFileOutboundModule.jar
    • FlatFileOutboundModuleEJB.jar
    • FlatFileOutboundModuleEJBClient.jar
    • FlatFileOutboundModuleWeb.war
    • CWYFF_FlatFile.rar
    • applicaiton.xml
    • deployment.xml
    • MyWebProject.war

Scenario 2: enterprise service discovery wizard requirement

For Scenario 2, targeted at the Data Integrator, the sample application package provides the capability for you to create the SCA artifacts and configure the adapter using the enterprise service discovery wizard. You can, however, access copies all the files that you eventually generate using the enterprise service discovery wizard, as a way of verifying that what you create with the enterprise service discovery wizard is indeed correct and what the application expects in order to run properly.

All the necessary files for scenario 2 are in \adapter\flatfile\samples\emdsamples.zip. Copies of those you will generate with enterprise service discovery wizard can be found in \adapter\flatfile\samples\nonemdsamples.zip.

  1. Navigate to the samples folder and uncompress the emdsamples.zip file. This extracts the CWYFF_FlatFile.rar file.
  2. The enterprise service discovery wizard will import this RAR file and generate the service artifacts as per the your specified configuration.
Related tasks
Deploying and configuring inbound operations for scenario 1
Deploying and configuring outbound operations for scenario 1
Deploying and configuring inbound operations for scenario 2
Deploying and configuring outbound operations for scenario 2
Running the sample application for inbound operations
Running the sample application for outbound operations
Related reference
Business object structure

Terms of use |

Last updated: Sun Mar 12 11:47:10 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)