• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

component diagram questions

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi java friends, i need some help in this diagram.

Here my questions:

1) In the book example, all Integration Tier components are DAOs, but they access only external resources (LDAP, Email Server...). So, if i want to create a DAO (despite the fact that EntityManager covers most part of basic operations) to access the application Database. This DAO class should be represented in Integration Tier too or in Persistence Tier?

2) There need to representate the EntityManager in the Persistence Tier?

3) In the example, no Application Database is represented, so, i need to put some information about this in my assumptions, or this is automatically understood?


Thanks, and forgive my poor english knwoledgment.

Best Regards.

Igor Capalupo
 
author & internet detective
Posts: 41110
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Persistence layer because it only deals with persistence

2) I take it as implied because it is provided by Java itself.

3) List it as an assumption. As a general rule of thumb, put something as and assumption if you have even a shred of doubt as to whether it should be assumption. Seriously, I had A LOT of them. Better to have too many than not enough.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic