See the WebSphere eXtreme Scale Wiki for links to eXtreme Scale Version 7.0 documentation.
If you log in
with your developerWorks ID, you can leave comments and feedback for the development team.
Several ObjectGrid samples illustrate the integration with Java 2 Platform, Enterprise Edition (J2EE) applications and the partitioning facility (WPF). This topic describes each of the samples, the features that each sample demonstrates, the location of each sample, and the environments where the sample runs.
Samples
- ObjectGridSamplesSA : This sample is a set of Java 2 Platform, Standard Edition (J2SE) examples that are packaged in the objectgridSamples.jar file for demonstrating the ObjectGrid functions. These J2SE samples can be run in a J2SE environment. The objectgridSamples.jar file contains the SamplesGuide.htm file, which has instructions for running these samples.
- ObjectGridSample : This J2EE example demonstrates how servlets and Session enterprise beans use the ObjectGrid functions. This sample is shipped in the ObjectGridSample.ear enterprise archive (EAR) file. The ObjectGridSample.ear file contains the readme.html file, which has instructions for setting up and running this sample.
- ObjectGridPartitionCluster : This sample is a J2EE example for demonstrating how WPF and ObjectGrid work together. This sample also demonstrates how to use the ObjectGridEventListener to propagate object changes and enable context-based routing to maintain ObjectGrid integrity and consistency. This sample is shipped in the D_ObjectGridPartitionClusterSample.ear EAR file. The D_ObjectGridPartitionClusterSample.ear file contains the readme.txt file, which has instructions for setting up and running this sample.
- ObjectGridJMSSamples: This set of J2EE examples are packaged in the ObjectGridJMSDistributedGridSample.ear file and ObjectGridJMSSimpleSample.ear file. This sample demonstrates how to use Java Message Service (JMS) function to transmit changes in one ObjectGrid instance to another ObjectGrid instance in a single Java virtual machine (JVM) or a cluster environment.
- EntityManager Samples: The EntityManager samples are available in both ObjectGridSampleSA and ObjectGridSample samples. Refer to the documentation for these samples for more information.
Sample functionality
| Functional Area |
ObjectGridSamplesSA |
ObjectGridSample |
ObjectGridPartitionCluster |
ObjectGridJMSSamples |
| ObjectGrid EventListener |
|
|
x |
x |
| Transaction callback |
x |
x |
x |
|
| Loader |
x |
x |
x |
|
| MapEvent Listener |
x |
|
|
|
| Object Transformer |
x |
x |
x |
x |
| Optimistic callback |
x |
x |
x |
|
| BackingMap copy mode |
x |
x |
|
|
| Distributed invalidation |
|
|
x |
x |
| Distributed update |
|
|
x |
x |
| LogSequence processing |
|
|
|
x |
| Partitioning facility (WPF) |
|
|
x |
|
| Java Message Service (JMS) |
|
|
|
x |
| Map index |
x |
|
|
|
| ObjectGrid cluster |
x |
x |
|
|
| ObjectGrid ClusterClient Context |
x |
x |
|
|
| Distributed ObjectGrid |
x |
x |
|
|
| ObjectGrid management |
x |
|
|
|
| ObjectGrid security |
x |
|
x |
|
| EntityManager |
x |
x |
|
|
Location
If WebSphere Extended Deployment has been installed on WebSphere Application Server Network Deployment, the following files are located in the following directories:
| Sample |
Location |
| ObjectGridSamplesSA |
install_root\optionalLibraries\ObjectGrid\objectgridSamples.jar |
| ObjectGridSample |
install_root\installableApps\ObjectGridSample.ear |
| ObjectGridPartitionCluster |
install_root\installableApps\ D_ObjectGridPartitionClusterSample.ear |
| ObjectGridJMSSamples |
install_root\installableApps\ObjectGridJMSDistributedGridSample.ear and ObjectGridJMSSimpleSample.ear |
If the WebSphere Extended Deployment Data Grid has been installed, the following files are located in the following directories:
| Sample |
Location |
| ObjectGridSamplesSA |
install_root\ObjectGrid\samples\objectgridSamples.jar |
| ObjectGridSample |
install_root\ObjectGrid\samples\ObjectGridSample.ear |
Sample environments
Some samples can run in a J2SE environment, but some samples must run in a J2EE environment. Some samples can run in a single server instance, others have to run in a cluster. The following table shows the running environment of the samples.
| Environment |
|
ObjectGridSamplesSA |
ObjectGridSample |
ObjectGridPartitionCluster |
ObjectGridJMSSamples |
| J2SE |
Eclipse |
x |
|
|
|
| |
command line |
x |
|
|
|
| WebSphere Application Server Version 6.1.x |
single server |
|
x |
|
x |
| |
cluster |
|
x |
|
x |
| Rational Application Developer unit-test environment (UTE) |
|
x |
|
|
|
| WebSphere Extended Deployment Version 6.1 |
single server |
|
x |
|
x |
| |
cluster |
|
x |
x |
x |
© Copyright IBM Corporation 2007,2009. All Rights Reserved.