I still don't get what should be wrong with the 2 DAO, 1 BusinessManager (or two depending on where do you want to federate, in business or presentation layer) and a struts action to trigger it.
I thought your question was about how to do it best MVC-conform way, you've got Joe's and mine answer. Or was your question something other? If you still don't know where JTA comes into play -> your dao's should be able to serve 2phase-commit. Your business manager knows how to trigger it. Btw take a look at CORBA OTS it can do what you want outofthebox. Leon P.S. Personally I would put it down to two calls: List<Ticket> tickets = manager1.getTickets(); List employeeIds = extractUniqueEmployeeIds(tickets) List<String> employeeNames = manager2.getSomeEmployeeNames(employeeIds). On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote: > Rick, I am not trying to be an a**ss, but what he talked about is the most > basic stuff to any programmer. That's what I was pointing towards. Even you > admitted later that you were replying without getting complete hold of the > subject matter. > "... although I wasn't following the thread that closely and missed about > the different databases. I'll just shut up and let smarter people > answer. (I will almost bet though that hibernate isn't helping the > situation.)" > Just wanted to know if other fellow programmers know of any good design > patters regarding this. > > > On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > > > > olonga henry wrote the following on 4/7/2006 11:33 AM: > > > Larry, person who talks about Spring, Hibernate and struts and know > > about > > > JTA certainly knows that a database is a collection of tables. > > > > You don't have to be an a**ss when someone is just trying to get > > clarification. Good luck getting help from people here. > > > > Man, what has this list come to these days:) > > > > -- > > Rick > > http://www.learntechnology.net > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]