Sergio,

  Well, have u ever think of BPM management (BPEL for instance)??! When
modeling by it, it's common to see BusinessProcess (usually manager Class
exposed as WebService) trigging (or even making a call of) other Process.
But, in this case the manager FaƧadesClasses are what actually are exposed
as WebServices). The manager must be private (as OO encapsulanting class)
and be accessed by the suitable access interfaces (FaƧades).
  Obs.: thus we would get recursivity among 2 Tiers. But, what do u think it
would be better??!

Ice-Man

2008/12/1 sergiovera <[EMAIL PROTECTED]>

>
> If a manager calls another manager, do the end up using the same
> transaction,
> or a new inner transaction is created?
>
> For example,
> I have a Manager that does a lot of business rules, using several daos. Its
> called ArticuloManager.
>
> Then, I have a new Manager, CotizacionManager, that saves a bunch of stuff,
> then it should do the same actions as ArticuloManager.
> I want CotizacionManager to call ArticuloManager, but because the
> transactions  are wired so that every Manager has its own transaction,
> would
> doing this (a manager calling another manager) create a new Transaction
> (then I would have two transactions..just want one :sleep:) ?
>
> I ended inheriting CotizacionManager from ArticuloManager, but I wonder if
> theres another solution. (In case one manager should call two or more
> managers).
>
> Thanks in advance :drunk:
> --
> View this message in context:
> http://www.nabble.com/Appfuse-2--Manager-calling-manager--tp20774751s2369p20774751.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to