[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[eclipselink-users] Cache Coordination using RMI in Toplink JPA 10.1.3.3
- From: "Mustafa Cayci" <mustafa.cayci@xxxxxxxxx>
- Date: Sun, 24 Aug 2008 14:16:15 -0400
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=G/+IPJIWKC2UVfQNZfb/Fv+ffWJLD9rteAILfgr2OwJXlio9xWXvuQCEoHB2+76CHK koIbVdcddCvz6KA3kXrQP9MNZShPMdOWWunVwlFuCb5D7acdTgkTERPuxxLfNhXdxsgg hQ7SviYomAmwJM42MVjxqvUNa9hD2MmZr25BA=
I was reading the below email thread.
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.
I am trying to do the same. I am using Toplink JPA 10.1.3.3
. Would it be possible if you could let
me know the details as far as @Cache configuration and the entries in
persistence.xml and sessions.xml. I did not know that I can still use
sessions.xml in Toplink JPA.