From: Roland Haeder Date: Sat, 12 Mar 2016 12:53:10 +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=5001d47f39ae87433738e07e569999bd84f1a8db;p=jjobs-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 7ce20ff..ba17695 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; /**