Two versions of the sample are provided. One version includes
the Flat File adapter in case you do not have it in your workspace
yet. One version does not include the Flat File adapter. If previously
you worked on the sample to create services that respond to Flat File
events or you have worked with files that use the Flat File adapter,
then the Flat File adapter is imported into the workspace for you.
But if you need to import the adapter, the following steps are provided.
Once the adapter is imported, you need to use the clean
function, which is also explained in these steps.
To import
the WebSphere Adapter
for Flat Files, follow these steps:
- From the menu, select File > Import.
The Import window opens. Expand Java
EE and select RAR file. Click Next.
The Connector Import page opens.
- Beside the Connector file field, click Browse.
Navigate to the following directory and select the RAR file:
<installdir>\ResourceAdapters\FlatFile<version
number>
The remaining fields are completed for you.
Deselect Add
Project to an EAR. Click Finish.
A message asks if you wish to switch to the Java EE perspective. Click No.
- The adapter is imported and is shown in the Business Integration
view.
- Use the clean function to correctly set some values. From
the menu, select Project > Clean.
- In the Clean dialogue box, accept
the defaults and click OK.