I was a bit confused by the question, because I didn't understand from the question that the checkOut() method should be re-invoked within the same transaction as its first invocation. This may be just me, but thought I should report this anyway.You are developing a stateless session bean OrderBean. It should have a method named checkOut() that takes list of Products. This method is supposed to be executed in the transaction started by the client. If the method finds an invalid product in the list of Products, it should allow the client to fix the problem and retry.
How would you implement this requirement?
About Question enthuware.oce-ejbd.v6.2.450 :
Moderators: Site Manager, fjwalraven
-
- Posts: 54
- Joined: Tue Apr 19, 2011 10:32 am
- Contact:
About Question enthuware.oce-ejbd.v6.2.450 :
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.450 :
The problem statement is now changed to "...it should allow the client to fix the problem and retry the same transaction."
thanks for the feedback!
thanks for the feedback!
If you like our products and services, please help us by posting your review here.
Re: About Question enthuware.oce-ejbd.v6.2.450 :
Sorry, but I think, this is ambiguos because "retry the same transaction" means (for me) "retry another transaction with the same operation" not " retry the same operation in the same transaction".The problem statement is now changed to "...it should allow the client to fix the problem and retry the same transaction."
I think, the question should be changed in ...retry in the same transaction
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.450 :
Hi Mauro, This has now been updated as per your suggestion.
Thank you very much for your feedback!
Thank you very much for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 30 guests