Monday, March 16, 2009

REPLICATING ADAPTER WORKSPACES – WPS

We often come across a scenario during our Telecom application’s development cycles where we develop an adapter for a given circle and then we need to replicate it for another circle where the table structure etc are same and only the names etc may vary. This can again be achieved using 2 approaches. Either we create the respective adapter again or we can follow the replication approach. In the replication approach we can copy the adapter inbound/outbound into destination module.

 This replication process involves copying of the import/export file and then changing the database URL in the corresponding export/import. This approach does have a limitation that it works only for scenarios where the schema and table structures are same and the only difference is in the URL of the database.

 In such a case we do not need to copy or replicate the activation spec or anything similar. Just copying the import /export file and changing the URL will suffice the requirement.