• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Where do DAOs, Adapters belong to?

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 686
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 686
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic