]> git.mxchange.org Git - addressbook-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, 9 Sep 2017 19:57:52 +0000 (21:57 +0200)
commit8e0df0cf281bf63f6683aea90c28427ef04d5af5
treeaad5e7856ebaa3db129ce853b6988577d0920a19
parent8e65f12ce17ad0dae9f12bc99ee7ed55580fe830
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>
66 files changed:
src/java/org/mxchange/addressbook/beans/business/basicdata/AddressbookBusinessDataWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/business/basicdata/AddressbookBusinessDataWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/business/basicdata/AddressbookBusinessDataWebSessionBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/business/basicdata/AddressbookBusinessDataWebSessionController.java [deleted file]
src/java/org/mxchange/addressbook/beans/business/employee/AddressbookCompanyEmployeeWebRequestBean.java
src/java/org/mxchange/addressbook/beans/business/employee/AddressbookCompanyEmployeeWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/business/employee/AddressbookCompanyEmployeeWebSessionController.java [deleted file]
src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestBean.java
src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebSessionBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebSessionController.java [deleted file]
src/java/org/mxchange/addressbook/beans/contact/phone/AddressbookContactPhoneWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/contact/phone/AddressbookContactPhoneWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/contact/phone/AddressbookContactPhoneWebSessionBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/contact/phone/AddressbookContactPhoneWebSessionController.java [deleted file]
src/java/org/mxchange/addressbook/beans/country/AddressbookAdminCountryWebRequestBean.java
src/java/org/mxchange/addressbook/beans/country/AddressbookCountryWebApplicationBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/country/AddressbookCountryWebApplicationController.java [deleted file]
src/java/org/mxchange/addressbook/beans/country/AddressbookCountryWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/country/AddressbookCountryWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/helper/AddressbookWebRequestHelperBean.java
src/java/org/mxchange/addressbook/beans/mobileprovider/AddressbookMobileProviderWebRequestBean.java
src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminPhoneWebRequestBean.java
src/java/org/mxchange/addressbook/beans/phone/AddressbookPhoneWebApplicationBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/phone/AddressbookPhoneWebApplicationController.java [deleted file]
src/java/org/mxchange/addressbook/beans/phone/AddressbookPhoneWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/phone/AddressbookPhoneWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/profile/AddressbookUserProfileWebRequestBean.java
src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebRequestBean.java
src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebSessionBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebSessionController.java [deleted file]
src/java/org/mxchange/addressbook/beans/user/activity/AddressbookUserActivityWebApplicationBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/user/activity/AddressbookUserActivityWebApplicationController.java [deleted file]
src/java/org/mxchange/addressbook/beans/user/activity/AddressbookUserActivityWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/activity/AddressbookUserActivityWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/confirmlink/AddressbookConfirmationLinkWebRequestBean.java
src/java/org/mxchange/addressbook/beans/user/email_address/AddressbookEmailChangeWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/email_address/AddressbookEmailChangeWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/email_address/AddressbookEmailChangeWebSessionBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/user/email_address/AddressbookEmailChangeWebSessionController.java [deleted file]
src/java/org/mxchange/addressbook/beans/user/login/AddressbookUserLoginWebSessionBean.java
src/java/org/mxchange/addressbook/beans/user/register/AddressbookUserRegisterWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/register/AddressbookUserRegisterWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/register/AddressbookUserRegisterWebSessionBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/user/register/AddressbookUserRegisterWebSessionController.java [deleted file]
src/java/org/mxchange/addressbook/beans/user/resendlink/AddressbookResendLinkWebRequestBean.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/resendlink/AddressbookResendLinkWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/addressbook/beans/user/resendlink/AddressbookResendLinkWebSessionBean.java [deleted file]
src/java/org/mxchange/addressbook/beans/user/resendlink/AddressbookResendLinkWebSessionController.java [deleted file]
src/java/org/mxchange/addressbook/converter/business/basicdata/AddressbookBusinessContactConverter.java
src/java/org/mxchange/addressbook/converter/business/company_employee/AddressbookCompanyEmployeeConverter.java
src/java/org/mxchange/addressbook/converter/business/headquarters/AddressbookCompanyHeadquartersConverter.java
src/java/org/mxchange/addressbook/converter/contact/AddressbookContactConverter.java
src/java/org/mxchange/addressbook/converter/country/AddressbookCountryConverter.java
src/java/org/mxchange/addressbook/converter/fax/AddressbookFaxNumberConverter.java
src/java/org/mxchange/addressbook/converter/landline/AddressbookLandLineNumberConverter.java
src/java/org/mxchange/addressbook/converter/mobile/AddressbookMobileNumberConverter.java
src/java/org/mxchange/addressbook/converter/mobileprovider/AddressbookMobileProviderConverter.java
src/java/org/mxchange/addressbook/converter/user/AddressbookUserConverter.java
src/java/org/mxchange/addressbook/validator/business/basicdata/AddressbookCompanyNameValidator.java
src/java/org/mxchange/addressbook/validator/emailaddress/AddressbookEmailAddressValidator.java
src/java/org/mxchange/addressbook/validator/user/AddressbookUserIdValidator.java
web/guest/user/user_list.xhtml