JPA实体组件不支持多视图。
JPA实体组件仍然在Facade之后用得最好。
最后,您正确地指出EntityManager实现只有一个,这就不需要进行JNDI查找,并使得使用JPA实体组件变得异常简单。
Finally, you rightly pointed out that there is only one EntityManager implementation, which eliminates the need to do a JNDI lookup, and makes using a JPA entity component extremely easy.
应用推荐