]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Continued fixing:
authorRoland Haeder <roland@mxchange.org>
Wed, 27 Apr 2016 19:17:40 +0000 (21:17 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Apr 2016 19:22:01 +0000 (21:22 +0200)
- renamed class for own prefix
- updated project files as new libs are required
- fixed imports

16 files changed:
nbproject/build-impl.xml
nbproject/genfiles.properties
nbproject/project.properties
nbproject/project.xml
src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java
src/java/org/mxchange/jcountry/data/PizzaCountrySingletonBean.java
src/java/org/mxchange/jmailee/model/delivery/PizzaEmailDeliveryMessageBean.java [new file with mode: 0644]
src/java/org/mxchange/jmailee/model/delivery/RateCalcEmailDeliveryMessageBean.java [deleted file]
src/java/org/mxchange/jphone/phonenumbers/mobileprovider/PizzaAdminMobileProviderSessionBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/PizzaAdminContactPhoneSessionBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/PizzaAdminPhoneSessionBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/PizzaPhoneSessionBean.java
src/java/org/mxchange/jusercore/model/login/PizzaUserLoginSessionBean.java
src/java/org/mxchange/jusercore/model/register/PizzaUserRegistrationSessionBean.java
src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java
src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java

index eb490301b08b260b15386805272d7139cdc1dfb6..32f3dbc6ba66fcff06c373642974f55a0ebaffd1 100644 (file)
@@ -25,8 +25,8 @@ is divided into following sections:
         </condition>
     </fail>
     <target depends="dist,javadoc" description="Build whole project." name="default"/>
-    <!--
-                INITIALIZATION SECTION
+    <!-- 
+                INITIALIZATION SECTION 
             -->
     <target name="-pre-init">
         <!-- Empty placeholder for easier customization. -->
@@ -749,9 +749,9 @@ or ant -Dj2ee.platform.classpath=&lt;server_classpath&gt; (where no properties f
     <target name="-init-taskdefs">
         <fail unless="libs.CopyLibs.classpath">
 The libs.CopyLibs.classpath property is not set up.
-This property must point to
+This property must point to 
 org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
-of NetBeans IDE installation and is usually located at
+of NetBeans IDE installation and is usually located at 
 &lt;netbeans_installation&gt;/java&lt;version&gt;/ant/extra folder.
 Either open the project in the IDE and make sure CopyLibs library
 exists or setup the property manually. For example like this:
@@ -835,8 +835,12 @@ exists or setup the property manually. For example like this:
         <copyfiles files="${file.reference.jcontacts-lib.jar}" todir="${build.classes.dir}"/>
         <copyfiles files="${file.reference.juser-core.jar}" todir="${build.classes.dir}"/>
         <copyfiles files="${file.reference.juser-lib.jar}" todir="${build.classes.dir}"/>
+        <copyfiles files="${file.reference.jcustomer-core.jar}" todir="${build.classes.dir}"/>
         <copyfiles files="${file.reference.jphone-core.jar}" todir="${build.classes.dir}"/>
         <copyfiles files="${file.reference.jphone-lib.jar}" todir="${build.classes.dir}"/>
+        <copyfiles files="${file.reference.jshop-core.jar}" todir="${build.classes.dir}"/>
+        <copyfiles files="${file.reference.jshop-ee-lib.jar}" todir="${build.classes.dir}"/>
+        <copyfiles files="${file.reference.jmailer-ee.jar}" todir="${build.classes.dir}"/>
         <copyfiles files="${file.reference.pizzaservice-core.jar}" todir="${build.classes.dir}"/>
         <copyfiles files="${reference.PizzaService-lib.jar}" todir="${build.classes.dir}"/>
     </target>
@@ -850,12 +854,16 @@ exists or setup the property manually. For example like this:
         <basename file="${file.reference.jcontacts-lib.jar}" property="manifest.file.reference.jcontacts-lib.jar"/>
         <basename file="${file.reference.juser-core.jar}" property="manifest.file.reference.juser-core.jar"/>
         <basename file="${file.reference.juser-lib.jar}" property="manifest.file.reference.juser-lib.jar"/>
+        <basename file="${file.reference.jcustomer-core.jar}" property="manifest.file.reference.jcustomer-core.jar"/>
         <basename file="${file.reference.jphone-core.jar}" property="manifest.file.reference.jphone-core.jar"/>
         <basename file="${file.reference.jphone-lib.jar}" property="manifest.file.reference.jphone-lib.jar"/>
+        <basename file="${file.reference.jshop-core.jar}" property="manifest.file.reference.jshop-core.jar"/>
+        <basename file="${file.reference.jshop-ee-lib.jar}" property="manifest.file.reference.jshop-ee-lib.jar"/>
+        <basename file="${file.reference.jmailer-ee.jar}" property="manifest.file.reference.jmailer-ee.jar"/>
         <basename file="${file.reference.pizzaservice-core.jar}" property="manifest.file.reference.pizzaservice-core.jar"/>
         <basename file="${reference.PizzaService-lib.jar}" property="manifest.reference.PizzaService-lib.jar"/>
         <manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update">
-            <attribute name="Extension-List" value="jar-1 jar-2 jar-3 jar-4 jar-5 jar-6 jar-7 jar-8 jar-9 jar-10 jar-11 jar-12 jar-13 "/>
+            <attribute name="Extension-List" value="jar-1 jar-2 jar-3 jar-4 jar-5 jar-6 jar-7 jar-8 jar-9 jar-10 jar-11 jar-12 jar-13 jar-14 jar-15 jar-16 jar-17 "/>
             <attribute name="jar-1-Extension-Name" value="${manifest.file.reference.jcore.jar}"/>
             <attribute name="jar-2-Extension-Name" value="${manifest.file.reference.jcoreee.jar}"/>
             <attribute name="jar-3-Extension-Name" value="${manifest.file.reference.jcountry-core.jar}"/>
@@ -865,10 +873,14 @@ exists or setup the property manually. For example like this:
             <attribute name="jar-7-Extension-Name" value="${manifest.file.reference.jcontacts-lib.jar}"/>
             <attribute name="jar-8-Extension-Name" value="${manifest.file.reference.juser-core.jar}"/>
             <attribute name="jar-9-Extension-Name" value="${manifest.file.reference.juser-lib.jar}"/>
-            <attribute name="jar-10-Extension-Name" value="${manifest.file.reference.jphone-core.jar}"/>
-            <attribute name="jar-11-Extension-Name" value="${manifest.file.reference.jphone-lib.jar}"/>
-            <attribute name="jar-12-Extension-Name" value="${manifest.file.reference.pizzaservice-core.jar}"/>
-            <attribute name="jar-13-Extension-Name" value="${manifest.reference.PizzaService-lib.jar}"/>
+            <attribute name="jar-10-Extension-Name" value="${manifest.file.reference.jcustomer-core.jar}"/>
+            <attribute name="jar-11-Extension-Name" value="${manifest.file.reference.jphone-core.jar}"/>
+            <attribute name="jar-12-Extension-Name" value="${manifest.file.reference.jphone-lib.jar}"/>
+            <attribute name="jar-13-Extension-Name" value="${manifest.file.reference.jshop-core.jar}"/>
+            <attribute name="jar-14-Extension-Name" value="${manifest.file.reference.jshop-ee-lib.jar}"/>
+            <attribute name="jar-15-Extension-Name" value="${manifest.file.reference.jmailer-ee.jar}"/>
+            <attribute name="jar-16-Extension-Name" value="${manifest.file.reference.pizzaservice-core.jar}"/>
+            <attribute name="jar-17-Extension-Name" value="${manifest.reference.PizzaService-lib.jar}"/>
         </manifest>
     </target>
     <target depends="compile" name="library-inclusion-in-manifest">
@@ -881,8 +893,12 @@ exists or setup the property manually. For example like this:
         <copyfiles files="${file.reference.jcontacts-lib.jar}" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.juser-core.jar}" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.juser-lib.jar}" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jcustomer-core.jar}" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.jphone-core.jar}" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.jphone-lib.jar}" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jshop-core.jar}" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jshop-ee-lib.jar}" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jmailer-ee.jar}" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.pizzaservice-core.jar}" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${reference.PizzaService-lib.jar}" todir="${dist.ear.dir}/lib"/>
         <manifest file="${build.ear.classes.dir}/META-INF/MANIFEST.MF" mode="update"/>
