From: Roland Haeder Date: Thu, 24 Sep 2015 08:54:28 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d51c17f62f51cec849f59194368aa8e2d23171df;p=pizzaservice-war.git Continued: - removed dependency to BaseFrameworkBean - updated jars Signed-off-by:Roland Häder --- diff --git a/lib/jcoreee.jar b/lib/jcoreee.jar index 92367b4d..ecead0fb 100644 Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ diff --git a/lib/jshop-core.jar b/lib/jshop-core.jar index 057daed1..5c994bea 100644 Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ diff --git a/lib/jshop-ee-lib.jar b/lib/jshop-ee-lib.jar index 71a37dd7..b6734853 100644 Binary files a/lib/jshop-ee-lib.jar and b/lib/jshop-ee-lib.jar differ diff --git a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java index 25da04d7..1d62d65f 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java @@ -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 allItems () { // Trace message - this.getLogger().logTrace("allItems: CALLED!"); + //this.getLogger().logTrace("allItems: CALLED!"); // Deligate to basket instance List 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 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; diff --git a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java index 6ca20bd4..5531c0c7 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java @@ -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 */ diff --git a/src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebBean.java index eedb20d5..c85fdb0d 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebBean.java @@ -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 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(); diff --git a/src/java/org/mxchange/pizzaapplication/beans/controller/ShopWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/controller/ShopWebBean.java index 9c861d19..c151a605 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/controller/ShopWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/controller/ShopWebBean.java @@ -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 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); diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java index de93ed50..32638065 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java @@ -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; diff --git a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java index c93c3995..803fbbe8 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java @@ -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 diff --git a/src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebBean.java index 8efd6f92..fcd1a531 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebBean.java @@ -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 diff --git a/src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebBean.java index 1c6c3e4a..83de0a0c 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebBean.java @@ -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