views:

188

answers:

3

Is it possible to use Toplink Essentials without application server, just on desktop application?

+2  A: 

Yes but for certain behaviour you may have to use the JVM startup options to enable the toplink agent. I believe this is for the lazy loading or something similar.

Do you mean TopLink or TopLink Essentials? The first is a commercial Oracle product. The latter is the reference implementation of JPA 1.0, which is a somewhat cut down version.

Honestly I don't think there's any reason to use anything other than EclipseLink (which will be the JPA 2.0 reference implementation) or Hibernate.

To actually do this:

cletus
+1 for fast thinking and typing. Pretty quick for this early on a Saturday. 8)
duffymo
Its not Saturday morning everywhere. :)
cletus
I ment TopLink Essentials, but I'll take your recommendation and try EclipseLink and Hibernate :)
Darth
+1  A: 

Yes it is, as long as you don't need JNDI naming services. Toplink and Hibernate can both run without an app server. You just need a relational database and a JDBC driver.

duffymo
A: 

yes, toplink is a pure Java class library

dfa