Hi Guys,

How do you typically use Avalon and Merlin in 3 tier architecture where not
all of the tiers are Avalon Components.

I have a presentation layer which uses my Business Rules Factory to get my
business rules and the business rules use my DAO factory to get DAOs.

To start with I have to convert my DAO Factory into a Component ( Why ?
cause my boss wants it ) and in the next phase we would convert the business
rules factory into a component.

I understand the way components can use other dependency components and also
non components.

But what is the typical direction for Non components accessing the
Components. Do you just create regular instances of Component classes and
use those ? Would that defeat any of Avalon's purposes ?

So say a business rule needs a DAO, it would have to ask the DAO Factory
Service/Component to supply the DAO and the DAO itself would be a non
component for now.

The DAO Factory would have a getDAO() service method which a non component
class needs to call to get the DAO.


Thanks

Vikas

 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to