index 1ed45811b8292e9831acfa3ba8df8e3514afe275..8120b8f25f9f646db431a8867a2efe53eda9d9ff 100644 (file)
@@ -3,6 +3,6 @@ build.xml.script.CRC32=9c0f08a9
 build.xml.stylesheet.CRC32=5910fda3@1.55.1
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=be5d8e80
-nbproject/build-impl.xml.script.CRC32=c48d23aa
+nbproject/build-impl.xml.data.CRC32=9e5ca144
+nbproject/build-impl.xml.script.CRC32=c2a539b2
 nbproject/build-impl.xml.stylesheet.CRC32=6096d939@1.55.1
index a11d1c0371f85946c15a50e970e724ad97fe4e38..d110bbe510b411e718dc4bbf6983229f3436a13c 100644 (file)
@@ -29,6 +29,8 @@ file.reference.jcore.jar=lib/jcore.jar
 file.reference.jcoreee.jar=lib/jcoreee.jar
 file.reference.jcountry-core.jar=lib/jcountry-core.jar
 file.reference.jcountry-lib.jar=lib/jcountry-lib.jar
+file.reference.jcustomer-core.jar=lib/jcustomer-core.jar
+file.reference.jmailer-ee.jar=lib/jmailer-ee.jar
 file.reference.jphone-core.jar=lib/jphone-core.jar
 file.reference.jphone-lib.jar=lib/jphone-lib.jar
 file.reference.jshop-core.jar=lib/jshop-core.jar
