Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] (no subject)

Dear EclipseLink users I'm really new to the product so please forgime me probably trivial questions.
What I want is to use EclipseLink persistense provider in GlassFish 2.1 application environment.
I started with a DataSource defenition on GlassFish.
Secondly I used the data source defined in the persistense.xml, defined persistence-unit, @entity, deployed application on glassfish and was successfully seaching and storing entinies.

The next step would be cache feaches usage, and finally cluster with distributed cache organisation. Unfortunately I stuck here. 

I'm avare there are so called sessions in EclipseLink that can be used for caching and clustering entities. Please correct me if it is not true. I've read lots of faqs and articles but cannot put everything together:( I have EclipseLink workbench downloaded, I generated session configuration and a server session (btw it wants me to provide the connection details (user pass url etc) but I already have data source on glassfish configured so i would prefure to use this one). 

Could someone please guide me next steps what exactly do to use cache. Thank you very much in advance.


Back to the top