]>
git.mxchange.org Git - pizzaservice-ejb.git/log
Roland Häder [Wed, 18 May 2016 15:53:05 +0000 (17:53 +0200)]
Continued a bit:
- load properties in init() method (post-construction)
- added config.properties
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 18 May 2016 12:44:19 +0000 (14:44 +0200)]
Continued a bit:
- EJBs cannot have access to faces context, better handle it over from the WAR project
- renamed method as "AsList" is superflous
Roland Häder [Wed, 18 May 2016 09:43:12 +0000 (11:43 +0200)]
renamed to better name
Roland Häder [Wed, 18 May 2016 09:01:48 +0000 (11:01 +0200)]
Continued a bit:
- renamed to have project name in it
- sending out mails over a message-driven bean is an asynchronous approach and will keep the other EJBs running fast
- use class, not interface everywhere
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 18 May 2016 07:55:46 +0000 (09:55 +0200)]
opps, use addedUser for having the id number available
Roland Häder [Wed, 18 May 2016 07:50:46 +0000 (09:50 +0200)]
Continued a bit:
- added sending out registration email
- added internal TODO
Roland Häder [Wed, 18 May 2016 07:38:38 +0000 (09:38 +0200)]
Continued a bit:
- removed not needed assertion as this one tests the JPA
- ignored for i18n
- converted CRLF->LF ?
Roland Haeder [Tue, 17 May 2016 20:50:37 +0000 (22:50 +0200)]
Added TODO (testing JPA makes no sense here)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 17 May 2016 15:37:29 +0000 (17:37 +0200)]
Continued with rewrites, fixes:
- used Base<Project-Name>DatabaseBean where possible
- use new sendEmail() which prepares the wrapper instance and then sending it
- the message object is now no longer created here as the Base<Project>DatabaseBean does it
- resendConfirmationLink() almost finished: changing confirmation key + merging database is unfinished
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 17 May 2016 13:35:48 +0000 (15:35 +0200)]
Continued:
- added message-driven bean for mail delivery (generic)
- added method init() method to initialize queue/factory
- implemented business method resendConfirmationLink() (unfinished)
- the business method enqueueEmailAddressForChange() now uses JMS and not directly calling the mailer
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 20 May 2016 18:55:01 +0000 (20:55 +0200)]
updated jar(s)
Roland Haeder [Wed, 18 May 2016 19:37:09 +0000 (21:37 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 14 May 2016 15:02:25 +0000 (17:02 +0200)]
renamed project to all-lowercase
Roland Haeder [Sat, 14 May 2016 15:00:34 +0000 (17:00 +0200)]
renamed project to all-lowercase
Roland Haeder [Sat, 14 May 2016 14:57:29 +0000 (16:57 +0200)]
updated jar(s)
Roland Häder [Tue, 10 May 2016 13:42:50 +0000 (15:42 +0200)]
use found contact, not merge() (SQL update statement)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 13 May 2016 20:17:48 +0000 (22:17 +0200)]
renamed, opps ...
Roland Haeder [Fri, 13 May 2016 20:04:57 +0000 (22:04 +0200)]
updated jar(s)
Roland Häder [Fri, 13 May 2016 14:15:10 +0000 (16:15 +0200)]
added EJB for resending confirmation links
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 13 May 2016 13:02:32 +0000 (15:02 +0200)]
renamed named queries for better naming convention ...
Roland Häder [Fri, 13 May 2016 12:44:14 +0000 (14:44 +0200)]
implemented business method generateConfirmationKey()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 13 May 2016 09:57:04 +0000 (11:57 +0200)]
implemented business methods findContactByEmailAddress() and isEmailAddressRegistered()
Roland Haeder [Thu, 12 May 2016 19:22:15 +0000 (21:22 +0200)]
updated jar(s)
Roland Häder [Thu, 12 May 2016 12:09:31 +0000 (14:09 +0200)]
implemented business method generateRandomUserName() which uses getUserNameList() to get full list of available user names and checks that list.
Roland Haeder [Mon, 9 May 2016 17:06:23 +0000 (19:06 +0200)]
updated jar(s)
Roland Häder [Tue, 3 May 2016 13:13:35 +0000 (15:13 +0200)]
Continued a bit:
- implemented linkUser()
- use interface for class name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 7 May 2016 12:48:35 +0000 (14:48 +0200)]
updated jar(s)
Roland Haeder [Thu, 5 May 2016 12:25:50 +0000 (14:25 +0200)]
updated jar(s)
Roland Häder [Tue, 3 May 2016 13:13:35 +0000 (15:13 +0200)]
Continued a bit:
- implemented linkUser()
- use interface for class name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 3 May 2016 19:55:45 +0000 (21:55 +0200)]
tpzo fixed ...
Roland Haeder [Tue, 3 May 2016 19:44:34 +0000 (21:44 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 2 May 2016 15:53:05 +0000 (17:53 +0200)]
Oooops, returned non-updated object ... :-/
Roland Häder [Mon, 2 May 2016 15:26:37 +0000 (17:26 +0200)]
used new setter instead of "hard-coded"
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 2 May 2016 07:47:19 +0000 (09:47 +0200)]
switched to project-based mailer dependency
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 2 May 2016 19:21:09 +0000 (21:21 +0200)]
updated project files (what has changed?)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 29 Apr 2016 20:00:10 +0000 (22:00 +0200)]
globally updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 29 Apr 2016 19:48:04 +0000 (21:48 +0200)]
removed jcore.jar
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 29 Apr 2016 18:54:03 +0000 (20:54 +0200)]
fixed email address
Roland Häder [Fri, 29 Apr 2016 12:54:22 +0000 (14:54 +0200)]
removed jcore.jar as this is no longer used (and for WAR projects not recommended, not all is serializable)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 29 Apr 2016 08:35:09 +0000 (10:35 +0200)]
It is LF now to avoid endless converting LF <-> CRLF (Windows)
Signed-off-by: Roland Häder <roland@haeder.net>
Roland Häder [Fri, 29 Apr 2016 08:32:38 +0000 (10:32 +0200)]
opps, missed to add creation timestamp
Signed-off-by: Roland Häder <roland@haeder.net>
Roland Haeder [Thu, 28 Apr 2016 18:10:13 +0000 (20:10 +0200)]
Need to rename the method.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 28 Apr 2016 17:51:45 +0000 (19:51 +0200)]
no more ShopCustomer
Roland Haeder [Thu, 28 Apr 2016 17:32:49 +0000 (19:32 +0200)]
updated jar(s)
Roland Häder [Thu, 28 Apr 2016 08:30:54 +0000 (10:30 +0200)]
implemented business method findCustomerById()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 27 Apr 2016 20:30:15 +0000 (22:30 +0200)]
updated jar(s)
Roland Haeder [Wed, 27 Apr 2016 19:43:38 +0000 (21:43 +0200)]
fixed project dependencies (you may not want to cherry-pick this, instead you should fix it on your own)
Roland Haeder [Wed, 27 Apr 2016 19:22:13 +0000 (21:22 +0200)]
updated jar(s)
Roland Haeder [Wed, 27 Apr 2016 19:17:40 +0000 (21:17 +0200)]
Continued fixing:
- renamed class for own prefix
- updated project files as new libs are required
- fixed imports
Roland Haeder [Wed, 27 Apr 2016 19:16:50 +0000 (21:16 +0200)]
updated jar(s)
Roland Häder [Wed, 27 Apr 2016 14:56:05 +0000 (16:56 +0200)]
implemented business method addContact()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 27 Apr 2016 09:49:36 +0000 (11:49 +0200)]
implemented business method linkCustomer()
Roland Häder [Wed, 27 Apr 2016 08:03:16 +0000 (10:03 +0200)]
Cleanup: (don't cherry-pick, repeat it all)
- removed mapped names as they are container-specific, better is to use the long portable JNDI names (with interface)
- sorted imports
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 26 Apr 2016 14:58:39 +0000 (16:58 +0200)]
Continued a bit:
- implemented linkUser() method, please test this
- some cleanups from old code
Roland Häder [Tue, 26 Apr 2016 13:51:48 +0000 (15:51 +0200)]
also update created timestamp
Roland Häder [Tue, 26 Apr 2016 13:43:32 +0000 (15:43 +0200)]
No more fancy stuff in EJBs, like auto-linking, straight ahead only adding non-existing, else a checked exception is thrown.
Roland Häder [Tue, 26 Apr 2016 12:38:14 +0000 (14:38 +0200)]
Some fixes:
- only set "created" timestamps when new contact
- logger message added
Roland Häder [Tue, 26 Apr 2016 12:02:44 +0000 (14:02 +0200)]
it works only otherwise ...
Roland Häder [Tue, 26 Apr 2016 11:39:50 +0000 (13:39 +0200)]
copy id and other instances
Roland Häder [Tue, 26 Apr 2016 11:11:35 +0000 (13:11 +0200)]
updated code logic to latest changes
Roland Häder [Tue, 26 Apr 2016 10:43:04 +0000 (12:43 +0200)]
Continued a bit:
- setting "created" timestamps for cellphone, land-line and fax number
- added object-equality check
- added trace message
Roland Häder [Tue, 26 Apr 2016 10:28:11 +0000 (12:28 +0200)]
Implemented business method isReqistered()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 26 Apr 2016 09:53:29 +0000 (11:53 +0200)]
Continued a bit:
- added some more log messages
- null > 0 is not allowed, need to check type too
Roland Häder [Tue, 26 Apr 2016 09:38:23 +0000 (11:38 +0200)]
Continued a bit:
- renamed some fields and added thrown exception
- added general customer EJB for checking if the customer is already registered
Roland Häder [Tue, 26 Apr 2016 09:27:17 +0000 (11:27 +0200)]
Continued with customer:
- implemented business method addCustomer()
- implemented business method isContactFound()
- implemented business method updateContactData() with only a contact instance
- added much more log messages
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 26 Apr 2016 07:44:34 +0000 (09:44 +0200)]
Returned finished customer number
Roland Häder [Tue, 26 Apr 2016 07:40:54 +0000 (09:40 +0200)]
type-hints to the JPA can also be interfaces, good! :-)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 25 Apr 2016 20:28:20 +0000 (22:28 +0200)]
Continued a bit:
- move Base<Project>DatabaseBean to <project>-core project
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 25 Apr 2016 16:14:11 +0000 (18:14 +0200)]
Started with createCustomerNumber(), unfinished
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 Apr 2016 17:10:36 +0000 (19:10 +0200)]
updated jar(s)
Roland Häder [Mon, 25 Apr 2016 13:56:22 +0000 (15:56 +0200)]
Continued with customer EJB:
- added EJBs (general and administrative) with all business methods implemented, at least as stub (allCustomers() is finished)
- added new depencies jcustomer-core/jcustomer-lib
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 25 Apr 2016 13:06:46 +0000 (15:06 +0200)]
Minor: wording fixed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 23 Apr 2016 10:59:38 +0000 (12:59 +0200)]
updated method signature to latest changes
Roland Haeder [Sat, 23 Apr 2016 10:09:05 +0000 (12:09 +0200)]
updated jar(s)
Roland Haeder [Thu, 21 Apr 2016 20:10:01 +0000 (22:10 +0200)]
updated jar(s)
Roland Haeder [Thu, 21 Apr 2016 18:04:49 +0000 (20:04 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 21 Apr 2016 13:50:55 +0000 (15:50 +0200)]
Implemented business method ifUserNameExists()
Roland Häder [Thu, 21 Apr 2016 10:52:44 +0000 (12:52 +0200)]
Implemented updateUserData() and let the detached user instance return
Roland Haeder [Wed, 20 Apr 2016 17:35:47 +0000 (19:35 +0200)]
updated jar(s)
Roland Häder [Wed, 20 Apr 2016 14:06:05 +0000 (16:06 +0200)]
Continued:
- added business methods and implemented two
- added trace log messages
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 19 Apr 2016 17:39:58 +0000 (19:39 +0200)]
updated jar(s)
Roland Häder [Tue, 19 Apr 2016 14:36:19 +0000 (16:36 +0200)]
Refacture:
- moved model (entities) files to jaddressbook-care
- jaddressbook-core.jar is not needed here as no addressbooks are maintained
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 18 Apr 2016 18:54:34 +0000 (20:54 +0200)]
updated jar(s)
Roland Haeder [Sun, 17 Apr 2016 15:28:59 +0000 (17:28 +0200)]
Change name for named query
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 17 Apr 2016 15:26:27 +0000 (17:26 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 17 Apr 2016 15:08:54 +0000 (17:08 +0200)]
Added noisy trace messages. These are "needed" to check how often an EJB's business method has been called. This helps analyzing bottlenecks (to often called may overload the service) in applications.
Roland Haeder [Sun, 17 Apr 2016 14:21:28 +0000 (16:21 +0200)]
This bean cannot be singleton as more than one admin may be logged in. It should also be initialized normally.
Roland Haeder [Sun, 17 Apr 2016 13:08:41 +0000 (15:08 +0200)]
Continued some more:
- added EJB for general contact purposes
- added EJB for administrative contact's phone purposes
- added EJB for administrative phone purposes
Roland Haeder [Sun, 17 Apr 2016 11:41:25 +0000 (13:41 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 17 Apr 2016 10:38:39 +0000 (12:38 +0200)]
Continued a bit:
- added session bean for handling phone number lookups, maybe it will be used for user-depending purposes later on. So maybe session-scoped is not a bad idea after all.
- updated jar(s)
Roland Haeder [Fri, 15 Apr 2016 12:42:39 +0000 (14:42 +0200)]
Implemented new business method findUserById() + ignored strings for i18n
Roland Haeder [Thu, 14 Apr 2016 13:18:56 +0000 (15:18 +0200)]
updated jar(s)
Roland Haeder [Wed, 13 Apr 2016 21:17:11 +0000 (23:17 +0200)]
also set created entries in all phone numbers, if set
Roland Haeder [Wed, 13 Apr 2016 21:03:01 +0000 (23:03 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 13 Apr 2016 18:49:33 +0000 (20:49 +0200)]
Continued a bit:
- added administrative EJB for mobile providers with first business method addMobileProvider() implemented (should work)
- The word "bean" may confuse here as these are all EJBs
Roland Haeder [Tue, 12 Apr 2016 21:59:06 +0000 (23:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 12 Apr 2016 20:59:26 +0000 (22:59 +0200)]
fixed names as they need to be all lower-case
Roland Haeder [Tue, 12 Apr 2016 19:31:26 +0000 (21:31 +0200)]
fixed package names from previous rename
Roland Haeder [Tue, 12 Apr 2016 19:20:26 +0000 (21:20 +0200)]
updated jar(s)
Roland Haeder [Tue, 12 Apr 2016 18:36:58 +0000 (20:36 +0200)]
Renamed package smsprovider -> mobileprovider. They don't only provide SMS but also many other mobile services.