@@ -61,10 +63,12 @@ javac.classpath=\
     ${file.reference.jcontacts-lib.jar}:\
     ${file.reference.juser-core.jar}:\
     ${file.reference.juser-lib.jar}:\
+    ${file.reference.jcustomer-core.jar}:\
     ${file.reference.jphone-core.jar}:\
     ${file.reference.jphone-lib.jar}:\
     ${file.reference.jshop-core.jar}:\
     ${file.reference.jshop-ee-lib.jar}:\
+    ${file.reference.jmailer-ee.jar}:\
     ${file.reference.pizzaservice-core.jar}:\
     ${reference.PizzaService-lib.jar}:\
     ${file.reference.cdi-api.jar}
@@ -111,6 +115,8 @@ source.reference.jcore.jar=../jcore/src/
 source.reference.jcoreee.jar=../../jcoreee/src/
 source.reference.jcountry-core.jar=../jcountry-core/src/
 source.reference.jcountry-lib.jar=../jcountry-lib/src/
+source.reference.jcustomer-core.jar=../jcustomer-core/src/
+source.reference.jmailer-ee.jar=../jmailer-ee/src/
 source.reference.jphone-core.jar=../jphone-core/src/
 source.reference.jphone-lib.jar=../jphone-lib/src/
 source.reference.jshop-core.jar=../../jshop-core/src/
index cfd140c12e07358ac545dcb68b0224cb8e660fe3..855481ff8f8fd47a1568d50d51560014a657d5d9 100644 (file)
             <included-library dirs="200">file.reference.jcontacts-lib.jar</included-library>
             <included-library dirs="200">file.reference.juser-core.jar</included-library>
             <included-library dirs="200">file.reference.juser-lib.jar</included-library>
+            <included-library dirs="200">file.reference.jcustomer-core.jar</included-library>
             <included-library dirs="200">file.reference.jphone-core.jar</included-library>
             <included-library dirs="200">file.reference.jphone-lib.jar</included-library>
+            <included-library dirs="200">file.reference.jshop-core.jar</included-library>
+            <included-library dirs="200">file.reference.jshop-ee-lib.jar</included-library>
+            <included-library dirs="200">file.reference.jmailer-ee.jar</included-library>
             <included-library dirs="200">file.reference.pizzaservice-core.jar</included-library>
             <included-library dirs="200">reference.PizzaService-lib.jar</included-library>
             <source-roots>
