Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » switch to session.xml
switch to session.xml [message #555306] Thu, 26 August 2010 05:33 Go to next message
dreske Missing name is currently offline dreske Missing name
Messages: 17
Registered: August 2010
Junior Member
Hello,

we are using eclipselink for a while now.
But now we need to use cache coordination because of a cluster deployment. I've looked over the documentation for a long time, but did not really find some usefull information for me, about what to do, to switch a project from jpa (persistence.xml) to session.xml...

What do we have to change, etc...
We are using glassfish 2.1.

greets
Dirk
Re: switch to session.xml [message #555422 is a reply to message #555306] Thu, 26 August 2010 10:33 Go to previous messageGo to next message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

You don't not have to use session.xml, (DON'T use sessions.xml).

You can configure cache coordination using a SessionCustomizer or using the JPA persistence unit properties,

http://www.eclipse.org/eclipselink/api/2.1/org/eclipse/persi stence/config/PersistenceUnitProperties.html#COORDINATION_PR OTOCOL

You can use either JMS or RMI.


James : Wiki : Book : Blog : Twitter
Re: switch to session.xml [message #555895 is a reply to message #555306] Mon, 30 August 2010 02:35 Go to previous message
dreske Missing name is currently offline dreske Missing name
Messages: 17
Registered: August 2010
Junior Member
Super, thanks!
Never seen this before.

greets from germany
Dirk
Previous Topic:Having multiple orm.xml
Next Topic:get original Object state from Session
Goto Forum:
  


Current Time: Mon Sep 01 19:49:00 EDT 2014

Powered by FUDForum. Page generated in 0.01554 seconds