Skip to main content


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 09:33 Go to next message
dreske Missing name is currently offline dreske Missing nameFriend
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 14:33 Go to previous messageGo to next message
James Sutherland is currently offline James SutherlandFriend
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 06:35 Go to previous message
dreske Missing name is currently offline dreske Missing nameFriend
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: Thu Mar 28 21:50:59 GMT 2024

Powered by FUDForum. Page generated in 0.02273 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top