]> git.mxchange.org Git - pizzaservice-mailer-ejb.git/commitdiff
Some fixes:
authorRoland Haeder <roland@mxchange.org>
Sat, 21 May 2016 12:16:48 +0000 (14:16 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 21 May 2016 12:16:48 +0000 (14:16 +0200)
- added missing imports
- it should the project's own Base<Project>DatabaseBean class be used to have e.g. sendEmail() available for easy email delivery

src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookEmailDeliveryMessageBean.java
src/java/org/mxchange/jusercore/model/register/AddressbookUserRegistrationSessionBean.java

index e844ef45259916ecb926e727b27e23105a3c031d..d4cada858514f872d8f4646048a31a9bf575dc13 100644 (file)
@@ -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;
index 69a1c037093c63deaffe608dd639b68ad1197bd4..e9de1d585032e4198b2b656b8014a46844ee3e47 100644 (file)
@@ -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<roland@mxchange.org>
  */
 @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