- added lookup attribute to @EJB annotation as some lookup did not work as
expected and this is "guranteed" to work (if you have the right JNDI name,
of course)
- plus all these EJBs can now be more distributed over separate EJB modules
allowing a distributed operation over several data centers, awsome words,
right? ;-)
- sorted members in base database bean
Signed-off-by: Roland Häder <roland@mxchange.org>
/**
* Contact EJB
*/
- @EJB
+ @EJB (lookup = "java:global/addressbook-ejb/contact!org.mxchange.jcontacts.model.contact.ContactSessionBeanRemote")
private ContactSessionBeanRemote contactBean;
/**
/**
* Administrative EJB
*/
- @EJB
+ @EJB (lookup = "java:global/addressbook-ejb/basicCompanyData!org.mxchange.jcontactsbusiness.model.basicdata.BasicCompanyDataSessionBeanRemote")
private BasicCompanyDataSessionBeanRemote businessDataBean;
/**
/**
* General branch office bean
*/
- @EJB
+ @EJB (lookup = "java:global/addressbook-ejb/branchOffice!org.mxchange.jcontactsbusiness.model.branchoffice.BranchOfficeSessionBeanRemote")
private BranchOfficeSessionBeanRemote branchOfficeBean;
/**
/**
* Registration EJB
*/
- @EJB
+ @EJB (lookup = "java:global/addressbook-ejb/userRegistration!org.mxchange.juserlogincore.model.user.register.UserRegistrationSessionBeanRemote")
private UserRegistrationSessionBeanRemote registerBean;
/**
/**
* User bean
*/
- @EJB
+ @EJB (lookup = "java:global/addressbook-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote")
private UserSessionBeanRemote userBean;
/**
// Persist it
//@TODO Fix email delivery then allow this: this.getEntityManager().persist(emailChange);
-
// Send email
this.sendEmail("User email change", "user_email_change", emailChange.getEmailChangeUser(), baseUrl, null); //NOI18N
/**
* Registration bean
*/
- @EJB
+ @EJB (lookup = "java:global/addressbook-ejb/userRegistration!org.mxchange.juserlogincore.model.user.register.UserRegistrationSessionBeanRemote")
private UserRegistrationSessionBeanRemote registerBean;
/**
* Regular user bean
*/
- @EJB
+ @EJB (lookup = "java:global/addressbook-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote")
private UserSessionBeanRemote userBean;
/**