index 2083847e3868e70101f4a935390a62d971d6c8d4..8d3c805ccbc67559fcfd302319dc0bf91b7d21e4 100644 (file)
@@ -27,9 +27,7 @@ import javax.persistence.Query;
 import org.mxchange.jcontacts.contact.utils.ContactUtils;
 import org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException;
 import org.mxchange.jcontacts.exceptions.ContactNotFoundException;
-import org.mxchange.pizzaaplication.database.BasePizzaDatabaseBean;;
-import org.mxchange.jcontacts.contact.utils.ContactUtils;
-
+import org.mxchange.pizzaaplication.database.BasePizzaDatabaseBean;
 /**
  * A contact EJB
  * <p>
index 814e9e939c9c0a7eef5ead79cc235358fb06dac1..87560601f1dff74306fd39b968473f87faaed4b6 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.jcountry.data;
 
-import de.chotime.jratecalc.database.BasePizzaDatabaseBean;
 import java.text.MessageFormat;
 import java.util.GregorianCalendar;
 import java.util.List;
diff --git a/src/java/org/mxchange/jmailee/model/delivery/PizzaEmailDeliveryMessageBean.java b/src/java/org/mxchange/jmailee/model/delivery/PizzaEmailDeliveryMessageBean.java
new file mode 100644 (file)
index 0000000..6db0917
--- /dev/null
@@ -0,0 +1,120 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jmailee.model.delivery;
+
+import java.io.Serializable;
+import java.text.MessageFormat;
+import javax.ejb.ActivationConfigProperty;
+import javax.ejb.MessageDriven;
+import javax.jms.JMSException;
+import javax.jms.Message;
+import javax.jms.MessageListener;
+import javax.jms.ObjectMessage;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+import org.mxchange.jcoreeelogger.beans.local.logger.Log;
+import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
+
+/**
+ * A message queue for sending out emails
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+@MessageDriven (
+               name = "rateCalcEmail",
+               description = "A message bean for email delivery",
+               activationConfig = {
+                       @ActivationConfigProperty (propertyName = "destinationLookup", propertyValue = "jms/pizzaservice-email-queue"),
+                       @ActivationConfigProperty (propertyName = "destinationType", propertyValue = "javax.jms.Queue")
+               }
+)
+public class PizzaEmailDeliveryMessageBean implements MessageListener {
+
+       /**
+        * Logger bean
+        */
+       @Log
+       private LoggerBeanLocal loggerBeanLocal;
+
+       /**
+        * Default constructor
+        */
+       public PizzaEmailDeliveryMessageBean () {
+               try {
+                       // Get initial context
+                       Context context = new InitialContext();
+
+                       // Lookup logger
+                       this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
+               } catch (final NamingException ex) {
+                       // Continue to throw
+                       throw new RuntimeException(MessageFormat.format("context.lookup() failed: {0}", ex.getMessage()), ex); //NOI18N
+               }
+       }
+
+       @Override
+       public void onMessage (final Message message) {
+               // Trace message
+               this.loggerBeanLocal.logTrace(MessageFormat.format("onMessage: message={0} - CALLED!", message)); //NOI18N
+
+               // Is the message castable to ObjectMessage?
+               if (null == message) {
+                       // message is null
+                       throw new NullPointerException("message is null"); //NOI18N
+               } else if (!(message instanceof ObjectMessage)) {
+                       // Not castable
+                       throw new ClassCastException(MessageFormat.format("message cannot be casted to ObjectMessage: {0}", message)); //NOI18N
+               }
+
+               // Securely cast it
+               ObjectMessage objectMessage = (ObjectMessage) message;
+
+               // Init instance
+               Serializable object;
+
+               try {
+                       // Get object from it
+                       object = objectMessage.getObject();
+               } catch (final JMSException ex) {
+                       // Log exception ...
+                       this.loggerBeanLocal.logException(ex);
+
+                       // ... and don't continue
+                       return;
+               }
+
+               // Debug message
+               this.loggerBeanLocal.logDebug(MessageFormat.format("onMessage: object={0}", object)); //NOI18N
+
+               // Does this object implement WrapableCheckout ?
+               if (null == object) {
+                       // object cannot be null
+                       throw new NullPointerException("object is null"); //NOI18N
+               } else if (!(object instanceof WrapableEmailDelivery)) {
+                       // Not proper interface used
+                       throw new ClassCastException(MessageFormat.format("object does not implement WrapableEmailDelivery: {0}", object)); //NOI18N
+               }
+
+               // Cast the object to the wrapper interface
+               WrapableEmailDelivery emailDelivery = (WrapableEmailDelivery) object;
+
+               // Trace message
+               this.loggerBeanLocal.logTrace("onMessage: EXIT!"); //NOI18N
+       }
+
+}
diff --git a/src/java/org/mxchange/jmailee/model/delivery/RateCalcEmailDeliveryMessageBean.java b/src/java/org/mxchange/jmailee/model/delivery/RateCalcEmailDeliveryMessageBean.java
deleted file mode 100644 (file)
index 4c509b0..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
- * Copyright (C) 2016 Cho-Time GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jmailee.model.delivery;
-
-import java.io.Serializable;
-import java.text.MessageFormat;
-import javax.ejb.ActivationConfigProperty;
-import javax.ejb.MessageDriven;
-import javax.jms.JMSException;
-import javax.jms.Message;
-import javax.jms.MessageListener;
-import javax.jms.ObjectMessage;
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-import org.mxchange.jcoreeelogger.beans.local.logger.Log;
-import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
-
-/**
- * A message queue for sending out emails
- * <p>
- * @author Roland Haeder<rhaeder@cho-time.de>
- */
-@MessageDriven (
-               name = "rateCalcEmail",
-               description = "A message bean for email delivery",
-               activationConfig = {
-                       @ActivationConfigProperty (propertyName = "destinationLookup", propertyValue = "jms/jratecalc-email-queue"),
-                       @ActivationConfigProperty (propertyName = "destinationType", propertyValue = "javax.jms.Queue")
-               }
-)
-public class RateCalcEmailDeliveryMessageBean implements MessageListener {
-
-       /**
-        * Logger bean
-        */
-       @Log
-       private LoggerBeanLocal loggerBeanLocal;
-
-       /**
-        * Default constructor
-        */
-       public RateCalcEmailDeliveryMessageBean () {
-               try {
-                       // Get initial context
-                       Context context = new InitialContext();
-
-                       // Lookup logger
-                       this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
-               } catch (final NamingException ex) {
-                       // Continue to throw
-                       throw new RuntimeException(MessageFormat.format("context.lookup() failed: {0}", ex.getMessage()), ex); //NOI18N
-               }
-       }
-
-       @Override
-       public void onMessage (final Message message) {
-               // Trace message
-               this.loggerBeanLocal.logTrace(MessageFormat.format("onMessage: message={0} - CALLED!", message)); //NOI18N
-
-               // Is the message castable to ObjectMessage?
-               if (null == message) {
-                       // message is null
-                       throw new NullPointerException("message is null"); //NOI18N
-               } else if (!(message instanceof ObjectMessage)) {
-                       // Not castable
-                       throw new ClassCastException(MessageFormat.format("message cannot be casted to ObjectMessage: {0}", message)); //NOI18N
-               }
-
-               // Securely cast it
-               ObjectMessage objectMessage = (ObjectMessage) message;
-
-               // Init instance
-               Serializable object;
-
-               try {
-                       // Get object from it
-                       object = objectMessage.getObject();
-               } catch (final JMSException ex) {
-                       // Log exception ...
-                       this.loggerBeanLocal.logException(ex);
-
-                       // ... and don't continue
-                       return;
-               }
-
-               // Debug message
-               this.loggerBeanLocal.logDebug(MessageFormat.format("onMessage: object={0}", object)); //NOI18N
-
-               // Does this object implement WrapableCheckout ?
-               if (null == object) {
-                       // object cannot be null
-                       throw new NullPointerException("object is null"); //NOI18N
-               } else if (!(object instanceof WrapableEmailDelivery)) {
-                       // Not proper interface used
-                       throw new ClassCastException(MessageFormat.format("object does not implement WrapableEmailDelivery: {0}", object)); //NOI18N
-               }
-
-               // Cast the object to the wrapper interface
-               WrapableEmailDelivery emailDelivery = (WrapableEmailDelivery) object;
-
-               // Trace message
-               this.loggerBeanLocal.logTrace("onMessage: EXIT!"); //NOI18N
-       }
-
-}
index 153d3c9d79b95b3520b63086519c80cd52029dcc..25df8fd2b758259970ded798d977ee2d6a0d14cf 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.jphone.phonenumbers.mobileprovider;
 
