From a63d81882f6651612d22d03b3f45aa72000d3802 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 14 Apr 2016 16:53:25 +0200 Subject: [PATCH] The persistence will happen in the EJBs. So all these calls needs to be rewritten to EJB business method calls. Maybe they need to be configurable as users may not run an EJB container on their local machine ... ;-) --- .../facade/contact/AddressbookContactFacade.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java b/src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java index 5ade6a0..177ec38 100644 --- a/src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java +++ b/src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java @@ -23,8 +23,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; import org.mxchange.addressbook.client.AddressbookClient; import org.mxchange.jcontacts.contact.Contact; import org.mxchange.jcontacts.contact.gender.Gender; @@ -52,12 +50,6 @@ public class AddressbookContactFacade extends BaseFacade implements ContactFacad */ private final List columnNames; - /** - * Entity manager - */ - @PersistenceContext - private EntityManager entityManager; - /** * Logger instance */ -- 2.39.5