[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [eclipselink-users] Configuring a Coordinated cache via RMI in Java
- From: "Doug Clarke" <douglas.clarke@xxxxxxxxxx>
- Date: Wed, 28 Nov 2007 10:18:55 -0500
- Delivered-to: email@example.com
- Thread-index: AcgxywT7FL0qB/FXRWyHavUQqALJYgAAaIVQ
We are working on getting the full documentation up but even when that is completed we'll still have work to do.
Here is the documentation on RMI Cache Coordination: http://wiki.eclipse.org/Configuring_an_RMI_Coordinated_Cache_%28ELUG%29#BABHEJHG. The bulk of this focuses on Workbench usage.
I will assume since you are coming from TopLink Essentials that you are looking for the JPA centric configuration approach using persistence.xml properties and annotations.
The JPA documentation can be found at:
But at present is not complete. I would recommend looking at the Oracle TopLink JPA extensions doc and translating it for usage with EclipseLink:
You will need to use @Cache to configure the coordination type on each entity. To configure the actual RMI coordination I would recommend using a sessions.xml which the extensions document describes how to link in.
I am working on a small example to illustrate the various pieces.
[mailto:eclipselink-users-bounces@xxxxxxxxxxx]On Behalf Of Vespa,
Sent: Wednesday, November 28, 2007 9:29 AM
To: EclipseLink User Discussions
Subject: [eclipselink-users] Configuring a Coordinated cache via RMI in
So I am about to attempt setting up a coordinated cache with my entity
objects running on two server boxes via RMI. As I am looking through
the documentation, I see most examples are for the workbench - are there
some straight java examples (as I am not using the workbench, I recently
migrated from Toplink essentials) - that offer a step by step guide to
setting it up in Java (annotations, where/how to config the JNDI
Thanks for any help!
eclipselink-users mailing list