[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Cache Coordination using RMI in Toplink JPA 10.1.3.3

Hello, 

I was reading the below email thread.

"
Tony,

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:

http://wiki.eclipse.org/EclipseLink/UserGuide/Developing_JPA_Projects_%28ELUG%29

But at present is not complete. I would recommend looking at the Oracle TopLink JPA extensions doc and translating it for usage with EclipseLink:

http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html

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.

Doug"


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.

Thanks,

Mustafa