About N-tier advantage:
Before that, you maybe notice the software engineering is walking on the path of "components and nervous unit".
It is because the software is so titan and complex that we cannot focus on whole. So, what not just focus on small part and join them together.
It is EJB. EJB is developed from N-tier's logic tier.
Performance is the last thing we pay attention on. We make the software easy to maintain,quick to develop first.
Althought performance is so important, for example, on Internet. You can try high config, wide networking, good pattern.
3-tier 's advantage is some kind of above: RDBMS only care about itself: it provides Data manager function.
Logic application only knows how to handle Data, and GUI/Web only show thedo
cuments.
Actually it is 4-5 tiers;
there is a middle tier to handle the commuinication and conversion. Corba is a procotol on these tiers.
BTW, try Java Image package you can draw the image in imagebuffer and send it out by servlet.