From: Roland Häder Date: Sat, 5 Oct 2019 00:21:54 +0000 (+0200) Subject: Product-only: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a2b0f3c233f46ad81c57bcd6456c7465e7732448;p=jfinancials-war.git Product-only: - improved inline documentation a bit (EJBs are called, not any bean) Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jfinancials/beans/generic_product/FinancialAdminProductWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/generic_product/FinancialAdminProductWebRequestBean.java index c60efe1f..5228b688 100644 --- a/src/java/org/mxchange/jfinancials/beans/generic_product/FinancialAdminProductWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/generic_product/FinancialAdminProductWebRequestBean.java @@ -171,7 +171,7 @@ public class FinancialAdminProductWebRequestBean extends BaseFinancialsBean impl final Product updatedProduct; try { - // Call bean + // Call EJB updatedProduct = this.adminProductBean.addGenericProduct(product); } catch (final ProductAlreadyAddedException ex) { // Continue to throw diff --git a/src/java/org/mxchange/jfinancials/beans/generic_product/list/FinancialsProductListWebViewBean.java b/src/java/org/mxchange/jfinancials/beans/generic_product/list/FinancialsProductListWebViewBean.java index a9491206..371943e2 100644 --- a/src/java/org/mxchange/jfinancials/beans/generic_product/list/FinancialsProductListWebViewBean.java +++ b/src/java/org/mxchange/jfinancials/beans/generic_product/list/FinancialsProductListWebViewBean.java @@ -217,7 +217,7 @@ public class FinancialsProductListWebViewBean extends BaseFinancialsBean impleme public void init () { // Is cache there? if (!this.productCache.iterator().hasNext()) { - // Get whole list + // Get whole list from EJB final List products = this.productBean.allProducts(); // "Walk" through all entries and add to cache diff --git a/src/java/org/mxchange/jfinancials/beans/product_category/list/FinancialsCategoryListWebViewBean.java b/src/java/org/mxchange/jfinancials/beans/product_category/list/FinancialsCategoryListWebViewBean.java index 46598701..23602a46 100644 --- a/src/java/org/mxchange/jfinancials/beans/product_category/list/FinancialsCategoryListWebViewBean.java +++ b/src/java/org/mxchange/jfinancials/beans/product_category/list/FinancialsCategoryListWebViewBean.java @@ -192,7 +192,7 @@ public class FinancialsCategoryListWebViewBean extends BaseFinancialsBean implem public void init () { // Is cache there? if (!this.categoryCache.iterator().hasNext()) { - // Get whole list + // Get whole list from EJB final List categories = this.categoryBean.allCategories(); // "Walk" through all entries and add to cache