All Examples
$ javac -d %CLIENT_CLASSES% SharedSpace.java
$ java examples.workspace.shared.SharedSpace t3://hostname:port NASDAQ SUNW 34
Where hostname:port is the host name and port number of your WebLogic Server.
creates a workspace called NASDAQ on the WebLogic Server localhost listening on port 7001, and stores the the name=value pair SUNW=34 in the workspace.
This command allows a different client to retrieve the value for SUNW:
$ java examples.workspace.shared.SharedSpace t3://hostname:port NASDAQ SUNW
Where hostname:port is the host name and port number of your WebLogic Server.
First check out the other Workspace-related examples, in the examples/workspace and the examples/workspace/monitor directories.
Then read the Developers Guide for this API, Using WebLogic Workspaces. Also check out the overview in Writing a T3Client application.
Copyright © 1997-2000 by BEA Systems, Inc. All rights reserved.
Last updated 12/29/1998