Results 1 to 4 of 4

Thread: Business Process Validation

  1. #1
    Join Date
    Aug 2005
    Posts
    6

    Default Business Process Validation

    Hi All,

    I have an inventory project, and there are some business process validation.

    the core flow of the project is that

    supplier put stock item in the inventory and customer take stock item out of the inventory.

    and what i want to ask is that

    i have a business process validation to check the stock item is in the inventory before a customer can take that stock item

    let's say,

    if customer A is in the phase of checking the stock available or going to take the stock item out. No other customers can perform stock taken operation on that item.

    Where i should put this kind of operation.

    Thanks

  2. #2
    Join Date
    Aug 2005
    Posts
    6

    Default

    is there any article or tutorial to teach this kind of thing?

  3. #3
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    As this is workflow that crosses multiple domain objects, and it will probably be persisted, it belongs in your services layer.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

  4. #4
    Join Date
    Aug 2004
    Posts
    1,905

    Default

    You probably want to read about transactions, and in particular their isolation levels.

Similar Threads

  1. Spring-based architectural approach
    By diegum in forum Architecture
    Replies: 9
    Last Post: May 10th, 2007, 04:09 PM
  2. Replies: 2
    Last Post: Oct 10th, 2005, 05:12 PM
  3. Testing Business Objects
    By jopaki in forum Container
    Replies: 2
    Last Post: Aug 16th, 2005, 04:11 AM
  4. Replies: 1
    Last Post: Apr 27th, 2005, 07:46 AM
  5. Should Business Objects have References to DAOs?
    By sethladd in forum Architecture
    Replies: 9
    Last Post: Aug 25th, 2004, 01:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •