Develop applications that use work areas
Overview
Applications interact with the work area service by using the UserWorkArea interface and its implementation. This interface defines all of the methods used to create, manipulate, and complete work areas:
Procedure
- Access a partition by either:
- Accessing the UserWorkArea partition, to access the UserWorkArea partition.
- Accessing a user defined work area partition, to access a user defined work area.
The following steps use the UserWorkArea partition as an example, however a user defined partition can be used in the same way.
- Beginning a work area.
- Setting properties in a work area.
- Use a work area to manage local work.
- Completing a work area.
Example
An example application, the Work area SimpleSample application, is used throughout this documentation to illustrate these tasks.
What to do next
For additional information about work area, see the com.ibm.websphere.workarea package 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.
UserWorkArea interface
Example: Using work areas in the SimpleSample application
Accessing the UserWorkArea partition
Beginning a new work area
Setting properties in a work area
Use a work area to manage local work
Completing a work area
Related concepts
Overview of work area service
Work area partition service
Related tasks
Manage the work area service - the UserWorkArea partition
Related Reference
Accessing a user defined work area partition
Example: Using the work area partition manager