0

I am trying to understand the difference between JPA Controller/Manager classes and EJBs. Eclipse lets me create Entity classes for database tables and Entity manager/controller classes which use the Entity classes. The classes for example:

TableName
TableNameManager

Then I also see one can generate/write EJBs which appear to be providing the same/similar functionality as the JPA controller classes. I see both JPA and EJB use

javax.persistence.EntityManager

I see an answer here and here

I am not sure the answers address the JPA controller/manager classes. I would like to know what is the difference and if there is an advantage of using one over the other.

user2125853
  • 1,103
  • 4
  • 11
  • 22

0 Answers0