]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Thu, 24 Sep 2015 08:54:28 +0000 (10:54 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 24 Sep 2015 09:02:16 +0000 (11:02 +0200)
- removed dependency to BaseFrameworkBean
- updated jars
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcoreee.jar
lib/jshop-core.jar
lib/jshop-ee-lib.jar
src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java
src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java
src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebBean.java
src/java/org/mxchange/pizzaapplication/beans/controller/ShopWebBean.java
src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java
src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java
src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebBean.java
src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebBean.java

index 92367b4d8d9f810b8b83552a1f4e4dbdaaf4fa47..ecead0fbb2adc58d5b691c352966ebcb2ed073a3 100644 (file)
Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ
index 057daed17c1a649cc69d961db9b8c4c6f8ca4ae8..5c994beaf2563e378ae4dde6c0e8b35154879f5c 100644 (file)
Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ
index 71a37dd75d1fe62bdd72a036aed72d39999ef66f..b6734853f80b4e12c5492b4e65723d0fd3ae68be 100644 (file)
Binary files a/lib/jshop-ee-lib.jar and b/lib/jshop-ee-lib.jar differ
index 25da04d7a60b8b0f35181cdc06674e8441ce02d3..1d62d65f77774f5698d255849fd20bb0833ff2d8 100644 (file)
@@ -18,7 +18,6 @@ package org.mxchange.pizzaapplication.beans.basket;
 
 import java.text.MessageFormat;
 import java.util.List;
-import javax.annotation.PostConstruct;
 import javax.enterprise.context.SessionScoped;
 import javax.faces.FacesException;
 import javax.faces.view.facelets.FaceletException;
@@ -26,7 +25,6 @@ import javax.inject.Named;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
-import org.mxchange.jcoreee.beans.BaseFrameworkBean;
 import org.mxchange.jshopcore.exceptions.BasketItemAlreadyAddedException;
 import org.mxchange.jshopcore.model.basket.AddableBasketItem;
 import org.mxchange.jshopcore.model.basket.Basket;
@@ -42,7 +40,7 @@ import org.mxchange.jshopcore.model.product.Product;
  */
 @Named ("basketController")
 @SessionScoped
-public class BasketWebBean extends BaseFrameworkBean implements BasketWebController {
+public class BasketWebBean implements BasketWebController {
 
        /**
         * Serial number
@@ -92,7 +90,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
        @Override
        public String addItem (final Product product) {
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("addItem: product={0} - CALLED!", product));
+               //this.getLogger().logTrace(MessageFormat.format("addItem: product={0} - CALLED!", product));
 
                // product should not be null
                if (null == product) {
@@ -106,7 +104,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                // Is amount set?
                if (this.getAmount() == null) {
                        // Trace message
-                       this.getLogger().logTrace("addItem: amount not specified, returning null ... - EXIT!");
+                       //this.getLogger().logTrace("addItem: amount not specified, returning null ... - EXIT!");
 
                        // No amount specified?!
                        return null;
@@ -126,7 +124,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                        this.setAmount(null);
 
                        // Trace message
-                       this.getLogger().logTrace(MessageFormat.format("addItem: item {0} - has been added to basket. - EXIT!", item));
+                       //this.getLogger().logTrace(MessageFormat.format("addItem: item {0} - has been added to basket. - EXIT!", item));
 
                        // Added
                        return "item_added"; //NOI18N
@@ -139,13 +137,13 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
        @Override
        public List<AddableBasketItem> allItems () {
                // Trace message
-               this.getLogger().logTrace("allItems: CALLED!");
+               //this.getLogger().logTrace("allItems: CALLED!");
 
                // Deligate to basket instance
                List<AddableBasketItem> list = this.basket.getAll();
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("allItems: list={0} - EXIT!", list));
+               //this.getLogger().logTrace(MessageFormat.format("allItems: list={0} - EXIT!", list));
 
                // Return it
                return list;
@@ -154,7 +152,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
        @Override
        public Float calculateCurrentItemPrice () {
                // Trace message
-               this.getLogger().logTrace("calculateCurrentItemPrice: CALLED!");
+               //this.getLogger().logTrace("calculateCurrentItemPrice: CALLED!");
 
                // Is the current item/amount set?
                if (this.getCurrentItem() == null) {
@@ -172,7 +170,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                Float totalPrice = (this.getCurrentItem().getProduct().getPrice() * this.getCurrentItem().getAmount());
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("calculateCurrentItemPrice: totalPrice={0} - EXIT!", totalPrice));
+               //this.getLogger().logTrace(MessageFormat.format("calculateCurrentItemPrice: totalPrice={0} - EXIT!", totalPrice));
 
                // Return it
                return totalPrice;
@@ -181,7 +179,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
        @Override
        public Float calculateItemPrice (final AddableBasketItem item) {
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("calculateItemPrice: item={0} - CALLED!", item));
+               //this.getLogger().logTrace(MessageFormat.format("calculateItemPrice: item={0} - CALLED!", item));
 
                // item must not be null
                if (null == item) {
@@ -199,7 +197,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                }
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("calculateItemPrice: totalPrice={0} - EXIT!", totalPrice));
+               //this.getLogger().logTrace(MessageFormat.format("calculateItemPrice: totalPrice={0} - EXIT!", totalPrice));
 
                // Return it
                return totalPrice;
@@ -208,7 +206,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
        @Override
        public Float calculateTotalPrice () {
                // Trace message
-               this.getLogger().logTrace("calculateTotalPrice: CALLED!");
+               //this.getLogger().logTrace("calculateTotalPrice: CALLED!");
 
                // Init total price
                Float totalPrice = 0.0f;
@@ -223,7 +221,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                }
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("calculateTotalPrice: totalPrice={0} - EXIT!", totalPrice));
+               //this.getLogger().logTrace(MessageFormat.format("calculateTotalPrice: totalPrice={0} - EXIT!", totalPrice));
 
                // Return final sum
                return totalPrice;
@@ -232,7 +230,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
        @Override
        public String changeItem (final AddableBasketItem item) {
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("changeItem: item={0} - CALLED!", item));
+               //this.getLogger().logTrace(MessageFormat.format("changeItem: item={0} - CALLED!", item));
 
                // item shall not be null
                if (null == item) {
@@ -254,7 +252,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                }
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("changeItem: targetPage={0} - EXIT!", targetPage));
+               //this.getLogger().logTrace(MessageFormat.format("changeItem: targetPage={0} - EXIT!", targetPage));
 
                // Return page
                return targetPage;
@@ -290,7 +288,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
        @Override
        public Long getItemAmount (final Product product) {
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("getItemAmount: product={0} - CALLED!", product));
+               //this.getLogger().logTrace(MessageFormat.format("getItemAmount: product={0} - CALLED!", product));
 
                // product should not be null
                if (null == product) {
@@ -304,7 +302,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                // Iterate over all
                for (final AddableBasketItem item : this.allItems()) {
                        // Debug message
-                       this.getLogger().logDebug(MessageFormat.format("getItemAmount: item={0}", item));
+                       //this.getLogger().logDebug(MessageFormat.format("getItemAmount: item={0}", item));
 
                        // Is this product instance and same?
                        if (null == item) {
@@ -318,7 +316,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                }
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("getItemAmount: itemAmount={0} - EXIT!", itemAmount));
+               //this.getLogger().logTrace(MessageFormat.format("getItemAmount: itemAmount={0} - EXIT!", itemAmount));
 
                // Return it
                return itemAmount;
@@ -342,12 +340,6 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                return (!this.isEmpty());
        }
 
-       @PostConstruct
-       public void init () {
-               // Call generic init first
-               super.genericInit();
-       }
-
        @Override
        public boolean isEmpty () {
                // Deligate to basket instance
@@ -357,7 +349,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
        @Override
        public boolean isProductAdded (final Product product) {
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("isProductAdded: product={0} - EXIT!", product));
+               //this.getLogger().logTrace(MessageFormat.format("isProductAdded: product={0} - EXIT!", product));
 
                // Must not be null
                if (null == product) {
@@ -369,13 +361,13 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                AddableBasketItem fake = new BasketItem(product);
 
                // Debug message
-               this.getLogger().logDebug(MessageFormat.format("isProductAdded: fake={0}", fake));
+               //this.getLogger().logDebug(MessageFormat.format("isProductAdded: fake={0}", fake));
 
                // Ask bean about it
                boolean isAdded = this.basket.isAdded(fake);
 
                // Debug message
-               this.getLogger().logDebug(MessageFormat.format("isProductAdded: isAdded={0}", isAdded));
+               //this.getLogger().logDebug(MessageFormat.format("isProductAdded: isAdded={0}", isAdded));
 
                // Is it added?
                if (isAdded) {
@@ -383,14 +375,14 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                        AddableBasketItem item = this.getItemFromProduct(product);
 
                        // Debug message
-                       this.getLogger().logDebug(MessageFormat.format("isProductAdded: item={0} - setting as current item.", item));
+                       //this.getLogger().logDebug(MessageFormat.format("isProductAdded: item={0} - setting as current item.", item));
 
                        // Set this as current item
                        this.setCurrentItem(item);
                }
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("isProductAdded: isAdded={0} - EXIT!", isAdded));
+               //this.getLogger().logTrace(MessageFormat.format("isProductAdded: isAdded={0} - EXIT!", isAdded));
 
                // Return status
                return isAdded;
@@ -399,7 +391,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
        @Override
        public String outputLastAddedItem () {
                // Trace message
-               this.getLogger().logTrace("outputLastAddedItem: CALLED!");
+               //this.getLogger().logTrace("outputLastAddedItem: CALLED!");
 
                // Default message
                String lastItem = ""; //NOI18N
@@ -424,7 +416,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                }
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("outputLastAddedItem: lastItem={0} - EXIT!", lastItem));
+               //this.getLogger().logTrace(MessageFormat.format("outputLastAddedItem: lastItem={0} - EXIT!", lastItem));
 
                // Return it
                return lastItem;
@@ -449,7 +441,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
         */
        private AddableBasketItem getItemFromProduct (final Product product) {
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("getItemFromProduct: product={0} - CALLED!", product));
+               //this.getLogger().logTrace(MessageFormat.format("getItemFromProduct: product={0} - CALLED!", product));
 
                // Product must not be null
                if (null == product) {
@@ -464,18 +456,18 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                AddableBasketItem fake = new BasketItem(product);
 
                // Debug message
-               this.getLogger().logDebug(MessageFormat.format("getItemFromProduct: fake={0}", fake));
+               //this.getLogger().logDebug(MessageFormat.format("getItemFromProduct: fake={0}", fake));
 
                // Get all items
                List<AddableBasketItem> list = this.basket.getAll();
 
                // Debug message
-               this.getLogger().logDebug(MessageFormat.format("getItemFromProduct: list={0}", list));
+               //this.getLogger().logDebug(MessageFormat.format("getItemFromProduct: list={0}", list));
 
                // Check all entries
                for (final AddableBasketItem item : list) {
                        // Debug message
-                       this.getLogger().logDebug(MessageFormat.format("getItemFromProduct: item={0}", item));
+                       //this.getLogger().logDebug(MessageFormat.format("getItemFromProduct: item={0}", item));
 
                        // item must not be null
                        if (null == item) {
@@ -492,7 +484,7 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl
                }
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("getItemFromProduct: foundItem={0} - EXIT!", foundItem));
+               //this.getLogger().logTrace(MessageFormat.format("getItemFromProduct: foundItem={0} - EXIT!", foundItem));
 
                // Return it
                return foundItem;
index 6ca20bd4fa05066cc3d06b3ef40d76952ab8e5d1..5531c0c78a215448b3156653402181abf470a5e0 100644 (file)
@@ -23,7 +23,6 @@ import javax.inject.Named;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
-import org.mxchange.jcoreee.beans.BaseFrameworkBean;
 import org.mxchange.jshopcore.exceptions.CannotAddCategoryException;
 import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
 import org.mxchange.jshopcore.model.category.AdminCategorySessionBeanRemote;
@@ -38,7 +37,7 @@ import org.mxchange.pizzaapplication.beans.controller.ShopWebController;
  */
 @Named("admin_category")
 @RequestScoped
-public class AdminCategoryWebBean extends BaseFrameworkBean implements AdminCategoryWebController {
+public class AdminCategoryWebBean implements AdminCategoryWebController {
        /**
         * Serial number
         */
index eedb20d5ce9987f4edf699734b7e0970249a4330..c85fdb0de378b66142eb260c004d3342202747d0 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.pizzaapplication.beans.checkout;
 
-import java.text.MessageFormat;
 import java.util.List;
 import javax.annotation.PostConstruct;
 import javax.annotation.PreDestroy;
@@ -34,7 +33,6 @@ import javax.jms.Session;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
-import org.mxchange.jcoreee.beans.BaseFrameworkBean;
 import org.mxchange.jshopcore.model.basket.AddableBasketItem;
 import org.mxchange.jshopcore.model.customer.Customer;
 import org.mxchange.jshopcore.wrapper.CheckoutWrapper;
@@ -50,7 +48,7 @@ import org.mxchange.pizzaapplication.beans.receipt.ReceiptWebController;
  */
 @Named ("checkoutController")
 @SessionScoped
-public class CheckoutWebBean extends BaseFrameworkBean implements CheckoutWebController {
+public class CheckoutWebBean implements CheckoutWebController {
 
        /**
         * Serial number
@@ -109,7 +107,7 @@ public class CheckoutWebBean extends BaseFrameworkBean implements CheckoutWebCon
        @Override
        public String doCheckout () {
                // Trace message
-               this.getLogger().logTrace("doCheckout: CALLED!");
+               //this.getLogger().logTrace("doCheckout: CALLED!");
 
                // Are the beans set?
                if (null == this.basketController) {
@@ -123,13 +121,13 @@ public class CheckoutWebBean extends BaseFrameworkBean implements CheckoutWebCon
                // Are at least the required fields set?
                if (!this.customerController.isRequiredPersonalDataSet()) {
                        // Trace message
-                       this.getLogger().logTrace("doCheckout: Not all required fields are set, returning checkout2 ... - EXIT!");
+                       //this.getLogger().logTrace("doCheckout: Not all required fields are set, returning checkout2 ... - EXIT!");
 
                        // Not set, should not happen
                        return "checkout2"; //NOI18N
                } else if (this.basketController.isEmpty()) {
                        // Trace message
-                       this.getLogger().logTrace("doCheckout: basket is empty, returning empty_basket ... - EXIT!");
+                       //this.getLogger().logTrace("doCheckout: basket is empty, returning empty_basket ... - EXIT!");
 
                        // Nothing to order
                        return "empty_basket"; //NOI18N
@@ -139,13 +137,13 @@ public class CheckoutWebBean extends BaseFrameworkBean implements CheckoutWebCon
                this.setCustomer(this.customerController.createCustomerInstance());
 
                // Debug message
-               this.getLogger().logDebug(MessageFormat.format("doCheckout: customer={0}", this.getCustomer()));
+               //this.getLogger().logDebug(MessageFormat.format("doCheckout: customer={0}", this.getCustomer()));
 
                // Get ordered list
                List<AddableBasketItem> list = this.basketController.allItems();
 
                // Debug message
-               this.getLogger().logTrace(MessageFormat.format("doCheckout: list={0}", list));
+               //this.getLogger().logTrace(MessageFormat.format("doCheckout: list={0}", list));
 
                // Construct container
                WrapableCheckout wrapper = new CheckoutWrapper();
@@ -186,9 +184,6 @@ public class CheckoutWebBean extends BaseFrameworkBean implements CheckoutWebCon
 
        @PostConstruct
        public void init () {
-               // Call super init for getting resource bundle
-               super.genericInit();
-
                try {
                        // Get initial context
                        Context context = new InitialContext();
index 9c861d19fc7247d966289ff48aa1421a31ba5514..c151a6058978b50a872097da4a1d3653b8ab4d07 100644 (file)
@@ -27,7 +27,7 @@ import javax.inject.Named;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
-import org.mxchange.jcoreee.beans.BaseFrameworkBean;
+import org.mxchange.jcoreee.BaseEeSystem;
 import org.mxchange.jshopcore.model.category.Category;
 import org.mxchange.jshopcore.model.category.CategorySessionBeanRemote;
 import org.mxchange.jshopcore.model.category.ProductCategory;
@@ -41,7 +41,7 @@ import org.mxchange.jshopcore.model.product.ProductSessionBeanRemote;
  */
 @Named("controller")
 @ApplicationScoped
-public class ShopWebBean extends BaseFrameworkBean implements ShopWebController {
+public class ShopWebBean extends BaseEeSystem implements ShopWebController {
 
        /**
         * Serial number
@@ -75,9 +75,6 @@ public class ShopWebBean extends BaseFrameworkBean implements ShopWebController
 
        @PostConstruct
        public void init () {
-               // Call super init for getting resource bundle
-               super.genericInit();
-
                try {
                        // Get initial context
                        Context context = new InitialContext();
@@ -112,7 +109,7 @@ public class ShopWebBean extends BaseFrameworkBean implements ShopWebController
                List<Category> deque = new LinkedList<>();
 
                // Create fake entry
-               Category fake = new ProductCategory(0L, this.getMessage("ADMIN_CATEGORY_HAS_NO_PARENT"), 0L); //NOI18N
+               Category fake = new ProductCategory(0L, this.getMessageStringFromKey("ADMIN_CATEGORY_HAS_NO_PARENT"), 0L); //NOI18N
 
                // Add it
                deque.add(fake);
index de93ed505da56adf3d614ed3c3e551ddd2299f35..32638065ab7de5e34a5b802839131573fecef2f2 100644 (file)
@@ -16,8 +16,6 @@
  */
 package org.mxchange.pizzaapplication.beans.customer;
 
-import java.text.MessageFormat;
-import javax.annotation.PostConstruct;
 import javax.enterprise.context.SessionScoped;
 import javax.faces.view.facelets.FaceletException;
 import javax.inject.Named;
@@ -27,7 +25,6 @@ import javax.naming.NamingException;
 import org.mxchange.jcore.model.contact.Contact;
 import org.mxchange.jcore.model.contact.CustomerContact;
 import org.mxchange.jcore.model.contact.gender.Gender;
-import org.mxchange.jcoreee.beans.BaseFrameworkBean;
 import org.mxchange.jshopcore.model.customer.Customer;
 import org.mxchange.jshopcore.model.customer.CustomerSessionBeanRemote;
 import org.mxchange.jshopcore.model.customer.ShopCustomer;
@@ -39,7 +36,7 @@ import org.mxchange.jshopcore.model.customer.ShopCustomer;
  */
 @Named("customerController")
 @SessionScoped
-public class CustomerWebBean extends BaseFrameworkBean implements CustomerWebController {
+public class CustomerWebBean implements CustomerWebController {
        /**
         * Serial number
         */
@@ -144,7 +141,8 @@ public class CustomerWebBean extends BaseFrameworkBean implements CustomerWebCon
        @Override
        public Customer createCustomerInstance () {
                // Trace message
-               this.getLogger().logTrace("createInstance: CALLED!");
+               //this.getLogger().logTrace("createInstance: CALLED!");
+
                // Required personal data must be set
                assert (this.isRequiredPersonalDataSet()) : "not all personal data is set"; //NOI18N
 
@@ -169,18 +167,12 @@ public class CustomerWebBean extends BaseFrameworkBean implements CustomerWebCon
                customer.setContact(contact);
 
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("createInstance: customer={0} - EXIT!", customer));
+               //this.getLogger().logTrace(MessageFormat.format("createInstance: customer={0} - EXIT!", customer));
 
                // Return it
                return customer;
        }
 
-       @PostConstruct
-       public void init () throws RuntimeException {
-               // Call super init first
-               super.genericInit();
-       }
-
        @Override
        public Gender getGender () {
                return this.gender;
index c93c3995068f83c7b16cbc496a223e15031576fc..803fbbe8012c118cd713742c2794f93f7c67fb7d 100644 (file)
@@ -21,7 +21,6 @@ import javax.enterprise.context.ApplicationScoped;
 import javax.inject.Named;
 import org.mxchange.jcore.model.contact.gender.Gender;
 import org.mxchange.jcore.model.contact.gender.GenderUtils;
-import org.mxchange.jcoreee.beans.BaseFrameworkBean;
 
 /**
  * A customer bean which hides the customer instance
@@ -30,7 +29,7 @@ import org.mxchange.jcoreee.beans.BaseFrameworkBean;
  */
 @Named ("gender")
 @ApplicationScoped
-public class GenderWebBean extends BaseFrameworkBean implements GenderWebController {
+public class GenderWebBean implements GenderWebController {
 
        /**
         * Serial number
index 8efd6f92027536ff2746543c43fd2776689fa665..fcd1a53127f21344f18c4f4908bea103c98c0284 100644 (file)
@@ -24,7 +24,6 @@ import javax.inject.Named;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
-import org.mxchange.jcoreee.beans.BaseFrameworkBean;
 import org.mxchange.jshopcore.exceptions.CannotAddProductException;
 import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
 import org.mxchange.jshopcore.model.product.AdminProductSessionBeanRemote;
@@ -39,7 +38,7 @@ import org.mxchange.pizzaapplication.beans.controller.ShopWebController;
  */
 @Named ("admin_product")
 @RequestScoped
-public class AdminProductWebBean extends BaseFrameworkBean implements AdminProductWebController {
+public class AdminProductWebBean implements AdminProductWebController {
 
        /**
         * Serial number
index 1c6c3e4a33ff0d6d9ce1af6741b3929081411e5f..83de0a0cb1503ad1504610f87004855fa132417c 100644 (file)
@@ -22,7 +22,6 @@ import javax.inject.Named;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
-import org.mxchange.jcoreee.beans.BaseFrameworkBean;
 import org.mxchange.jshopcore.model.customer.Customer;
 import org.mxchange.jshopcore.model.receipt.ReceiptBeanRemote;
 
@@ -33,7 +32,7 @@ import org.mxchange.jshopcore.model.receipt.ReceiptBeanRemote;
  */
 @Named ("receiptController")
 @SessionScoped
-public class ReceiptWebBean extends BaseFrameworkBean implements ReceiptWebController {
+public class ReceiptWebBean implements ReceiptWebController {
 
        /**
         * Serial number