Hi,
I am making a web application that takes various business rules as inputs and stores them in the database. This is done using a 3-Tier Architecture.
After that I have to use ALL these business rules in a single operation, and so I am writing the business logic for this part in Stored Procedure and am calling it from the UI making it 2-Tier.
Since this is a rare situation where all the data (which is a considerable amount - the SP itself takes about 6 min to process) is needed for a single operation, and it makes little sense to me to fetch all the data as objects into the BLL just for the sake of maintaining architectural integrity. Also the logic in the SP is iterative and so all the data will need to be maintained at the BLL and cannot be fetched conditionally.
Please suggest me if I have the right approach or not.