I am building a 3 tier web application(non-ejb) using
struts we have build the basic application requirements, recently we have decided to add a indirection to de-couple the controller and the persistence layer(design in the craig larman's book) now my doubt is to which layer does the business delegate belong because i want to package it into a namespace, the current project has package's such as
1) com.oitlindia.domain.register
2) com.oitlindia.persitence.mappers
3) com.otilindia.web.register
Right now i have placed the Business Delegate in
com.otilindia.web.register but if this is done
then business delegate will belong to web or rather the controller namespace which is my doubt, what is the right namespace for the business delegate, depending on the layer mostly, one such namespace could be com.oitlindia.service
Thanks in advance