]> git.mxchange.org Git - pizzaservice-war.git/blobdiff - src/java/org/mxchange/pizzaapplication/servlet/receipt/PizzaPdfReceiptServlet.java
Updated copyright year
[pizzaservice-war.git] / src / java / org / mxchange / pizzaapplication / servlet / receipt / PizzaPdfReceiptServlet.java
index 3d374cdb882a5b6803a63ca95e41561610a205bd..83c2ed26d2cb8294c7d897f3643e3802dbf5cb9b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Haeder
+ * Copyright (C) 2016 - 2020 Free Software Foundation
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as
@@ -31,7 +31,7 @@ import org.mxchange.jshopcore.model.receipt.WrapableReceipt;
 /**
  * A servlet for a PDF receipt (official)
  * <p>
- * @author Roland Haeder<roland@mxchange.org>
+ * @author Roland Hรคder<roland@mxchange.org>
  */
 public class PizzaPdfReceiptServlet extends HttpServlet {
 
@@ -55,7 +55,7 @@ public class PizzaPdfReceiptServlet extends HttpServlet {
                        Context context = new InitialContext();
 
                        // Set instance
-                       this.receiptBean = (ReceiptBeanRemote) context.lookup("ejb/pdf-receipt"); //NOI18N
+                       this.receiptBean = (ReceiptBeanRemote) context.lookup("java:global/jshop-ejb/pdf!org.mxchange.jshopcore.model.receipt.ReceiptBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);