From: Roland Haeder Date: Sat, 21 May 2016 12:16:48 +0000 (+0200) Subject: Some fixes: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=648ce704f545c70fa231828b6577e0b5247da2f8;p=jfinancials-mailer-ejb.git Some fixes: - added missing imports - it should the project's own BaseDatabaseBean class be used to have e.g. sendEmail() available for easy email delivery --- diff --git a/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookEmailDeliveryMessageBean.java b/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookEmailDeliveryMessageBean.java index e844ef4..d4cada8 100644 --- a/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookEmailDeliveryMessageBean.java +++ b/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookEmailDeliveryMessageBean.java @@ -21,6 +21,8 @@ import java.text.MessageFormat; import java.util.Properties; import java.util.ResourceBundle; import javax.annotation.PostConstruct; +import javax.ejb.ActivationConfigProperty; +import javax.ejb.MessageDriven; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; diff --git a/src/java/org/mxchange/jusercore/model/register/AddressbookUserRegistrationSessionBean.java b/src/java/org/mxchange/jusercore/model/register/AddressbookUserRegistrationSessionBean.java index 69a1c03..e9de1d5 100644 --- a/src/java/org/mxchange/jusercore/model/register/AddressbookUserRegistrationSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/register/AddressbookUserRegistrationSessionBean.java @@ -25,8 +25,8 @@ import javax.mail.internet.AddressException; import javax.mail.internet.InternetAddress; import javax.persistence.NoResultException; import javax.persistence.Query; +import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean; import org.mxchange.jcontacts.contact.Contact; -import org.mxchange.jcoreee.database.BaseDatabaseBean; import org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException; import org.mxchange.jusercore.exceptions.UserNameAlreadyRegisteredException; import org.mxchange.jusercore.model.user.LoginUser; @@ -40,7 +40,7 @@ import org.mxchange.jusercore.model.user.UserUtils; * @author Roland Haeder */ @Stateless (name = "register", description = "A bean handling the user registration") -public class AddressbookUserRegistrationSessionBean extends BaseDatabaseBean implements UserRegistrationSessionBeanRemote { +public class AddressbookUserRegistrationSessionBean extends BaseAddressbookDatabaseBean implements UserRegistrationSessionBeanRemote { /** * Serial number