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.
Use ObjectGrid with the features that are provided with WebSphere Application Server to enhance your applications with ObjectGrid capability.
Before you begin
Install WebSphere Application Server and WebSphere Extended Deployment Data Grid. After WebSphere Extended Deployment Data Grid is installed, you can add ObjectGrid functions to your Java 2 Platform, Enterprise Edition (J2EE) applications.
About this task
The ObjectGrid API can be used in a WebSphere Application Server-targeted J2EE application. The ObjectGrid Java archive (JAR) files are placed in the lib directory after WebSphere Extended Deployment Data Grid is installed. See Packaging overview for more information on each JAR file that is installed. In addition to integrating the ObjectGrid API with the J2EE application programming model, you can leverage the distributed transaction propagation support. With this support, you can configure ObjectGrid instances to coordinate transaction commit results across a WebSphere Application Server cluster.
 | Warning
A long-term consideration for running in WebSphere Application Server is the limitation of core-group size. Independent of ObjectGrid, WebSphere Application Server does not support a configuration with more than 50 members per core group. For more information, see core group scaling considerations .
|
Procedure
- Perform the basic programming steps for enabling a J2EE application with ObjectGrid. See Integrating ObjectGrid in a Java 2 Platform, Enterprise Edition (J2EE) environment for more information.
- Monitor performance data for your ObjectGrid applications. See Monitoring ObjectGrid performance with WebSphere Application Server performance monitoring infrastructure (PMI) for more information.
- When ObjectGrid is embedded, the transactions might be started and ended by an external transaction coordinator. See ObjectGrid and external transaction interaction more information.
- Use the partitioning facility with ObjectGrid. With ObjectGrid, you can cache key and value pairs in the transactional fashion, and with Partitioning Facility, you can configure context-based routing according to object characteristics. See Integrating ObjectGrid and the partitioning facility for more information.
- Use container-managed persistence (CMP) beans in WebSphere Application Server Version 6.0.2 and later, taking advantage of ObjectGrid as an external cache instead of a built-in cache. See Configuring ObjectGrid to work with container-managed beans for more information.
What to do next
You can also use ObjectGrid with Java Message Service (JMS) to distribute changes between different tiers or in environments with mixed platforms. See Using Java Message Service for distributing transaction changes for more information.
© Copyright IBM Corporation 2007,2009. All Rights Reserved.