users@glassfish.java.net

Toplink Persistence is unusable from Java Webstart

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Mar 2007 04:04:07 PST

Hi again,

My problem is that the Toplink libraries don't work correctly when used from Webstart.

http://forums.java.net/jive/thread.jspa?threadID=23810&tstart=0

When creating the EntityFactoryManager with Persistence.createEntityManagerFactory(persistenceUnitName)

the classloader reloads the jar from the web, and if it's a big jar, this will take forever.

This must be considered a bug, unless the Toplink Persistence is not supposed to be used from Webstart.

Are there any reading this forum that program in the Toplink libraries? If so, I need to create a fix for this, so if you have directions on how to build the libraries, I will submit the fix as soon as it is ready.

I would just also like to discuss this bug with someone who has expercience with the Persistence code.

Best regards, Gath
[Message sent by forum member 'gath55' (gath55)]

http://forums.java.net/jive/thread.jspa?messageID=206638