Importing virtual member manager packages

Before you can integrate virtual member manager functions into your application, you must import the virtual member packages.

The following code sample shows the packages that you need to import and how to define the class.
import com.ibm.websphere.wim.SchemaConstants;
import com.ibm.websphere.wim.Service;
import com.ibm.websphere.wim.client.LocalServiceProvider;
import com.ibm.websphere.wim.exception.WIMException;
import com.ibm.websphere.wim.util.SDOHelper;
import commonj.sdo.DataObject;

public class myTest implements SchemaConstants {
}
Note: Some of the sample code use the Person entity type, which is not configured out-of-the-box. To use this sample code as it is, you need to add Person as supported entity type in the configuration file. To use the samples without adding the Person entity type modify the samples by changing the Person entity type to the PersonAccount entity type that is supported out-of-the-box.
Related concepts
Person DataObject
LoginAccount and PersonAccount DataObjects
Related tasks
Creating an entity
Terms of use | Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.
IBM virtual member manager 6.1