import org.mxchange.jcontacts.contact.utils.ContactUtils;
import org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException;
import org.mxchange.jcontacts.exceptions.ContactNotFoundException;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
/**
* A contact EJB
* @author Roland Haeder<roland@mxchange.org>
*/
@Stateless (name = "contact", description = "A bean handling contact data")
-public class AddressbookContactSessionBean extends BaseAddressbookDatabaseBean implements ContactSessionBeanRemote {
+public class JobsContactSessionBean extends BaseJobsDatabaseBean implements ContactSessionBeanRemote {
/**
* Serial number
}
@Override
- public Contact addContact (Contact contact) throws ContactAlreadyAddedException {
+ public Contact addContact (final Contact contact) throws ContactAlreadyAddedException {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
import javax.ejb.Startup;
import javax.persistence.NoResultException;
import javax.persistence.Query;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
import org.mxchange.jcountry.exceptions.CountryAlreadyAddedException;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
/**
* A singleton EJB for country informations
* @author Roland Haeder<roland@mxchange.org>
*/
@Startup
-@Singleton (name = "country", mappedName = "ejb/jjobs-singleton-country", description = "A singleton session bean for country informations")
-public class JobsCountrySingletonBean extends BaseDatabaseBean implements CountrySingletonBeanRemote {
+@Singleton (name = "country", description = "A singleton session bean for country informations")
+public class JobsCountrySingletonBean extends BaseJobsDatabaseBean implements CountrySingletonBeanRemote {
/**
* Serial number
import org.mxchange.jaddressbookcore.model.addressbook.Addressbook;
import org.mxchange.jaddressbookcore.model.addressbook.UserAddressbook;
import org.mxchange.jaddressbookcore.model.addressbook.entry.AddressbookEntry;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
import org.mxchange.jusercore.model.user.User;
/**
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@Stateless (name = "addressbook", mappedName = "ejb/stateless-jjobs-adr", description = "A stateless bean for handling JJobs addressbooks")
-public class JobsAddressbookSessionBean extends BaseDatabaseBean implements AddressbookSessionBeanRemote {
+@Stateless (name = "addressbook", description = "A stateless bean for handling JJobs addressbooks")
+public class JobsAddressbookSessionBean extends BaseJobsDatabaseBean implements AddressbookSessionBeanRemote {
/**
* Serial number
import java.text.MessageFormat;
import java.util.GregorianCalendar;
import javax.ejb.Stateless;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
import org.mxchange.jphone.exceptions.MobileProviderAlreadyAddedException;
/**
* @author Roland Haeder<roland@mxchange.org>
*/
@Stateless (name = "adminmobileprovider", description = "A singleton session bean for mobile provider informations, admin-edition")
-public class JobsAdminMobileProviderSessionBean extends BaseDatabaseBean implements AdminMobileProviderSessionBeanRemote {
+public class JobsAdminMobileProviderSessionBean extends BaseJobsDatabaseBean implements AdminMobileProviderSessionBeanRemote {
/**
* Serial number
import javax.ejb.Singleton;
import javax.ejb.Startup;
import javax.persistence.Query;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
/**
* A singleton EJB for mobile provider informations
* @author Roland Haeder<roland@mxchange.org>
*/
@Startup
-@Singleton (name = "mobileprovider", mappedName = "ejb/jjobs-singleton-mobile-provider", description = "A singleton session bean for SMS provider informations")
-public class JobsMobileProviderSingletonBean extends BaseDatabaseBean implements MobileProviderSingletonBeanRemote {
+@Singleton (name = "mobileprovider", description = "A singleton session bean for SMS provider informations")
+public class JobsMobileProviderSingletonBean extends BaseJobsDatabaseBean implements MobileProviderSingletonBeanRemote {
/**
* Serial number
import javax.persistence.Query;
import org.mxchange.jcontacts.contact.Contact;
import org.mxchange.jcontacts.phone.AdminContactsPhoneSessionBeanRemote;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
/**
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@Stateless (name = "admincontactphone", mappedName = "ejb/stateless-jjobs-admin-contact-phone", description = "An administrative bean handling contact's phone data")
-public class JobsAdminContactPhoneSessionBean extends BaseDatabaseBean implements AdminContactsPhoneSessionBeanRemote {
+@Stateless (name = "admincontactphone", description = "An administrative bean handling contact's phone data")
+public class JobsAdminContactPhoneSessionBean extends BaseJobsDatabaseBean implements AdminContactsPhoneSessionBeanRemote {
/**
* Serial number
package org.mxchange.jphone.phonenumbers.phone;
import javax.ejb.Stateless;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
/**
* An EJB for administrative phone purposes
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@Stateless (name = "adminphone", mappedName = "ejb/stateless-jjobs-admin-phone", description = "An administrative bean handling phone data")
-public class JobsAdminPhoneSessionBean extends BaseDatabaseBean implements AdminPhoneSessionBeanRemote {
+@Stateless (name = "adminphone", description = "An administrative bean handling phone data")
+public class JobsAdminPhoneSessionBean extends BaseJobsDatabaseBean implements AdminPhoneSessionBeanRemote {
/**
* Serial number
import javax.ejb.Stateless;
import javax.persistence.NoResultException;
import javax.persistence.Query;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
import org.mxchange.jphone.exceptions.PhoneEntityNotFoundException;
import org.mxchange.jphone.phonenumbers.cellphone.CellphoneNumber;
import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@Stateless (name = "phone", mappedName = "ejb/stateless-jjobs-phone", description = "A bean handling phone data")
-public class JobsPhoneSessionBean extends BaseDatabaseBean implements PhoneSessionBeanRemote {
+@Stateless (name = "phone", description = "A bean handling phone data")
+public class JobsPhoneSessionBean extends BaseJobsDatabaseBean implements PhoneSessionBeanRemote {
/**
* Serial number
import javax.naming.NamingException;
import javax.persistence.NoResultException;
import javax.persistence.Query;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
import org.mxchange.jjobsmailer.model.delivery.DeliverableJobsEmail;
import org.mxchange.jjobsmailer.model.delivery.JobsMailer;
import org.mxchange.jusercore.model.user.UserSessionBeanRemote;
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@Stateless (name = "email-change", mappedName = "ejb/stateless-jjobs-email-change", description = "A bean handling email changes")
-public class JobsEmailChangeSessionBean extends BaseDatabaseBean implements EmailChangeSessionBeanRemote {
+@Stateless (name = "email-change", description = "A bean handling email changes")
+public class JobsEmailChangeSessionBean extends BaseJobsDatabaseBean implements EmailChangeSessionBeanRemote {
/**
* Serial number
import java.text.MessageFormat;
import javax.ejb.EJB;
import javax.ejb.Stateless;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
import org.mxchange.jusercore.container.login.LoginContainer;
import org.mxchange.jusercore.exceptions.UserNotFoundException;
import org.mxchange.jusercore.exceptions.UserPasswordMismatchException;
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@Stateless (name = "login", mappedName = "ejb/stateless-jjobs-login", description = "A bean handling the user login")
-public class JobsUserLoginSessionBean extends BaseDatabaseBean implements UserLoginSessionBeanRemote {
+@Stateless (name = "login", description = "A bean handling the user login")
+public class JobsUserLoginSessionBean extends BaseJobsDatabaseBean implements UserLoginSessionBeanRemote {
/**
* Serial number
import java.text.MessageFormat;
import javax.ejb.EJB;
import javax.ejb.Stateless;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
import org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException;
import org.mxchange.jusercore.exceptions.UserNameAlreadyRegisteredException;
import org.mxchange.jusercore.model.user.User;
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@Stateless (name = "register", mappedName = "ejb/stateless-jjobs-register", description = "A bean handling the user registration")
-public class JobsUserRegistrationSessionBean extends BaseDatabaseBean implements UserRegistrationSessionBeanRemote {
+@Stateless (name = "register", description = "A bean handling the user registration")
+public class JobsUserRegistrationSessionBean extends BaseJobsDatabaseBean implements UserRegistrationSessionBeanRemote {
/**
* Serial number
import javax.persistence.PersistenceException;
import javax.persistence.Query;
import org.mxchange.jcontacts.contact.Contact;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@Stateless (name = "user", mappedName = "ejb/stateless-jjobs-user", description = "A bean handling the user data")
-public class JobsUserSessionBean extends BaseDatabaseBean implements UserSessionBeanRemote {
+@Stateless (name = "user", description = "A bean handling the user data")
+public class JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSessionBeanRemote {
/**
* Serial number