File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where do DAOs, Adapters belong to?

 
thalladi
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 626
Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 210
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 626
Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic