aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Where do DAOs, Adapters belong to? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Where do DAOs, Adapters belong to?" Watch "Where do DAOs, Adapters belong to?" New topic
Author

Where do DAOs, Adapters belong to?

thalladi
Greenhorn

Joined: Oct 30, 2005
Posts: 9
Hello all,

I am confused on where the DAOs and Adapters belong to, whether to Business tier or Integration tier? In my design, DAOs are used for searches, Adapters are used for connecting to subsystems. Both are fronted by session beans.

I would appreciate your valuable input.

Thanks,
Satheesh
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626


The integration tier defines objects, components, and adapters that allow easy integration with enterprise information systems.


The business tier defines objects, components, and services that encapsulate business logic for a given enterprise.


So DAO and Adapters both are part of Integration Tier
Jim Janssens
Ranch Hand

Joined: Sep 24, 2004
Posts: 210
But both integration tier and business tier run on the same machine. I mean, the DAO's as well as the Session beans run on the same application server. Is it then still usefull to make the difference on the component diagram ? Or is it just to make the 'logical' difference..

And, what about entity beans ? They belong too in the integration tier, no ?
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

But both integration tier and business tier run on the same machine


Who told you they can't be on same machine?

As far as SCEA point of view
In the exam there are 2 different servers(Web Server) and (App Server) because exam started in the era when both servers were coming seperately.
But in today's scenario there is nothing like that.
And even though in the case of different AppServer both tiers on same machine.
[ December 29, 2005: Message edited by: Jignesh Patel ]
 
wood burning stoves
 
subject: Where do DAOs, Adapters belong to?