public class SimpleSampleBeanImpl implements SessionBean { ... public String [] test() { // Get the work-area reference from JNDI. ... // Retrieve the name of the work area. In this example, // the name is used to identify the class in which the // work area was begun. String invoker = userWorkArea.getName(); ... } }
For additional information about work area, see the package, com.ibm.websphere.workarea, in the API documentation. The generated API documentation is available in the information center table of contents from the path Reference > Developer > API documentation > Application programming interfaces.