IBM®
Skip to main content
    Country/region [select]      Terms of use
 
 
    
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerworks > My developerWorks >  Dashboard > WebSphere eXtreme Scale V6.1 User Guide > ... > Environment > J2EE core preparation
developerWorks
Log In   View a printable version of the current page.
Overview Connect Spaces Forums Wikis
J2EE core preparation
Added by jhanders, last edited by finn on Jun 07, 2007  (view change)
Labels: 
(None)

Getting Started Examples Reference API documentation

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.

Using a core ObjectGrid in a Jave 2 Platform Enterprise Edition (J2EE) application is the same as using it in a Java 2 Platform Standard Edition (J2SE) environment, except for several other considerations.

Considerations

In the J2SE core ObjectGrid topic, the ObjectGrid was defined using the configuration APIs to create a new ObjectGrid. If you used an XML file to create the ObjectGrid, and the xml is contained in the module of the EAR file, then access the file by using getClass().getClassLoader().getResource("META-INF/objGrid.xml") to obtain a URL object to use for creating an ObjectGrid instance.

Another consideration is classloaders. If an ObjectGrid instance is shared between different application modules within a J2EE application, then ensure that objects stored in the ObjectGrid and the plugins for the ObjectGrid are in a common ClassLoader in the application.

Additional Information

Wiki Disclaimer and License
© Copyright IBM Corporation 2007,2009. All Rights Reserved.


 
    About IBM Privacy Contact