users@glassfish.java.net

Re: Call EntityManager in a JavaSE Environment (over JDNI)

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Oct 2007 07:12:52 PDT

EntityManagers do not have a remote interfaces and are not serializable. There is no way to directly access a Container Manager Persistence Unit from a standalone client. You could create a session bean and access the Persistence Unit and EntityManager through the session bean.
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

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