From: Roland Haeder Date: Sat, 12 Mar 2016 12:53:06 +0000 (+0100) Subject: it must be @EJB to inject another EJB into an EJB X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec88484acdc6736c21c4449c0f38869e5c81dd68;p=addressbook-ejb.git it must be @EJB to inject another EJB into an EJB --- diff --git a/src/java/org/mxchange/jusercore/model/email_address/EmailChangeSessionBean.java b/src/java/org/mxchange/jusercore/model/email_address/EmailChangeSessionBean.java index bb4131a..2eddde8 100644 --- a/src/java/org/mxchange/jusercore/model/email_address/EmailChangeSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/email_address/EmailChangeSessionBean.java @@ -17,8 +17,8 @@ package org.mxchange.jusercore.model.email_address; import java.text.MessageFormat; +import javax.ejb.EJB; import javax.ejb.Stateless; -import javax.inject.Inject; import javax.persistence.PersistenceException; import org.mxchange.jcoreee.database.BaseDatabaseBean; import org.mxchange.jusercore.model.user.User; @@ -40,7 +40,7 @@ public class EmailChangeSessionBean extends BaseDatabaseBean implements EmailCha /** * User bean */ - @Inject + @EJB private UserSessionBeanRemote userBean; /**