tab, you can import Java packages for active or passive Java transformations.
You can import third-party, built-in, or custom Java packages. After you import Java packages, you can use the imported packages on the other code entry tabs.
On the
Import Packages
tab, you cannot declare or use static variables, instance variables, or user methods.
In the
PowerCenter Client
, when you export or import metadata that contains a Java transformation, the jar or class files that contain the third-party or custom packages required by the Java transformation are not included in the export or import.
If you import metadata that contains a Java transformation, you must copy the jar or class files that contain the required third-party or custom packages to the
PowerCenter Client and Integration Service node
.
For example, to import the Java I/O package, enter the following code on the
Import Packages
tab:
import java.io.*;
When you import non-standard Java packages, add the package or class to the classpath in the Java transformation