-import de.chotime.jratecalc.database.BaseRateCalcDatabaseBean;
 import java.text.MessageFormat;
 import java.util.GregorianCalendar;
 import javax.ejb.Stateless;
index 2a06c359273be01588e70da3fb314716f7cbda0b..8a04591d1a7b214ed8414102dcb67c018eba9ab0 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.jphone.phonenumbers.phone;
 
-import de.chotime.jratecalc.database.BaseRateCalcDatabaseBean;
 import java.text.MessageFormat;
 import java.util.List;
 import javax.ejb.Stateless;
index eb37c9d772fee1202ef35003d6290855205a4965..61c3f219e941a72e5de83224d966086ca64c5cd5 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.jphone.phonenumbers.phone;
 
-import de.chotime.jratecalc.database.BaseRateCalcDatabaseBean;
 import javax.ejb.Stateless;
 import org.mxchange.pizzaaplication.database.BasePizzaDatabaseBean;
 
index dfd3defa1109d8675765a5341e24f04b878d64bd..69df539d1309614d282dd6eed230e219180438de 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.jphone.phonenumbers.phone;
 
-import de.chotime.jratecalc.database.BaseRateCalcDatabaseBean;
 import java.text.MessageFormat;
 import javax.ejb.Stateless;
 import javax.persistence.NoResultException;
