]> git.mxchange.org Git - pizzaservice-war.git/commit
Please rename/cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 2 Sep 2017 19:52:41 +0000 (21:52 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 16 Sep 2017 13:24:04 +0000 (15:24 +0200)
commit7920e83ba35b53cd6dc6f9685ba88e7418cdef43
tree47b1fbfc6783e4240044b6c5671790cb42a07ce5
parent05f6123f93be6c968829565695621b00f33f15fb
Please rename/cherry-pick:
- having to much session-scoped beans was a bad design idea anyway
- on each new session, "tons" of EJB (JNDI lookup + business method invocation)
  will occur which will overrun the EJB container soon or later
- also having JNDI lookup in PostConstruct-annotated methods was bad, too
  because it "confuses" the web container
- while it is building proxy objects arround every managed class (like also now
  converters, JSF 2.3.x only) especially backing beans, there should be no JNDI
  lookup hapening
- but initializing some lists for performance reasons is the right thing to do
- maybe later some other annotation will be used instead, but for now it is fine
- so let's make this painless and rename all session-scoped backing beans and
  re-annotate them with RequestScoped for now as this is also reduces memory
  foot-print

Signed-off-by: Roland Häder <roland@mxchange.org>
63 files changed:
src/java/org/mxchange/jfinancials/validator/business/basicdata/FinancialsCompanyNameValidator.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/business/employee/PizzaCompanyEmployeeWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/business/employee/PizzaCompanyEmployeeWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/business/employee/PizzaCompanyEmployeeWebSessionController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/checkout/PizzaCheckoutWebSessionBean.java
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaAdminContactWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebSessionBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebSessionController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/contact/phone/PizzaContactPhoneWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/contact/phone/PizzaContactPhoneWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/contact/phone/PizzaContactPhoneWebSessionBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/contact/phone/PizzaContactPhoneWebSessionController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/country/PizzaAdminCountryWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionBean.java
src/java/org/mxchange/pizzaapplication/beans/helper/PizzaWebRequestHelperBean.java
src/java/org/mxchange/pizzaapplication/beans/mobileprovider/PizzaAdminMobileProviderWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/mobileprovider/PizzaMobileProviderWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/mobileprovider/PizzaMobileProviderWebRequestController.java
src/java/org/mxchange/pizzaapplication/beans/phone/PizzaAdminPhoneWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/phone/PizzaPhoneWebApplicationBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/phone/PizzaPhoneWebApplicationController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/phone/PizzaPhoneWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/phone/PizzaPhoneWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/profile/PizzaUserProfileWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebSessionBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/receipt/PizzaReceiptWebSessionController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/user/PizzaUserWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/PizzaUserWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/PizzaUserWebSessionBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/PizzaUserWebSessionController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/activity/PizzaUserActivityWebApplicationBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/activity/PizzaUserActivityWebApplicationController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/activity/PizzaUserActivityWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/activity/PizzaUserActivityWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/confirmlink/PizzaConfirmationLinkWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/user/email_address/PizzaEmailChangeWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/email_address/PizzaEmailChangeWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/email_address/PizzaEmailChangeWebSessionBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/email_address/PizzaEmailChangeWebSessionController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/login/PizzaUserLoginWebSessionBean.java
src/java/org/mxchange/pizzaapplication/beans/user/register/PizzaUserRegisterWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/register/PizzaUserRegisterWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/register/PizzaUserRegisterWebSessionBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/register/PizzaUserRegisterWebSessionController.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/resendlink/PizzaResendLinkWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/resendlink/PizzaResendLinkWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/user/resendlink/PizzaResendLinkWebSessionBean.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/user/resendlink/PizzaResendLinkWebSessionController.java [deleted file]
src/java/org/mxchange/pizzaapplication/validator/business/basicdata/PizzaCompanyNameValidator.java [new file with mode: 0644]
web/guest/user/user_list.xhtml