wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Tiers and layers - integration 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 "Tiers and layers - integration" Watch "Tiers and layers - integration" New topic
Author

Tiers and layers - integration

Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Tiers and layers - do I have an integration tier or integration layer?

At a high level, I have a 3-tier architecture consisting of client tier, web/business tier (middle tier) and data/resource tier (Oracle db and Inventory system).

The integration classes are basically another layer on the middle-tier (web/business tier). So it is integration "layer" right, no tier in this case, as that would be if I had a separate server used for integration. (my integration layer has mainly DAOs for ldap, email, WS access - no DAOs for database as I'm using an EntityManager in SessionFacade).

So the way I see it, I have 3 tiers and various layers on the middle tier, right?

Please clarify - I thought I had this nailed but obviously still have some degree of confusion.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD, SCEA/OCMJEA

Live life to an interface, not an implementation!
Vijaykumar Dixit
Ranch Hand

Joined: Jul 04, 2011
Posts: 32

Marcelo Ortega wrote:
The integration classes are basically another layer on the middle-tier (web/business tier). So it is integration "layer" right, no tier in this case, as that would be if I had a separate server used for integration. (my integration layer has mainly DAOs for ldap, email, WS access - no DAOs for database as I'm using an EntityManager in SessionFacade).

So the way I see it, I have 3 tiers and various layers on the middle tier, right?



Yes I agree with you. In my assignment I have a EmailService which abstracts communication with email service. It will be part of EAR deployed on app server, hence middle tier but I show it within integration layer in component diagram.

I think you are allright there.
giuseppe fanuzzi
Ranch Hand

Joined: Sep 18, 2006
Posts: 99
I agree too! I'm doing exactly in your way!
Client tier, web&business tier (only one tier for both), integration tier (DAO for external systems and jpa for internal database).


GiUsEpPe (SCJP, SCWCD, SCBCD, IBM OOAD, SCEA/OCMJEA 5)
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Thanks guys! Glad we all agree
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

One more thing... The Inventory system "is" part of the data/resource tier, isn't it?
giuseppe fanuzzi
Ranch Hand

Joined: Sep 18, 2006
Posts: 99
IMS is part of EIS tier. but i'm not showing a phisical EIS tier, but only nodes for every enterprise systems (db, ims, ldap,...)
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Yep that would be a better name for it. Cool. Thanks,
Luay Abdulraheem
Ranch Hand

Joined: May 18, 2011
Posts: 65
WS access DAO in both Class and Component diagram ? so which will be the WS client, the DAO or the Bean ?


SCJP, SCWCD, OCMJEA, OCEEJBD, OCEJPAD, TOGAF® 9 Certified, OCEJWSD
giuseppe fanuzzi
Ranch Hand

Joined: Sep 18, 2006
Posts: 99
A session bean uses the DAO, which is the webservice client, and i'm showing it both in the class and component diagram.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tiers and layers - integration
 
Similar Threads
Part 2: Entity Beans or DAO?
Three or 4 Tier?
please tellme about......
Incorrect/missing UML notation for interface/implementation on component diagram
layers vs tiers