index 15bb461cac7f70d377c32f264a86b31ea77dfca5..fe3f856e43bb95bbbf8d105eeeab8957236d73d6 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.jusercore.model.login;
 
-import de.chotime.jratecalc.database.BaseRateCalcDatabaseBean;
 import java.text.MessageFormat;
 import javax.ejb.EJB;
 import javax.ejb.Stateless;
index 7dcb5f34045f0d77bd2748c3b0c27706967178d5..6953910eeeadf4efabac215cba95737bed8b9f5b 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.jusercore.model.register;
 
-import de.chotime.jratecalc.database.BaseRateCalcDatabaseBean;
 import java.text.MessageFormat;
 import javax.ejb.EJB;
 import javax.ejb.Stateless;
index 2ce897289601945ebb23155c0f6f16dbd7797b28..2801cbdda73c125db16471b8ffa369a444af9acc 100644 (file)
@@ -26,6 +26,9 @@ import javax.persistence.NoResultException;
 import javax.persistence.PersistenceException;
 import javax.persistence.Query;
 import org.mxchange.jcontacts.contact.Contact;
+import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
 import org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException;
 import org.mxchange.jusercore.exceptions.UserNameAlreadyRegisteredException;
 import org.mxchange.jusercore.exceptions.UserNotFoundException;
index 21feee5f445791529f7bde1534bc510a2c1c5845..109fbfd49030b48f370569ab41ea567ceadef3f7 100644 (file)
@@ -54,7 +54,7 @@ public class PizzaAdminCustomerSessionBean extends BasePizzaDatabaseBean impleme
         * General customer bean
         */
        @EJB
-       private RateCalcCustomerSessionBeanRemote customerBean;
+       private PizzaCustomerSessionBeanRemote customerBean;
 
        @Override
        public Customer addCustomer (final Customer customer) throws CustomerAlreadyRegisteredException, ContactAlreadyAddedException {