Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FBNX: Architecture, 2 or 3 tier ?

 
Klaas van Gelder
Ranch Hand
Posts: 111
Java Linux PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello folks...,

I have a first implementation of the server-side of the application.
In short, the following classes are involved:


FlightDataImpl <>----------------> FlightDataAdapter <>------------------> Data
extends UnicastRemoteObject     implements FlightDataClient
implements FlightDataRemote

(FlightDataRemote extends FlightDataClient, Remote)

The question is, do we consider this as one "server-tier" (making the overall app a 2-tier system) or as a combination of a "middle tier" (the FlightDataImpl containing business methods) and a "data tier" (ths FlightDataAdapter and Data classes) ??

IMO, the FlightDataImpl acts as a business layer. But all of the classes are tightly coupled and reside on one VM. In a real-life application, the business tier normally communicates with the DB tier using JDBC or so...

This is just for documentation. Who can make a bit more clear how to view this issue ?
TIA,
Klaas

[ July 19, 2004: Message edited by: Klaas van Gelder ]
[ July 19, 2004: Message edited by: Klaas van Gelder ]
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Klass,

The best answer may be to sidestep the entire issue. Start looking at your solution as being "Thin client" or "Fat client", and document accordingly. If you have a thin client, you might make a comment that this is leading to an 'n'-tier solution in the future, but otherwise I would not make reference to the number of tiers at all - as you have pointed out, there are only 2 real tiers in our solutions.

Regards, Andrew
 
Jon Entwistle
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Klass,

I found this thread helped me with my documentation for the fat/thin client issue.

Regards,

Jon
[ July 20, 2004: Message edited by: Jon Entwistle ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic