Originally posted by: PradeepV.B.
Hi,
I am calling a WTX map using WTX APIs in WPS server application. I am creating a map instance for every call to my transformation service. Is there a way i can reuse the map object across invocations (Threads).
Below is the sequence of processing.
1. Initialize the API in static block.
2. create a new map object - MMap map = new MMap("test1.mmc");
3. override the input and output card settings and provide the input data.
4. run the map.
5. unload the map.
We are using a server class loader to load the WTX libraries which gets loaded once when we call the initializeAPI.
Is there any problem with respect to memory and threads in using the above approach.
thanks.
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender