• 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

2 tier ?

 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have B&S application.
I have read the discussions about 2/3 tier decision.
I'm a two tier fan considering the specifications( which means that I want to expose to the clients the methods from the Sun specified interface - with lock/unlock)
Had anybody presented such a solution to Sun and it failed the exam because of choosing the 2 tier model ?
Or, asking another way, had somebody passed the exam with 2 tier model ?
Thanks,
Liviu
 
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Liviu

I am one of the "3 trier" guys.
In my specification I have some thing like :


The following are the "top level" features that must be implemented:
A client program with a graphical user interface that connects to the database
A data access system that provides record locking and a flexible search mechanism
Network server functionality for the database system



So : 1.presentation layer (the GUI), 2.Service layer (Network functionality) and 3.Data Access Layer, so as you can see we have only four layers here

The lock/unlock and them visibility on the client side is a client (side) decision. I choose to hide them - this have advantages and disadvantages - and I document my decision. I think that there is no perfect solution, at the end is just a question of identify the problems, take the decisions and
justify them.

Regards M
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic