I have a j2se app, with own entity manager. For runtime, do I need a running copy of glassfish ?
I ask this because I had shutdown glassfish and forgot to restart it, but yet the app works perfectly (as far as I can tell!).
For Standalone J2SE apps with JPA 220 APIs usage, you do *not* need an application server to be up and running.
You only need the persistence runtime jars: toplink*.jar in your class path.
actually you need 2 jars, see the example at
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.