Server « EntityManager « JPA Q&A





1. No Persistence provider for EntityManager - Maven, Glassfish Server and Toplink    stackoverflow.com

I'm trying to run an example of java persistence using a glassfish server and maven. When i run the test, I get this error:-

Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for ...

2. EntityManager lifecycle and persistent client-server-communication    stackoverflow.com

we are developing an (JavaSE-) application which communicates to many clients via persistent tcp-connections. The client connects, performs some/many operations (which are updated to a SQL-Database) and closes the application ...