on 06-21-2007 4:59 AM
Hi Frnds,
We developed one Java Program by name payloadExtraction.java and currently we are using in our scenario thru imported Archive. we imported the jar file into a given namespace as it is to be used.
Instead of create this function in a standard Java Class in which it could be referenced by any namespace and doesn't need to be imported.
I am not sure as to how I would Implement a Standard Java class where to store it and how to reference it etc.
We also need this functionality to use more complex java maps. that is instead of creating a UDF everytime, we just want to call a standardised java class.
Have you come across a situation like this yet?
Please suggest me..
Regards
Vasu
Hi,
1. Create a base SWCV. Import this .jar file into the Imported Archive of the Base SWCV.
2. All other SWCV's should have be Dependent SWCV's on the Base SWCV.
3. Now, the imported archive can be accessed in any UDF in any message mapping in the dependent SWCV's.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>How to create a Base SWCV.
Nothing special. It is the same SWCV which you are using now.
The difference is the new SWCV will contain only the imported java classes.
Now you need to create a dependency in SLD such that the all SWCV is dependent on the SWCV containg java class.
Regards,
Jai Shankar
Hi,
1.The base SWCV is just another SWCV. Create a SWCV on the SLD and import it into IR and improt the Archive uner this.
2.Next, go to the SLD and go to the other SWCV's already created and then create a Dependency in the step 1. You will have an option to define dependency.
3.Reimport the SWCV's of step 2 into the IR after clearing the SLD cache.
The existing objects will not be affected and now you will see a new BASIS Objects option in the reimported SWCV.
Now the imported archive is ready to be shared across SWCV's , across mappings.
Regards
Bhavesh
HI Bhavesh
I created 2 SWCV, for example java and test
Now I want to import all jar files in the Java SWCV and use it in the test.
I created the test SWCV dependent for Java SWCV.
After importing into IR, it will not come like
Java
-> Test
Both are imported as seperate SWCV.
any help regarding this
Thanks & REgards
Vasu
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.